Protege for Linux not working

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Protege for Linux not working

Laura Morales
I've downloaded Protege 5.5.0 "for Linux" but it doesn't seem to work properly. I can only see the menus but I don't see anything in the windows, just a complete grey area. I'm on Debian stable (stretch). I've ran it using ./run.sh from the command line and there seems to be a few errors showing up in the terminal. I've also tried 5.2.0 and it's the same thing.
However, the "platform independent" version seems to work. I don't know what's the difference. Both 5.5.0 and 5.2.0 worked.
_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
Reply | Threaded
Open this post in threaded view
|

Re: Protege for Linux not working

brandonnodnarb
I have the same setup (Debian stretch) and my installation works fine
(other than an issue with saving that I'm debugging).  
Which Java version are you using?  
What are the error messages when you execute ./run.sh from the
terminal?

/Brandon



On Thu, 2019-05-02 at 10:44 +0200, Laura Morales wrote:

> I've downloaded Protege 5.5.0 "for Linux" but it doesn't seem to work
> properly. I can only see the menus but I don't see anything in the
> windows, just a complete grey area. I'm on Debian stable (stretch).
> I've ran it using ./run.sh from the command line and there seems to
> be a few errors showing up in the terminal. I've also tried 5.2.0 and
> it's the same thing.
> However, the "platform independent" version seems to work. I don't
> know what's the difference. Both 5.5.0 and 5.2.0 worked.
> _______________________________________________
> protege-user mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/protege-user

_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user

signature.asc (495 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Protege for Linux not working

Laura Morales
> Which Java version are you using?

This machine is a stock Debian Stretch with LXDE and Java installed from the Debian repos.

$ java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b01-1~deb9u1-b01)
OpenJDK 64-Bit Server VM (build 25.212-b01, mixed mode)

> What are the error messages when you execute ./run.sh from the terminal?

Opening the program in itself doesn't show any errors. But when I begin clicking around, for example the "Entities" tab, I see this




java.lang.RuntimeException: cannot load system cursor: CopyDrop.32x32
        at sun.awt.X11.XToolkit.lazilyLoadDesktopProperty(XToolkit.java:1541)
        at java.awt.Toolkit.getDesktopProperty(Toolkit.java:1803)
        at java.awt.dnd.DragSource.load(DragSource.java:131)
        at java.awt.dnd.DragSource.<clinit>(DragSource.java:148)
        at org.protege.editor.owl.ui.tree.OWLObjectTree.<init>(OWLObjectTree.java:146)
        at org.protege.editor.owl.ui.tree.OWLObjectTree.<init>(OWLObjectTree.java:111)
        at org.protege.editor.owl.ui.tree.OWLObjectTree.<init>(OWLObjectTree.java:106)
        at org.protege.editor.owl.ui.tree.OWLModelManagerTree.<init>(OWLModelManagerTree.java:41)
        at org.protege.editor.owl.ui.view.AbstractOWLEntityHierarchyViewComponent.initialiseView(AbstractOWLEntityHierarchyViewComponent.java:68)
        at org.protege.editor.owl.ui.view.AbstractOWLSelectionViewComponent.initialiseOWLView(AbstractOWLSelectionViewComponent.java:107)
        at org.protege.editor.owl.ui.view.AbstractOWLViewComponent.initialise(AbstractOWLViewComponent.java:43)
        at org.protege.editor.core.ui.view.View.createContent(View.java:413)
        at org.protege.editor.core.ui.view.View.createUI(View.java:220)
        at org.protege.editor.core.ui.view.View$1.hierarchyChanged(View.java:124)
        at java.awt.Component.processHierarchyEvent(Component.java:6700)
        at java.awt.Component.processEvent(Component.java:6319)
        at java.awt.Container.processEvent(Container.java:2236)
        at java.awt.Component.dispatchEventImpl(Component.java:4889)
        at java.awt.Container.dispatchEventImpl(Container.java:2294)
        at java.awt.Component.dispatchEvent(Component.java:4711)
        at java.awt.Component.createHierarchyEvents(Component.java:5549)
        at java.awt.Container.createHierarchyEvents(Container.java:1445)
        at java.awt.Container.createHierarchyEvents(Container.java:1441)
        at java.awt.Container.createHierarchyEvents(Container.java:1441)
        at java.awt.Container.createHierarchyEvents(Container.java:1441)
        at java.awt.Container.createHierarchyEvents(Container.java:1441)
        at java.awt.Container.createHierarchyEvents(Container.java:1441)
        at java.awt.Component.show(Component.java:1639)
        at java.awt.Component.show(Component.java:1671)
        at java.awt.Component.setVisible(Component.java:1623)
        at javax.swing.JComponent.setVisible(JComponent.java:2644)
        at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:394)
        at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:270)
        at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:132)
        at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:67)
        at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:616)
        at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:591)
        at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(BasicTabbedPaneUI.java:3647)
        at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
        at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
        at java.awt.Component.processMouseEvent(Component.java:6530)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
        at java.awt.Component.processEvent(Component.java:6298)
        at java.awt.Container.processEvent(Container.java:2236)
        at java.awt.Component.dispatchEventImpl(Component.java:4889)
        at java.awt.Container.dispatchEventImpl(Container.java:2294)
        at java.awt.Component.dispatchEvent(Component.java:4711)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
        at java.awt.Container.dispatchEventImpl(Container.java:2280)
        at java.awt.Window.dispatchEventImpl(Window.java:2746)
        at java.awt.Component.dispatchEvent(Component.java:4711)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
        at java.awt.EventQueue$4.run(EventQueue.java:731)
        at java.awt.EventQueue$4.run(EventQueue.java:729)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.awt.AWTException: Exception: class java.lang.IllegalArgumentException Width (0) and height (0) must be non-zero occurred while creating cursor CopyDrop.32x32
        at java.awt.Cursor.getSystemCustomCursor(Cursor.java:363)
        at sun.awt.X11.XToolkit.lazilyLoadDesktopProperty(XToolkit.java:1539)
        ... 70 more




