Error:  The invoked member is not supported in a dynamic module.


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


2017-03-02 10:17:36,461 [10] ERROR [Server] ServerSideEngine - MAXIMO::maxadmin - {6AC87989-F192-4C94-B4C2-788C13E09D10} - The invoked member is not supported in a dynamic module.
Error Details:
Exception Type: MaximoProxy.Java.JavaInvocationException
Java method invocation exception. Method: moveFirst ()
PerformFunctionFailed
HRESULT: 0x80131600
JNBridgeDotNetStackTrace:
at System.Reflection.Emit.TypeBuilder.GetConstructorImpl(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
   at System.Type.GetConstructor(BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
   at com.jnbridge.jnbcore.ObjectHelper.createNewObject(JNBObjID jnbObj, Type expectedType)
   at com.jnbridge.jnbcore.ObjectHelper.convertObjFromJava(ObjectWrapper currentObject, Type expectedType, Object inputObj)
   at com.jnbridge.jnbcore.ObjectWrapper.convertObjFromJava(ObjectWrapper currentObject, Type expectedType, Object inputObj)
   at java.lang.reflect.Method.invoke(Object p1, Object[] p2)
   at MaximoProxy.Java.JavaObjectBinding.Invoke(String methodName, MethodLookupStyle lookupStyle, Object[] parameters)
JNBridgeDotNetExceptions:
System.NotSupportedException: The invoked member is not supported in a dynamic module.
Stack Trace:
at System.Reflection.Emit.TypeBuilder.GetConstructorImpl(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
   at System.Type.GetConstructor(BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
   at com.jnbridge.jnbcore.ObjectHelper.createNewObject(JNBObjID jnbObj, Type expectedType)
   at com.jnbridge.jnbcore.ObjectHelper.convertObjFromJava(ObjectWrapper currentObject, Type expectedType, Object inputObj)
   at com.jnbridge.jnbcore.ObjectWrapper.convertObjFromJava(ObjectWrapper currentObject, Type expectedType, Object inputObj)
   at java.lang.reflect.Method.invoke(Object p1, Object[] p2)
   at MaximoProxy.Java.JavaObjectBinding.Invoke(String methodName, MethodLookupStyle lookupStyle, Object[] parameters)


Cause:  The stub files for the Maximo application's classes are out of date.


Possible Fixes:  

  1. Ensure the DataSplice Maximo plug-in utilizes the latest class files.  Maximo Requirements
  2. The stub files must be recompiled.  Refer to Recompiling Maximo Stub Files


If any additional support is needed please email support@datasplice.com.