[JNBException] - systemnotboundexception: InvalidClassException - Local class incompatible


Problem Description:


The referenced classes for the Maximo plugin are not compatible and are unable to load.


Common Causes:

  • This is often a result of certain functions being deprecated with the JVM version that is being used.


Fixes:


Example Error Logs & Stack Trace (../Server/logs/):


MaximoVersionTivoli's process automation engine 7.5.0.6-IFIX20140617-1631 Build 20140404-0005 DB Build V7506-33 HFDB Build HF7506-01 [majorVersion = 7]
DataSplicePluginForMaximoStatus = RmiError
JavaStatus = Ok
RmiStatus = MaximoLoginFailed
RmiStatusDetails
Test RMI at 6/5/2018 1:27:54 PM
RMI host = localhost port = 13400 searching for object name = MAXIMOUI1
   List RMI Registry:
      found RMI object = MAXIMOUI1
      found RMI object = MAXIMOUI3
    
Basic Information:
  The system could not connect to an application server on the specified host. Ensure that the application server is running.
Error Details:
  Exception Type: MaximoProxy.Java.JavaInvocationException
  Java method invocation exception. Method: connect ()
  
JNBridgeDotNetStackTrace:

  at com.jnbridge.jnbproxy.ExceptionFactory.throwException(JNBException e, Hashtable objMap)   
 at java.lang.reflect.Method.invoke(Object p1, Object[] p2)   
  at MaximoProxy.Java.JavaObjectBinding.Invoke(String methodName, MethodLookupStyle lookupStyle, Object[] parameters)
  
JNBridgeDotNetExceptions:

  java.lang.reflect.InvocationTargetException: Exception of type 'com.jnbridge.jnbcore.JNBException' was thrown.
  
JavaStackTrace:

  java.lang.reflect.InvocationTargetException   
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)   
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)   
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)   
  at java.lang.reflect.Method.invoke(Unknown Source)   
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)   
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)   
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)   
  at java.lang.reflect.Method.invoke(Unknown Source)   
  at com.jnbridge.jnbcore.JNBDispatcher.objectVirtualCall(Unknown Source)   
  at com.jnbridge.jnbcore.JNBDispatcher.call(Unknown Source)   
  at com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.a(Unknown Source)   
  at com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.handleRequest(Unknown Source)
  Caused by: psdi.util.MXSystemException: systemnotboundexception   
  at psdi.util.RMISession.connect(RMISession.java:114)   ... 12 more
  Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
  java.io.InvalidClassException: psdi.security.UserInfo; local class incompatible: stream
  classdesc serialVersionUID = -5664231148854392071, local class serialVersionUID =
  -5664231148854392070   at sun.rmi.server.UnicastRef.invoke(Unknown Source)   
  at psdi.security.SecurityService_Stub.authenticateUser(SecurityService_Stub.java:123)   
  at psdi.util.RMISession.authenticateUser(RMISession.java:294)   
  at psdi.util.RMISession.loadUserInfo(RMISession.java:175)   
  at psdi.util.RMISession.connect(RMISession.java:57)   ... 12 more
  Caused by: java.io.InvalidClassException: psdi.security.UserInfo; local class incompatible:
  stream classdesc serialVersionUID = -5664231148854392071, local class serialVersionUID =
  -5664231148854392070   at java.io.ObjectStreamClass.initNonProxy(Unknown Source)   
  at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)   
  at java.io.ObjectInputStream.readClassDesc(Unknown Source)   
  at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)   
  at java.io.ObjectInputStream.readObject0(Unknown Source)   
  at java.io.ObjectInputStream.readObject(Unknown Source)   
  at sun.rmi.server.UnicastRef.unmarshalValue(Unknown Source)   ... 17 more
  
JavaExceptions:

  psdi.util.MXSystemException: systemnotboundexception
  java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
  java.io.InvalidClassException: psdi.security.UserInfo; local class incompatible: stream
  classdesc serialVersionUID = -5664231148854392071, local class serialVersionUID =
  -5664231148854392070


 
 
ADO.NET Database connection using connection profile = maximo
Database connection Ok



For additional assistance please email support@datasplice.com and we'd be happy to help!