I just downloaded and installed Knowtator 1.8 in the current release of Protege (3.4.1). After I configured the newspaper ontology with knowtator, I received a NoSuchMethodError exception when I tried to create an annotation on a class.
This leads me to wonder whether knowtator has been tested with the current version of Protege, and, if not, the appropriate Protege version that's compatible with knowtator.
Thanks.
Samson Tu
Load time for file:\C:\Program%20Files\Protege_3.4.1\examples\newspaper\newspape
r.pprj = 1 sec (project) + 0 sec (ui)
SEVERE: Uncaught Exception -- java.lang.NoSuchMethodError: edu.stanford.smi.prot
ege.model.KnowledgeBase.createSimpleInstance(Ledu/stanford/smi/protege/model/Fra
meID;Ljava/lang/String;Ljava/util/Collection;Z)Ledu/stanford/smi/protege/model/S
impleInstance;
at edu.uchsc.ccp.knowtator.MentionUtil.createClassMention(MentionUtil.ja
va:266)
at edu.uchsc.ccp.knowtator.MentionUtil.createMention(MentionUtil.java:36
2)
at edu.uchsc.ccp.knowtator.KnowtatorManager.createAnnotation(KnowtatorMa
nager.java:693)
at edu.uchsc.ccp.knowtator.KnowtatorManager.createAnnotation(KnowtatorMa
nager.java:677)
at edu.uchsc.ccp.knowtator.ui.AnnotationSchemaMenuItemFactory$1.actionPe
rformed(AnnotationSchemaMenuItemFactory.java:76)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
49)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a: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:1
051)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMen
uItemUI.java:1092)
at java.awt.Component.processMouseEvent(Component.java:5517)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
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:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.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)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You are right - 3.4.1 is not supported by Knowtator. The correct version of Protege that you should use with Knowtator is version 3.3 (build 430) which can be found here:
Is there any chance that Knowtator can be made compatible with Protege 3.4.1 soon? We have a requirement to use Protege 3.4.1 server, but the system administrator is balking at having multiple versions of Protege.
Samson
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I just downloaded and installed Knowtator 1.8 in the current release of Protege (3.4.1). After I configured the newspaper ontology with knowtator, I received a NoSuchMethodError exception when I tried to create an annotation on a class.
This leads me to wonder whether knowtator has been tested with the current version of Protege, and, if not, the appropriate Protege version that's compatible with knowtator.
Thanks.
Samson Tu
Load time for file:\C:\Program%20Files\Protege_3.4.1\examples\newspaper\newspape
r.pprj = 1 sec (project) + 0 sec (ui)
SEVERE: Uncaught Exception -- java.lang.NoSuchMethodError: edu.stanford.smi.prot
ege.model.KnowledgeBase.createSimpleInstance(Ledu/stanford/smi/protege/model/Fra
meID;Ljava/lang/String;Ljava/util/Collection;Z)Ledu/stanford/smi/protege/model/S
impleInstance;
at edu.uchsc.ccp.knowtator.MentionUtil.createClassMention(MentionUtil.ja
va:266)
at edu.uchsc.ccp.knowtator.MentionUtil.createMention(MentionUtil.java:36
2)
at edu.uchsc.ccp.knowtator.KnowtatorManager.createAnnotation(KnowtatorMa
nager.java:693)
at edu.uchsc.ccp.knowtator.KnowtatorManager.createAnnotation(KnowtatorMa
nager.java:677)
at edu.uchsc.ccp.knowtator.ui.AnnotationSchemaMenuItemFactory$1.actionPe
rformed(AnnotationSchemaMenuItemFactory.java:76)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
49)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a: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:1
051)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMen
uItemUI.java:1092)
at java.awt.Component.processMouseEvent(Component.java:5517)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
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:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.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)
Samson,
You are right - 3.4.1 is not supported by Knowtator. The correct version of Protege that you should use with Knowtator is version 3.3 (build 430) which can be found here:
http://protege.cim3.net/download/old-releases/3.3.1/basic/
This is version requirement is documented here:
http://knowtator.sourceforge.net/install.shtml
Hope this helps.
Philip
Hi,
Is there any chance that Knowtator can be made compatible with Protege 3.4.1 soon? We have a requirement to use Protege 3.4.1 server, but the system administrator is balking at having multiple versions of Protege.
Samson