Protégé 3.2 beta can not save OWL

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Protégé 3.2 beta can not save OWL

Nigam Shah
Hi Everyone,

I have a project in the frames format (pins/ponts) and tried to export
to OWL. After about 3-4 minutes I get the following errors:

java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
        at java.lang.String.substring(String.java:1768)
        at
edu.stanford.smi.protegex.owl.repository.util.RepositoryFileManager.ge
tProjectRepositoryFile(RepositoryFileManager.java:184)
        at
edu.stanford.smi.protegex.owl.repository.util.RepositoryFileManager.sa
veProjectRepositories(RepositoryFileManager.java:69)
        at
edu.stanford.smi.protegex.owl.jena.protege2jena.Protege2Jena.saveAll(P
rotege2Jena.java:385)
        at
edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(JenaOWLModel.java
:320)
        at
edu.stanford.smi.protegex.owl.jena.export.JenaExportPlugin.exportProje
ct(JenaExportPlugin.java:84)
        at
edu.stanford.smi.protegex.owl.jena.export.JenaExportPlugin.handleExpor
tRequest(JenaExportPlugin.java:53)
        at
edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknow
n Source)
        at
edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Unk
nown Source)
        at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:184
9)
        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:10
00)
        at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenu
ItemUI.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(EventDispatchThr
ead.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.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)


Best,
Nigam.


---------------------------------
Nigam Shah
Postdoctoral Fellow,
Stanford Medical Informatics.
Ph: 650.725.6236
Web: www.stanford.edu/~nigam/
---------------------------------

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

Reply | Threaded
Open this post in threaded view
|

[protege-owl] Re: Protégé 3.2 beta can not save OWL

Nick Drummond
Could you try this on the most recent 3.2beta release (if that's not
what you were using at the time)
If it doesn't work on that, please send the protege project and
pont/pins files for us to try (if you are happy with doing that)

Cheers

Nick

Nigam Shah wrote:

>Hi Everyone,
>
>I have a project in the frames format (pins/ponts) and tried to export
>to OWL. After about 3-4 minutes I get the following errors:
>
>java.lang.StringIndexOutOfBoundsException: String index out of range:
>-1
>        at java.lang.String.substring(String.java:1768)
>        at
>edu.stanford.smi.protegex.owl.repository.util.RepositoryFileManager.ge
>tProjectRepositoryFile(RepositoryFileManager.java:184)
>        at
>edu.stanford.smi.protegex.owl.repository.util.RepositoryFileManager.sa
>veProjectRepositories(RepositoryFileManager.java:69)
>        at
>edu.stanford.smi.protegex.owl.jena.protege2jena.Protege2Jena.saveAll(P
>rotege2Jena.java:385)
>        at
>edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(JenaOWLModel.java
>:320)
>        at
>edu.stanford.smi.protegex.owl.jena.export.JenaExportPlugin.exportProje
>ct(JenaExportPlugin.java:84)
>        at
>edu.stanford.smi.protegex.owl.jena.export.JenaExportPlugin.handleExpor
>tRequest(JenaExportPlugin.java:53)
>        at
>edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknow
>n Source)
>        at
>edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Unk
>nown Source)
>        at
>javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:184
>9)
>        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:10
>00)
>        at
>javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenu
>ItemUI.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(EventDispatchThr
>ead.java:242)
>        at
>java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
>d.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)
>
>
>Best,
>Nigam.
>
>
>---------------------------------
>Nigam Shah
>Postdoctoral Fellow,
>Stanford Medical Informatics.
>Ph: 650.725.6236
>Web: www.stanford.edu/~nigam/
>---------------------------------
>
>-------------------------------------------------------------------------
>To unsubscribe go to http://protege.stanford.edu/community/subscribe.html
>
>
>  
>

--

Nick Drummond

http://www.cs.man.ac.uk/~drummond/ <http://www.cs.man.ac.uk/%7Edrummond/>
-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html