[protege-owl] Failed to use Protege2Jena

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

[protege-owl] Failed to use Protege2Jena

Nikolaj Berntsen
When I try to save my modified pizza project (se my other post, titled
ClassCastException:
edu.stanford.smi.protegex.owl.model.impl.DefaultRDFSLiteral, for perhaps
related errors), I get the popup message

    Failed to use Protege2Jena: com.hp.hpl.jena.shared.JenaException:
    rethrew: com.hp.hpl.jena.rdf.arp.RelativeURIException: No scheme
    found in URI 'nullUA51'
    Please see Java console for error details and possibly
    report this error to [hidden email]

with the following in the log [1].

I don't think anything gets saved , or, at least, only part of it gets
saved.

I run protege-own 2.2 build 311 in protege 3.1 build 318.

Cheers,
/\/


[1]
SEVERE: Exception caught --
com.hp.hpl.jena.rdf.arp.RelativeURIException: No scheme found in URI
'nullUA51'
        at com.hp.hpl.jena.rdf.arp.URI.initialize(URI.java:393)
        at com.hp.hpl.jena.rdf.arp.URI.<init>(URI.java:198)
        at com.hp.hpl.jena.rdf.arp.URI.<init>(URI.java:182)
        at com.hp.hpl.jena.rdf.arp.URI.relativize(URI.java:1420)
        at
com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.relativize(BaseXMLWriter.java:706)
        at
com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.relativize(BaseXMLWriter.java:696)
        at
com.hp.hpl.jena.xmloutput.impl.Basic.writeResourceReference(Basic.java:166)
        at
com.hp.hpl.jena.xmloutput.impl.Basic.writePredicate(Basic.java:114)
        at
com.hp.hpl.jena.xmloutput.impl.Basic.writeRDFStatements(Basic.java:87)
        at
com.hp.hpl.jena.xmloutput.impl.Basic.writeRDFStatements(Basic.java:69)
        at com.hp.hpl.jena.xmloutput.impl.Basic.writeBody(Basic.java:42)
        at
com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.writeXMLBody(BaseXMLWriter.java:458)
        at
com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.write(BaseXMLWriter.java:447)
        at
edu.stanford.smi.protegex.owl.jena.JenaOWLModel.saveModel(Unknown Source)
        at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(Unknown
Source)
        at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(Unknown
Source)
        at
edu.stanford.smi.protegex.owl.jena.protege2jena.Protege2Jena.saveAll(Unknown
Source)
        at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(Unknown
Source)
        at
edu.stanford.smi.protegex.owl.jena.JenaKnowledgeBaseFactory.saveKnowledgeBase(Unknown
Source)
        at edu.stanford.smi.protege.model.Project.saveDomainKB(Unknown
Source)
        at edu.stanford.smi.protege.model.Project.save(Unknown Source)
        at edu.stanford.smi.protege.ui.ProjectManager.save(Unknown Source)
        at
edu.stanford.smi.protege.ui.ProjectManager.saveProjectRequest(Unknown
Source)
        at
edu.stanford.smi.protege.ui.ProjectManager.confirmSave(Unknown Source)
        at
edu.stanford.smi.protege.ui.ProjectManager.closeProjectRequest(Unknown
Source)
        at
edu.stanford.smi.protege.ui.ProjectManager.openProjectRequest(Unknown
Source)
        at
edu.stanford.smi.protege.ui.ProjectManager.openProjectRequest(Unknown
Source)
        at
edu.stanford.smi.protege.action.OpenProject.actionPerformed(Unknown Source)
        at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
        at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
        at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
        at java.awt.Component.processMouseEvent(Component.java:5488)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
        at java.awt.Component.processEvent(Component.java:5253)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1774)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
com.hp.hpl.jena.shared.JenaException: rethrew:
com.hp.hpl.jena.rdf.arp.RelativeURIException: No scheme found in URI
'nullUA51'
        at
com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.relativize(BaseXMLWriter.java:707)
        at
com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.relativize(BaseXMLWriter.java:696)
        at
