Null pointer exception in OWLViz tab

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Null pointer exception in OWLViz tab

Luis de Sousa
Hi all,

whenever I open the OWLViz tab I get a null pointer exception (stack trace below). Can anything be done about it?

My set up:
Ubuntu 18.04
Protégé 5.5.0
Graphviz 2.40.1-2

Thank you.

--
Luís

  ERROR  10:22:44  An error occurred whilst creating the view content for the 'OWLViz' view: {}
java.lang.NullPointerException: null
        at org.coode.owlviz.ui.OWLVizGraphPanel.getName(OWLVizGraphPanel.java:107) ~[na:na]
        at com.sun.java.swing.plaf.gtk.GTKStyle.getInsets(GTKStyle.java:316) ~[na:1.8.0_121]
        at javax.swing.plaf.synth.SynthStyle.installDefaults(SynthStyle.java:913) ~[na:1.8.0_121]
        at javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:265) ~[na:1.8.0_121]
        at javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:117) ~[na:1.8.0_121]
        at javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:100) ~[na:1.8.0_121]
        at javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:56) ~[na:1.8.0_121]
        at javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:62) ~[na:1.8.0_121]
        at javax.swing.JComponent.setUI(JComponent.java:666) [na:1.8.0_121]
        at javax.swing.JPanel.setUI(JPanel.java:153) ~[na:1.8.0_121]
        at javax.swing.JPanel.updateUI(JPanel.java:126) ~[na:1.8.0_121]
        at javax.swing.JPanel.<init>(JPanel.java:86) ~[na:1.8.0_121]
        at javax.swing.JPanel.<init>(JPanel.java:109) ~[na:1.8.0_121]
        at javax.swing.JPanel.<init>(JPanel.java:117) ~[na:1.8.0_121]
        at org.coode.owlviz.ui.OWLVizGraphPanel.<init>(OWLVizGraphPanel.java:57) ~[na:na]
        at org.coode.owlviz.ui.OWLVizView.createOWLVizTabUI(OWLVizView.java:148) ~[na:na]
        at org.coode.owlviz.ui.OWLVizView.initialiseClassView(OWLVizView.java:82) ~[na:na]
        at org.protege.editor.owl.ui.view.cls.AbstractOWLClassViewComponent.initialiseView(AbstractOWLClassViewComponent.java:28) ~[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) [protege-editor-core.jar:na]
        at org.protege.editor.core.ui.view.View.createUI(View.java:220) [protege-editor-core.jar:na]
        at org.protege.editor.core.ui.view.View$1.hierarchyChanged(View.java:124) [protege-editor-core.jar: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.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: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]
_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user