If I select "Classes" I get this instead:




Uncaught Exception in thread 'AWT-EventQueue-0'
java.lang.ExceptionInInitializerError: null
        at org.protege.editor.owl.ui.tree.OWLObjectTree.<init>(OWLObjectTree.java:146) ~[na:na]
        at org.protege.editor.owl.ui.tree.OWLObjectTree.<init>(OWLObjectTree.java:111) ~[na:na]
        at org.protege.editor.owl.ui.tree.OWLObjectTree.<init>(OWLObjectTree.java:106) ~[na:na]
        at org.protege.editor.owl.ui.tree.OWLModelManagerTree.<init>(OWLModelManagerTree.java:41) ~[na:na]
        at org.protege.editor.owl.ui.view.AbstractOWLEntityHierarchyViewComponent.initialiseView(AbstractOWLEntityHierarchyViewComponent.java:68) ~[na:na]
        at org.protege.editor.owl.ui.view.AbstractOWLSelectionViewComponent.initialiseOWLView(AbstractOWLSelectionViewComponent.java:107) ~[na:na]
        at org.protege.editor.owl.ui.view.AbstractOWLViewComponent.initialise(AbstractOWLViewComponent.java:43) ~[na:na]
        at org.protege.editor.core.ui.view.View.createContent(View.java:413) ~[na:na]
        at org.protege.editor.core.ui.view.View.createUI(View.java:220) ~[na:na]
        at org.protege.editor.core.ui.view.View$1.hierarchyChanged(View.java:124) ~[na:na]
        at java.awt.Component.processHierarchyEvent(Component.java:6700) ~[na:1.8.0_121]
        at java.awt.Component.processEvent(Component.java:6319) ~[na:1.8.0_121]
        at java.awt.Container.processEvent(Container.java:2236) ~[na:1.8.0_121]
        at java.awt.Component.dispatchEventImpl(Component.java:4889) ~[na:1.8.0_121]
        at java.awt.Container.dispatchEventImpl(Container.java:2294) ~[na:1.8.0_121]
        at java.awt.Component.dispatchEvent(Component.java:4711) ~[na:1.8.0_121]
        at java.awt.Component.createHierarchyEvents(Component.java:5549) ~[na:1.8.0_121]
        at java.awt.Container.createHierarchyEvents(Container.java:1445) ~[na:1.8.0_121]
        at java.awt.Container.createHierarchyEvents(Container.java:1441) ~[na:1.8.0_121]
        at java.awt.Container.createHierarchyEvents(Container.java:1441) ~[na:1.8.0_121]
        at java.awt.Container.createHierarchyEvents(Container.java:1441) ~[na:1.8.0_121]
        at java.awt.Container.createHierarchyEvents(Container.java:1441) ~[na:1.8.0_121]
        at java.awt.Container.createHierarchyEvents(Container.java:1441) ~[na:1.8.0_121]
        at java.awt.Component.show(Component.java:1639) ~[na:1.8.0_121]
        at java.awt.Component.show(Component.java:1671) ~[na:1.8.0_121]
        at java.awt.Component.setVisible(Component.java:1623) ~[na:1.8.0_121]
        at javax.swing.JComponent.setVisible(JComponent.java:2644) ~[na:1.8.0_121]
        at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:394) ~[na:1.8.0_121]
        at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:270) ~[na:1.8.0_121]
        at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:132) ~[na:1.8.0_121]
        at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:67) ~[na:1.8.0_121]
        at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:616) ~[na:1.8.0_121]
        at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:591) ~[na:1.8.0_121]
        at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(BasicTabbedPaneUI.java:3647) ~[na:1.8.0_121]
        at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280) ~[na:1.8.0_121]
        at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279) ~[na:1.8.0_121]
        at java.awt.Component.processMouseEvent(Component.java:6530) ~[na:1.8.0_121]
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) ~[na:1.8.0_121]
        at java.awt.Component.processEvent(Component.java:6298) ~[na:1.8.0_121]
        at java.awt.Container.processEvent(Container.java:2236) ~[na:1.8.0_121]
        at java.awt.Component.dispatchEventImpl(Component.java:4889) ~[na:1.8.0_121]
        at java.awt.Container.dispatchEventImpl(Container.java:2294) ~[na:1.8.0_121]
        at java.awt.Component.dispatchEvent(Component.java:4711) ~[na:1.8.0_121]
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) ~[na:1.8.0_121]
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522) ~[na:1.8.0_121]
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) ~[na:1.8.0_121]
        at java.awt.Container.dispatchEventImpl(Container.java:2280) ~[na:1.8.0_121]
        at java.awt.Window.dispatchEventImpl(Window.java:2746) ~[na:1.8.0_121]
        at java.awt.Component.dispatchEvent(Component.java:4711) ~[na:1.8.0_121]
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) ~[na:1.8.0_121]
        at java.awt.EventQueue.access$500(EventQueue.java:97) ~[na:1.8.0_121]
        at java.awt.EventQueue$3.run(EventQueue.java:709) ~[na:1.8.0_121]
        at java.awt.EventQueue$3.run(EventQueue.java:703) ~[na:1.8.0_121]
        at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_121]
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) ~[na:1.8.0_121]
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) ~[na:1.8.0_121]
        at java.awt.EventQueue$4.run(EventQueue.java:731) ~[na:1.8.0_121]
        at java.awt.EventQueue$4.run(EventQueue.java:729) ~[na:1.8.0_121]
        at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_121]
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) ~[na:1.8.0_121]
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) ~[na:1.8.0_121]
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) [na:1.8.0_121]
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [na:1.8.0_121]
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [na:1.8.0_121]
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [na:1.8.0_121]
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [na:1.8.0_121]
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [na:1.8.0_121]
Caused by: java.lang.RuntimeException: failed to load system cursor: DnD.Cursor.CopyDrop : cannot load system cursor: CopyDrop.32x32
        at java.awt.dnd.DragSource.load(DragSource.java:135) ~[na:1.8.0_121]
        at java.awt.dnd.DragSource.<clinit>(DragSource.java:148) ~[na:1.8.0_121]
        ... 67 common frames omitted


_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user