Page 1 of 1

Error in viewer

Posted: 13 May 2016, 21:55
by vhquijia
Regards
Please , what are the steps to update the new version 5.
The new version has only changed the viewer or also changed the metamodel ?

I have an error in an apache 7. Run the file esentialinstall506.jar and turned up the server. So far everything OK . But when I opened the Protege3.5 publish my project in Apache, not loaded any information.
Please help me.
Thank you

Re: Error in viewer

Posted: 16 May 2016, 13:17
by jonathan.carter
Hi,

Thanks for your post.

The upgrade to version 5 of Essential Viewer also requires that you upgrade your repository to version 5.0.5, as there are a number of new controls for the Viewer included and managed within the repository.

Please try upgrading your repository (take a snapshot and test off line first, if you are running a server-based repository) and apply the upgrade pack that is included in the Essential version 5 installer. Once this has applied, publish to your version 5 Viewer.

Note that any custom views that you created in version 4 will require a upgrading, too to fit into the Version 5 Viewer.

Jonathan

Re: Error in viewer

Posted: 16 May 2016, 15:07
by vhquijia
Hi
Plese help me!!!

I have these error, i am trying to updated to version 5.05
----------------------------------------------------------------
Applying pack: Common Functions
Pack of meta model and instance install functions
Applying pack: EIP Meta Model Pack
Add the new classes and definitions to the ontology class hierarchy

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:265)
at com.enterprise_architecture.essential.update.EssentialScriptEngine.processScript(EssentialScriptEngine.java:338)
at com.enterprise_architecture.essential.update.EssentialScriptEngine.execute(EssentialScriptEngine.java:195)
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._pyx796.ResetAddAllowedClass$1(<unknown>:5)
at org.python.pycode._pyx796.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._pyx971.f$0(<unknown>:1)
at org.python.pycode._pyx971.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.

Re: Error in viewer

Posted: 16 May 2016, 15:18
by jonathan.carter
Hi,

This looks like you are running the update pack in client-server mode.

I strongly recommend that you apply the update in an off-line, stand-alone mode.
You can still do this on the server but first you should:

1. Stop the Protege server.
2. Open your repository (Protege project file) in Protege client.
3. Apply the upgrade pack
4. Confirm that the upgrade has completed successfully.
5. Save the repository project.
6. Restart your Protege server

Jonathan

Re: Error in viewer

Posted: 17 May 2016, 17:08
by vhquijia
Hi Jonathan

Is OK!!. Only I have a issue, Dont appears the lenguaje Spanish.

Thanks

Re: Error in viewer

Posted: 17 May 2016, 17:35
by jonathan.carter
Hi,

Any translations that you've added in the repository / viewer in Spanish should still be there.
Go into the repository in Protege, and go to the Class 'Report_Language' (EA_Support / Essential_Viewer / Report_Language) and select Spanish.
You will probably see that it is not enabled. Click on the checkbox to enable Spanish, re-publish to your Viewer and Spanish should now be available again.

Jonathan

Re: Error in viewer

Posted: 08 Jun 2016, 19:48
by vhquijia
Thanks Jonathan

Is OK the viewer in spanish languaje

Regards

VHQ

Re: Error in viewer

Posted: 15 Jun 2016, 11:07
by jonathan.carter
Hi,

Just to confirm, have you resolved the issue you were seeing?

Jonathan

Re: Error in viewer

Posted: 17 Jun 2016, 15:22
by vhquijia
It´s solved.
Thanks Jonathan

Regards

VH

Re: Error in viewer

Posted: 17 Jun 2016, 16:27
by jonathan.carter
Excellent!

Thanks for getting back to us

Jonathan