Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
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.
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.