Re: Could not export

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

Re: Could not export

Colleen Watkins
Matthew Horridge <matthew.horridge <at> cs.man.ac.uk> writes:

>
> Hi Colleen,
>
> > I am trying to understand the export functionality of Protege.
> > An exception occurred (java.lang.StringIndexOutOfBoundsException:  
> > String index
> > out of range: -1" when I tried to export "pizz.owl" to "N-Triple"  
> > format.
>
> Can you post the full stack trace.  I can't reproduce this bug with  
> the pizza ontology, so it is possible that it won't be present in the  
> next beta.
>
> Cheers,
>
> Matthew
>
> > The steps were:
> > File->Export Format->N-TRIPLE
> >
> > Where can I find more information that describe the "Export"  
> > functionality and
> > the "Convert Project to Format"?
> >
> > And, why is this error occuring?
> >
> >
>
>
>

See Full stack trace below

WARNING: Plugin JambalayaProjectPlugin does not implement the afterSave method -
- ProjectPluginManager.afterSave()
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(Unknown Source)
        at edu.stanford.smi.protegex.owl.repository.util.RepositoryFileManager.g
etProjectRepositoryFile(RepositoryFileManager.java:185)
        at edu.stanford.smi.protegex.owl.repository.util.RepositoryFileManager.s
aveProjectRepositories(RepositoryFileManager.java:69)
        at edu.stanford.smi.protegex.owl.jena.protege2jena.Protege2Jena.saveAll(
Protege2Jena.java:385)
        at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(JenaOWLModel.jav
a:320)
        at edu.stanford.smi.protegex.owl.jena.export.AbstractJenaFileExportPlugi
n.handleExportRequest(AbstractJenaFileExportPlugin.java:47)
        at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unkno
wn Source)
        at edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Un
known Source)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
        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.pumpOneEventForHierarchy(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)




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