Search Mailing List Archives
[protege-discussion] Error using Protege with Jena database - Invalid Frame Name
Daniel E. Renfer
duck at kronkltd.net
Mon Mar 10 16:30:03 PDT 2008
I am trying to use Protege to access my data stored in a Jena database
with a MySQL backend. I am able to load the data, but Protege creates a
whole bunch of junk namespaces for me.
I have this namespace declared:
@prefix entry <http://mycyclopedia.net/entries/>
and all of my entries are named like:
entry:44
Protege will see the declaration, but it will create a whole bunch of
new declarations like:
@prefix p437 <http://mycyclopedia.net/entries/44>
@prefix p434 <http://mycyclopedia.net/entries/341>
etc.
As you can see, the number in the prefix bears no relation to the actual
URI. When I try to delete one of those declarations, I get the message:
Internal Error: java.lang.IllegalArgumentException: Invalid frame name:
Please see Java console for details, and possibly report
this on our OWL mailing lists.
http://protege.stanford.edu/community/lists.html
Your ontology may now no longer be in a consistent state, and
you may want to save this version under a different name.
The exception is:
SEVERE: Exception caught -- java.lang.IllegalArgumentException: Invalid
frame na
me:
at
edu.stanford.smi.protege.model.DefaultKnowledgeBase.setFrameName(Unkn
own Source)
at edu.stanford.smi.protege.model.DefaultFrame.setName(Unknown
Source)
at
edu.stanford.smi.protegex.owl.model.impl.AbstractOWLModel.replacePref
ixInInstances(Unknown Source)
at
edu.stanford.smi.protegex.owl.model.impl.AbstractOWLModel.prefixRemov
ed(Unknown Source)
at
edu.stanford.smi.protegex.owl.jena.JenaOWLModel.prefixRemoved(Unknown
Source)
at
edu.stanford.smi.protegex.owl.model.impl.OWLNamespaceManager.removePr
efix(Unknown Source)
at
edu.stanford.smi.protegex.owl.ui.metadatatab.prefixes.PrefixesPanel.r
emovePrefix(Unknown Source)
at
edu.stanford.smi.protegex.owl.ui.metadatatab.prefixes.PrefixesPanel.a
ccess$500(Unknown Source)
at
edu.stanford.smi.protegex.owl.ui.metadatatab.prefixes.PrefixesPanel$5
.actionPerformed(Unknown 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.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.AWTEventMulticaster.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.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)
Is this due to the fact that my local name starts with a number, or what
could be causing this? I have tried 3.2, 3.3.1, and 3.4beta all with the
same results.
Daniel E. Renfer
http://kronkltd.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20080310/d3790f58/attachment.asc>
More information about the protege-discussion
mailing list