sookoor / skoseditor

Automatically exported from code.google.com/p/skoseditor
0 stars 0 forks source link

NullPointerException with Protégé 4.2 and SKOSEd-2.0-alpha(build 38) #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. open this RDF:
http://www.archivesdefrance.culture.gouv.fr/thesaurus/data/Matiere?includeScheme
s=true
2. add SKOS tab
3. open SKOS tab

What is the expected output? What do you see instead?
Error logged
java.lang.NullPointerException
        at org.semanticweb.skosapibinding.SKOSManager.<init>(SKOSManager.java:71)
        at org.sealife.skos.editor.views.SKOSConceptAssertedHierarchyProvider.<init>(SKOSConceptAssertedHierarchyProvider.java:57)
        at org.sealife.skos.editor.views.SKOSConceptAssertedHierarchyViewComponent.createProvider(SKOSConceptAssertedHierarchyViewComponent.java:87)
        at org.sealife.skos.editor.views.AbstractHierarchyViewComponent.initialiseIndividualsView(AbstractHierarchyViewComponent.java:121)

What version of the product are you using? On what operating system?
SKOSEd-2.0-alpha(build 38).zip

Please provide any additional information below.
Protégé 4.2.0 build 249
% uname -a
Linux oem-laptop 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 
x86_64 x86_64 x86_64 GNU/Linux
% java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)

Original issue reported on code.google.com by jeanmarc.vanel on 12 Nov 2011 at 9:07

GoogleCodeExporter commented 8 years ago
I an confirm this bug, I will look into it asap. 
Simon

Original comment by simon.j...@gmail.com on 16 Nov 2011 at 12:08

GoogleCodeExporter commented 8 years ago
I get this same problem with protege 4.1.0 build 239.

Starting Protege 4 OWL Editor (Version 4.1.0, Build = 239)
Platform:
    Java: JVM 1.6.0_26-b03 Memory: 5726M
    Language: en, Country: US
    Framework: Apache Software Foundation (1.5)
    OS: linux (3.0.0-12-generic)
    Processor: x86-64
Installed plugin Dlquery
Installed plugin Owlviz Plug-in
Installed plugin The OWL API
Installed plugin OntoGraf Plug-in
Installed plugin Protege SKOS plugin
Installed plugin HermiT Reasoner
Installed plugin Factplusplus Plug-in
Installed plugin The Protege 4 OWL Editor
Using OWL API version 3.2.3.1824
Rebuilding entity indices...
... rebuilt in 19 ms
loading Anonymous-1 from file:/home/elin/Desktop/skosTest.owl
Setting active ontology to Anonymous-3
Rebuilding entity indices...
... rebuilt in 13 ms
... active ontology changed
Setting active ontology to Anonymous-3
Rebuilding entity indices...
... rebuilt in 2 ms
... active ontology changed
Error logged
java.lang.NullPointerException
    at org.semanticweb.skosapibinding.SKOSManager.<init>(SKOSManager.java:71)
    at org.sealife.skos.editor.views.SKOSConceptAssertedHierarchyProvider.<init>(SKOSConceptAssertedHierarchyProvider.java:57)
    at org.sealife.skos.editor.views.SKOSConceptAssertedHierarchyViewComponent.createProvider(SKOSConceptAssertedHierarchyViewComponent.java:87)
    at org.sealife.skos.editor.views.AbstractHierarchyViewComponent.initialiseIndividualsView(AbstractHierarchyViewComponent.java:121)
    at org.sealife.skos.editor.views.SKOSConceptAssertedHierarchyViewComponent.initialiseIndividualsView(SKOSConceptAssertedHierarchyViewComponent.java:106)
    at org.protege.editor.owl.ui.view.individual.AbstractOWLIndividualViewComponent.initialiseView(AbstractOWLIndividualViewComponent.java:31)
    at org.protege.editor.owl.ui.view.AbstractOWLSelectionViewComponent.initialiseOWLView(AbstractOWLSelectionViewComponent.java:118)
    at org.protege.editor.owl.ui.view.AbstractOWLViewComponent.initialise(AbstractOWLViewComponent.java:61)
    at org.protege.editor.core.ui.view.View.createContent(View.java:439)
    at org.protege.editor.core.ui.view.View.createUI(View.java:219)
    at org.protege.editor.core.ui.view.View$1.hierarchyChanged(View.java:149)
    at java.awt.Component.processHierarchyEvent(Component.java:6455)
    at java.awt.Component.processEvent(Component.java:6074)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4651)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4481)
    at java.awt.Component.createHierarchyEvents(Component.java:5305)
    at java.awt.Container.createHierarchyEvents(Container.java:1360)
    at java.awt.Container.createHierarchyEvents(Container.java:1357)
    at java.awt.Container.createHierarchyEvents(Container.java:1357)
    at java.awt.Container.createHierarchyEvents(Container.java:1357)
    at java.awt.Container.createHierarchyEvents(Container.java:1357)
    at java.awt.Container.createHierarchyEvents(Container.java:1357)
    at java.awt.Component.show(Component.java:1552)
    at java.awt.Component.show(Component.java:1584)
    at java.awt.Component.setVisible(Component.java:1536)
    at javax.swing.JComponent.setVisible(JComponent.java:2612)
    at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:378)
    at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:253)
    at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
    at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
    at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599)
    at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:574)
    at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(BasicTabbedPaneUI.java:3628)
    at java.awt.Component.processMouseEvent(Component.java:6285)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6053)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4651)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4481)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4235)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4481)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
    at java.awt.EventQueue.access$000(EventQueue.java:84)
    at java.awt.EventQueue$1.run(EventQueue.java:602)
    at java.awt.EventQueue$1.run(EventQueue.java:600)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:616)
    at java.awt.EventQueue$2.run(EventQueue.java:614)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Original comment by lin.evanslin on 7 Dec 2011 at 7:38

GoogleCodeExporter commented 8 years ago

Original comment by simon.j...@gmail.com on 7 Dec 2011 at 7:46