Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Null pointer exception in Protege editor while reading pure RDF/RDFS ontologies - RDF/XML format with ENTITY definitions

Timothy Redmond tredmond at stanford.edu
Fri Nov 12 12:02:36 PST 2010


I am adding this to the GForge.  It seems that these ontologies generate 
a null pointer exception in the Ontology Prefixes View of the Active 
Ontology Tab.  It is somehow connected to the fact that these are 
anonymous ontologies.  I think that other than this things are ok.  You 
can delete the bad view by

   1. selecting the Active Ontology Tab
   2. selecting the Ontology Prefixes view (in the bottom part of the
      screen).
   3. Once this view is selected click on the little x icon at the right
      hand top of the Ontology Prefixes view

If you do this and get into trouble you can always restore the tab by 
going to the Tabs menu and clicking "Reset selected tab to default state".

-Timothy



On 11/12/2010 05:28 AM, John Armstrong wrote:
>
> Running Protégé-owl 4.1.0.  Happens for both:
>
> http://purl.org/captsolo/resume-rdf/0.2/base# (base.rdf)
>
> http://purl.org/captsolo/resume-rdf/0.2/cv# (cv.rdf)
>
> Page with links is:
>
> http://rdfs.org/resume-rdf/
>
> In  both cases exceptions are as below.
>
> Is this a bug in the Protégé editor?  Are entities supposed to be 
> supported?
>
> -- John
>
> ... active ontology changed
>
> Error logged
>
> java.lang.NullPointerException
>
>         at 
> org.protege.editor.owl.ui.prefix.PrefixMapperTables.<init>(PrefixMapperTables.java:31)
>
>         at 
> org.protege.editor.owl.ui.prefix.PrefixMapperView.initialiseOntologyView(PrefixMapperView.java:38)
>
>         at 
> org.protege.editor.owl.ui.view.AbstractActiveOntologyViewComponent.initialiseOWLView(AbstractActiveOntologyViewComponent.java:68)
>
>         at 
> org.protege.editor.owl.ui.view.AbstractOWLViewComponent.initialise(AbstractOWLViewComponent.java:61)
>
>         at 
> org.protege.editor.core.ui.view.View.createContent(View.java:416)
>
>         at org.protege.editor.core.ui.view.View.createUI(View.java:196)
>
>         at 
> org.protege.editor.core.ui.view.View$1.hierarchyChanged(View.java:126)
>
>         at java.awt.Component.processHierarchyEvent(Unknown Source)
>
>         at java.awt.Component.processEvent(Unknown Source)
>
>         at java.awt.Container.processEvent(Unknown Source)
>
>         at java.awt.Component.dispatchEventImpl(Unknown Source)
>
>         at java.awt.Container.dispatchEventImpl(Unknown Source)
>
>         at java.awt.Component.dispatchEvent(Unknown Source)
>
>         at java.awt.Component.createHierarchyEvents(Unknown Source)
>
>         at java.awt.Container.createHierarchyEvents(Unknown Source)
>
>        at java.awt.Container.createHierarchyEvents(Unknown Source)
>
>         at java.awt.Container.createHierarchyEvents(Unknown Source)
>
>         at java.awt.Container.createHierarchyEvents(Unknown Source)
>
>         at java.awt.Container.createHierarchyEvents(Unknown Source)
>
>         at java.awt.Container.createHierarchyEvents(Unknown Source)
>
>         at java.awt.Container.createHierarchyEvents(Unknown Source)
>
>         at java.awt.Container.createHierarchyEvents(Unknown Source)
>
>         at java.awt.Container.createHierarchyEvents(Unknown Source)
>
>         at java.awt.Container.createHierarchyEvents(Unknown Source)
>
>         at java.awt.Container.createHierarchyEvents(Unknown Source)
>
>         at java.awt.Container.createHierarchyEvents(Unknown Source)
>
>         at java.awt.Container.createHierarchyEvents(Unknown Source)
>
>         at java.awt.Component.show(Unknown Source)
>
>         at java.awt.Window.show(Unknown Source)
>
>         at java.awt.Component.show(Unknown Source)
>
>         at java.awt.Component.setVisible(Unknown Source)
>
>         at java.awt.Window.setVisible(Unknown Source)
>
>         at 
> org.protege.editor.core.ui.workspace.WorkspaceManager.addWorkspace(WorkspaceManager.java:49)
>
>         at 
> org.protege.editor.core.editorkit.EditorKitManager.addEditorKit(EditorKitManager.java:45)
>
>         at 
> org.protege.editor.core.ProtegeManager.openAndSetupRecentEditorKit(ProtegeManager.java:201)
>
>         at 
> org.protege.editor.core.ProtegeWelcomeFrame$ProtegeWelcomePanel$6.actionPerformed(ProtegeWelcomeFrame.java:262)
>
>         at 
> org.protege.editor.core.ui.util.LinkLabel.activateLink(LinkLabel.java:102)
>
>         at 
> org.protege.editor.core.ui.util.LinkLabel.access$100(LinkLabel.java:30)
>
>         at 
> org.protege.editor.core.ui.util.LinkLabel$1.mouseReleased(LinkLabel.java:68)
>
>         at java.awt.Component.processMouseEvent(Unknown Source)
>
>         at javax.swing.JComponent.processMouseEvent(Unknown Source)
>
>         at java.awt.Component.processEvent(Unknown Source)
>
>         at java.awt.Container.processEvent(Unknown Source)
>
>         at java.awt.Component.dispatchEventImpl(Unknown Source)
>
>         at java.awt.Container.dispatchEventImpl(Unknown Source)
>
>         at java.awt.Component.dispatchEvent(Unknown Source)
>
>         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown 
> Source)
>
>         at java.awt.LightweightDispatcher.processMouseEvent(Unknown 
> Source)
>
>         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>
>         at java.awt.Container.dispatchEventImpl(Unknown Source)
>
>         at java.awt.Window.dispatchEventImpl(Unknown Source)
>
>         at java.awt.Component.dispatchEvent(Unknown Source)
>
>         at java.awt.EventQueue.dispatchEvent(Unknown Source)
>
>         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown 
> Source)
>
>         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown 
> Source)
>
>         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown 
> Source)
>
>         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>
>         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>
>         at java.awt.EventDispatchThread.run(Unknown Source)
>
>
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20101112/79ce6b64/attachment.html>


More information about the protege-owl mailing list