Skip to main content
12-Amethyst
January 18, 2024
Question

findContainerTeamGroups return exception

  • January 18, 2024
  • 1 reply
  • 1343 views

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.

1 reply

avillanueva
23-Emerald I
23-Emerald I
January 18, 2024

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

12-Amethyst
January 18, 2024

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

avillanueva
23-Emerald I
23-Emerald I
January 18, 2024

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.