cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

findContainerTeamGroups return exception

MV_10441462
10-Marble

findContainerTeamGroups return exception

Hi

 

Anybody using ContainerTeamHelper.service.findContainerTeamGroups() method to get groups from a container? I'm using this and getting the exception java.io.NotSerializableException.

Anybody else facing the same with Windchill 12?

I require a common method to get groups from PDMLinkProduct, Library and Project.

4 REPLIES 4

Where are you running it from? Is this from a command line program outside of Windchill JVM?

I call the class(that contains ContainerTeamHelper.service.findContainerTeamGroups()) from Windchill Shell.

There are some classes that cannot be executed of RMI which is the case since this is different JVMs. 

What is the NotSerializableException in Java?
NotSerializableException in Java with Examples - GeeksforGeeks
In Java, a NotSerializableException exception is thrown when an instance of a class must implement the Serializable interface

There are work arounds if you need to execute it from command line but this helper only works from within Windchill JVM.

Hi @avillanueva 

 

Can you please share the workarounds? 

I get this exception when executed in client, but runs well in Remote Server.

Top Tags