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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

findContainerTeamGroups return exception

MV_10441462
12-Amethyst

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
avillanueva
22-Sapphire II
(To:MV_10441462)

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.

avillanueva
22-Sapphire II
(To:MV_10441462)

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.

Announcements

Top Tags