Error During Essential Meta-Model v6.20 Update

Post Reply
mfmadi
Posts: 2
Joined: 25 Dec 2023, 09:47

Hello,

Thank you for your helpful answers. This is my first post, and I truly appreciate your support!

I’m encountering an issue while applying the Essential Meta-Model v6.20 Updates in the Essential Open Source Platform. The process fails with the following error:

Code: Select all

Applying pack: Common Functions
Pack of meta model and instance install functions
Applying pack: Essential Meta-Model v6.20 Updates
Meta-model and instance updates Essential Meta-Model v6.20
Exception in script when running line: 241:

ResetAddAllowedClass(aNewSlot, 'Business_Continuity_Profile')


Script Exception:javax.script.ScriptException: Traceback (innermost last):
  File "<unknown>", line 1, in ?
  File "<unknown>", line 5, in ResetAddAllowedClass
	java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
	java.io.InvalidClassException: org.python.core.PyObject; local class incompatible: stream classdesc serialVersionUID = -3356332325538160899, local class serialVersionUID = 8745889115762722759

	at edu.stanford.smi.protege.server.framestore.RemoteClientFrameStore.convertException(Unknown Source)

	at edu.stanford.smi.protege.server.framestore.RemoteClientFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.EventDispatchFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.ArgumentCheckingFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.ChangeMonitorFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.ImmutableNamesFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(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)


java.lang.RuntimeException: java.lang.RuntimeException: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 
	java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
	java.io.InvalidClassException: org.python.core.PyObject; local class incompatible: stream classdesc serialVersionUID = -3356332325538160899, local class serialVersionUID = 8745889115762722759

	at com.sun.script.jython.JythonScriptEngine.evalCode(JythonScriptEngine.java:292)
	at com.sun.script.jython.JythonScriptEngine.eval(JythonScriptEngine.java:170)
	at javax.script.AbstractScriptEngine.eval(Unknown Source)
	at com.enterprise_architecture.essential.scripting.ScriptJob.execute(ScriptJob.java:268)
	at com.enterprise_architecture.essential.update.EssentialScriptEngine.processScript(EssentialScriptEngine.java:344)
	at com.enterprise_architecture.essential.update.EssentialScriptEngine.execute(EssentialScriptEngine.java:201)
	at com.enterprise_architecture.essential.update.EssentialUpdateTab$2.construct(EssentialUpdateTab.java:1049)
	at com.enterprise_architecture.essential.update.SwingWorker$2.run(SwingWorker.java:110)
	at java.lang.Thread.run(Unknown Source)
Caused by: Traceback (innermost last):
  File "<unknown>", line 1, in ?
  File "<unknown>", line 5, in ResetAddAllowedClass
	java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
	java.io.InvalidClassException: org.python.core.PyObject; local class incompatible: stream classdesc serialVersionUID = -3356332325538160899, local class serialVersionUID = 8745889115762722759

	at edu.stanford.smi.protege.server.framestore.RemoteClientFrameStore.convertException(Unknown Source)

	at edu.stanford.smi.protege.server.framestore.RemoteClientFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.EventDispatchFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.ArgumentCheckingFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.ChangeMonitorFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.ImmutableNamesFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(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)


java.lang.RuntimeException: java.lang.RuntimeException: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 
	java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
	java.io.InvalidClassException: org.python.core.PyObject; local class incompatible: stream classdesc serialVersionUID = -3356332325538160899, local class serialVersionUID = 8745889115762722759

	at org.python.core.Py.JavaError(Unknown Source)
	at org.python.core.Py.JavaError(Unknown Source)
	at org.python.core.PyReflectedFunction.__call__(Unknown Source)
	at org.python.core.PyMethod.__call__(Unknown Source)
	at org.python.core.PyObject.__call__(Unknown Source)
	at org.python.core.PyInstance.invoke(Unknown Source)
	at org.python.pycode._pyx488.ResetAddAllowedClass$1(<unknown>:5)
	at org.python.pycode._pyx488.call_function(<unknown>)
	at org.python.core.PyTableCode.call(Unknown Source)
	at org.python.core.PyTableCode.call(Unknown Source)
	at org.python.core.PyFunction.__call__(Unknown Source)
	at org.python.pycode._pyx1604.f$0(<unknown>:1)
	at org.python.pycode._pyx1604.call_function(<unknown>)
	at org.python.core.PyTableCode.call(Unknown Source)
	at org.python.core.PyCode.call(Unknown Source)
	at org.python.core.Py.runCode(Unknown Source)
	at com.sun.script.jython.JythonScriptEngine.evalCode(JythonScriptEngine.java:289)
	... 8 more

javax.script.ScriptException: Traceback (innermost last):
  File "<unknown>", line 1, in ?
  File "<unknown>", line 5, in ResetAddAllowedClass
	java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
	java.io.InvalidClassException: org.python.core.PyObject; local class incompatible: stream classdesc serialVersionUID = -3356332325538160899, local class serialVersionUID = 8745889115762722759

	at edu.stanford.smi.protege.server.framestore.RemoteClientFrameStore.convertException(Unknown Source)

	at edu.stanford.smi.protege.server.framestore.RemoteClientFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.EventDispatchFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.ArgumentCheckingFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.ChangeMonitorFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.framestore.ImmutableNamesFrameStore.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)

	at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(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)


java.lang.RuntimeException: java.lang.RuntimeException: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 
	java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
	java.io.InvalidClassException: org.python.core.PyObject; local class incompatible: stream classdesc serialVersionUID = -3356332325538160899, local class serialVersionUID = 8745889115762722759


Error: An error or exception occurred during the execution of the update script. See output for more information.
User avatar
neil.walsh
Posts: 474
Joined: 16 Feb 2009, 13:45
Contact:

Can you confirm you are trying to upgrade from 6.19 and that you have applied all the interim updates (6.16, 6.17, etc)?
Have you modified the out-of-the-box classes and slots in any way?
Have you made any meta-model extensions?
mfmadi
Posts: 2
Joined: 25 Dec 2023, 09:47

Dear Neil,

Apologies for the delayed response. I was able to update to version 6.20 after removing the annotation project (which seemed to be corrupted) and applying all previous updates as per your advice.

Thank you for your support!

Best regards,
Post Reply