com.hp.hpl.jena.xmloutput.impl.Basic.writeResourceReference(Basic.java:166)
        at
com.hp.hpl.jena.xmloutput.impl.Basic.writePredicate(Basic.java:114)
        at
com.hp.hpl.jena.xmloutput.impl.Basic.writeRDFStatements(Basic.java:87)
        at
com.hp.hpl.jena.xmloutput.impl.Basic.writeRDFStatements(Basic.java:69)
        at com.hp.hpl.jena.xmloutput.impl.Basic.writeBody(Basic.java:42)
        at
com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.writeXMLBody(BaseXMLWriter.java:458)
        at
com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.write(BaseXMLWriter.java:447)
        at
edu.stanford.smi.protegex.owl.jena.JenaOWLModel.saveModel(Unknown Source)
        at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(Unknown
Source)
        at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(Unknown
Source)
        at
edu.stanford.smi.protegex.owl.jena.protege2jena.Protege2Jena.saveAll(Unknown
Source)
        at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(Unknown
Source)
        at
edu.stanford.smi.protegex.owl.jena.JenaKnowledgeBaseFactory.saveKnowledgeBase(Unknown
Source)
        at edu.stanford.smi.protege.model.Project.saveDomainKB(Unknown
Source)
        at edu.stanford.smi.protege.model.Project.save(Unknown Source)
        at edu.stanford.smi.protege.ui.ProjectManager.save(Unknown Source)
        at
edu.stanford.smi.protege.ui.ProjectManager.saveProjectRequest(Unknown
Source)
        at
edu.stanford.smi.protege.ui.ProjectManager.confirmSave(Unknown Source)
        at
edu.stanford.smi.protege.ui.ProjectManager.closeProjectRequest(Unknown
Source)
        at
edu.stanford.smi.protege.ui.ProjectManager.openProjectRequest(Unknown
Source)
        at
edu.stanford.smi.protege.ui.ProjectManager.openProjectRequest(Unknown
Source)
        at
edu.stanford.smi.protege.action.OpenProject.actionPerformed(Unknown Source)
        at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
        at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
        at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
        at java.awt.Component.processMouseEvent(Component.java:5488)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
        at java.awt.Component.processEvent(Component.java:5253)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1774)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: com.hp.hpl.jena.rdf.arp.RelativeURIException: No scheme found
in URI 'nullUA51'
        at com.hp.hpl.jena.rdf.arp.URI.initialize(URI.java:393)
        at com.hp.hpl.jena.rdf.arp.URI.<init>(URI.java:198)
        at com.hp.hpl.jena.rdf.arp.URI.<init>(URI.java:182)
        at com.hp.hpl.jena.rdf.arp.URI.relativize(URI.java:1420)
        at
com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.relativize(BaseXMLWriter.java:706)
        ... 49 more

SEVERE: invalid value type: [Cls(BlogSP, FrameID(1:30100 1)), Instance]
-- ValueTypeConstraint.getType()
SEVERE: invalid value type: [Cls(PhotoAlbumSP, FrameID(1:30195 1)),
Instance] -- ValueTypeConstraint.getType()
SEVERE: invalid value type: [Cls(BlogSP, FrameID(1:30100 1)), Instance]
-- ValueTypeConstraint.getType()
SEVERE: invalid value type: [Cls(PhotoAlbumSP, FrameID(1:30195 1)),
Instance] -- ValueTypeConstraint.getType()
SEVERE: invalid value type: [Cls(BlogSP, FrameID(1:30100 1)), Instance]
-- ValueTypeConstraint.getType()
SEVERE: invalid value type: [Cls(PhotoAlbumSP, FrameID(1:30195 1)),
Instance] -- ValueTypeConstraint.getType()

--
Cheers,
/\/ikolaj Berntsen
--
Mobile People A/S
Toldbodgade 31, 2 sal, DK-1253 Copenhagen K
T: +45 7025 2722 F: 70 25 27 23 M: +45 3054 2207

-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html