Skip to main content
4-Participant
August 9, 2024
Question

The page occasionally requires refreshing the browser and loading for about a minute to display data

  • August 9, 2024
  • 1 reply
  • 776 views

Version: Windchill 11.0


Description:

The page occasionally requires refreshing the browser and loading for about a minute to display data correctly. Upon checking the MethodServer logs, the following information is found:
caught cache server call exception
java.rmi.RemoteException: Unable to get remote cache entry; nested exception is:
java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.NoClassDefFoundError: Could not initialize class wt.project._Role
However, in reality, the relevant class does exist on the server, and programs that import the relevant class can execute normally.

1 reply

AndrewK
Community Manager
August 15, 2024

Hi @ZL_10925195,

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

17-Peridot
August 15, 2024

Hi, can you identify which page is experiencing the performance problem and MS errors? 

4-Participant
August 16, 2024
It's not just a specific page; this issue occurs on all pages. MS errors: caught cache server call exception java.rmi.RemoteException: Unable to get remote cache entry; nested exception is: java.rmi.ServerError: Error occurred in server thread; nested exception is: java.lang.NoClassDefFoundError: Could not initialize class wt.project._Role at wt.cache.RemoteCacheServer.getEntryInternal(RemoteCacheServer.java:322) at wt.cache.RemoteCacheServer.lambda$getEntry$18(RemoteCacheServer.java:253) at wt.cache.RemoteCacheServer.callTimeAndLogRemoteCallableLow(RemoteCacheServer.java:680) at wt.cache.RemoteCacheServer.callTimeAndLogRemoteCallable(RemoteCacheServer.java:652) at wt.cache.RemoteCacheServer.getEntry(RemoteCacheServer.java:253) at wt.cache.CacheManager.get(CacheManager.java:901)
 
Caused by: java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.NoClassDefFoundError: Could not initialize class wt.project._Role
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:386)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
 
 
Caused by: java.lang.NoClassDefFoundError: Could not initialize class wt.project._Role
at wt.project.RoleRoleTable.readVersion(RoleRoleTable.java:118)
at wt.project.RoleRoleTable.readExternal(RoleRoleTable.java:88)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:2118)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2067)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)