sookoor / skoseditor

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

Broken views in SKOS view tab #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using...
1. Protege 4.1.0 (build 239)
2. SKOSEd 2.0-alpha
3. OSX Lion 10.7.2
4. Java info...
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11M3527)

Problem...

The Asserted Concept Hierarchy and Concept Scheme List View both have the 
following error:

An error occurred whilst creating the view
NullPointerException
null

The Top Concepts View Hierarchy View works.

Original issue reported on code.google.com by chris.sk...@gmail.com on 4 Jan 2012 at 2:12

GoogleCodeExporter commented 8 years ago
If you remove the broken views, and then add them again via the Window > Views 
menu do they still show a null?

Cheers
Simon

Original comment by simon.j...@gmail.com on 16 Jan 2012 at 2:49

GoogleCodeExporter commented 8 years ago
I have exactly the same problem (using Linux). Adding the Asserted Concept 
Hierarchy throws a NullPointerException:

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
....

Michael

Original comment by michael....@gmail.com on 9 Feb 2012 at 2:18