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

John Armstrong johna318 at hotmail.com
Fri Nov 12 12:19:38 PST 2010


Interesting.  Is the “Asserted in: (null)” mouse-over texts another
reflection of the same problem? (Mentioned in my last mail before this one.)

 

BTW feel free to break off this discussion any time you want.  I’m just
trying to contribute info that might be useful.  I’m not blocked by any of
this.

 

-- John

 

From: protege-owl-bounces at lists.stanford.edu
[mailto:protege-owl-bounces at lists.stanford.edu] On Behalf Of Timothy Redmond
Sent: Friday, November 12, 2010 3:03 PM
To: protege-owl at lists.stanford.edu
Subject: Re: [protege-owl] Null pointer exception in Protege editor while
reading pure RDF/RDFS ontologies - RDF/XML format with ENTITY definitions

 


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#
<http://purl.org/captsolo/resume-rdf/0.2/base>  (base.rdf)

http://purl.org/captsolo/resume-rdf/0.2/cv#
<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>(PrefixMapperTable
s.java:31)

        at
org.protege.editor.owl.ui.prefix.PrefixMapperView.initialiseOntologyView(Pre
fixMapperView.java:38)

        at
org.protege.editor.owl.ui.view.AbstractActiveOntologyViewComponent.initialis
eOWLView(AbstractActiveOntologyViewComponent.java:68)

        at
org.protege.editor.owl.ui.view.AbstractOWLViewComponent.initialise(AbstractO
WLViewComponent.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(Workspace
Manager.java:49)

        at
org.protege.editor.core.editorkit.EditorKitManager.addEditorKit(EditorKitMan
ager.java:45)

        at
org.protege.editor.core.ProtegeManager.openAndSetupRecentEditorKit(ProtegeMa
nager.java:201)

        at
org.protege.editor.core.ProtegeWelcomeFrame$ProtegeWelcomePanel$6.actionPerf
ormed(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/7418aebe/attachment.html>


More information about the protege-owl mailing list