When running the second python script from a client against a server version of the Essential Project running on SQL server, I get the following errors:
>>> execfile("C:\InformationDataPack/infoAndDataPack02.py")
Traceback (innermost last):
File "<string>", line 1, in ?
File "C:\InformationDataPack/infoAndDataPack02.py", line 25, in ?
File "C:\InformationDataPack/infoAndDataPack00.py", line 225, 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
exception from Jython: Traceback (innermost last):
File "<string>", line 1, in ?
File "C:\InformationDataPack/infoAndDataPack02.py", line 25, in ?
File "C:\InformationDataPack/infoAndDataPack00.py", line 225, 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
: Traceback (innermost last):
File "<string>", line 1, in ?
File "C:\InformationDataPack/infoAndDataPack02.py", line 25, in ?
File "C:\InformationDataPack/infoAndDataPack00.py", line 225, 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
Has anyone come accross anything similar, or have any ideas as to a solution.
Any input would be most appreciated.
Information and Data Pack Installation
- jonathan.carter
- Posts: 1087
- Joined: 04 Feb 2009, 15:44
Hi
That's a pretty low level Java exception and one I have not seen before.
I think the simplest way around this issue is to convert your repository back to use a File-based backend (Protege Files), apply the update on the file-based repository and then convert the resulting, updated repository back to the database backend.
Jonathan
That's a pretty low level Java exception and one I have not seen before.
I think the simplest way around this issue is to convert your repository back to use a File-based backend (Protege Files), apply the update on the file-based repository and then convert the resulting, updated repository back to the database backend.
Jonathan
Essential Project Team