Bug: Protege 4.0 + Graphviz 2.25

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

Bug: Protege 4.0 + Graphviz 2.25

Otavio-4
Hi there,

I just tried to visualize an ontology in Protege's OWLViz tab. However, when I clicked on the tab, I came across the exception below. I've properly set up the "Dot Application Path" already. Any ideas?

This is my environment:
  • Windows Vista Ultimate SP2
  • Protégé Version 4.0 (Build 113)
  • Graphviz Version 2.25
Thanks in advance,
Otavio

---------------------------------------------------------------------------------------------------
Error 1 Logged at Mon Jul 20 18:48:16 BRT 2009
TokenMgrError: Lexical error at line 1, column 27.  Encountered: "." (46), after : ""
    uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.dotparser.DotParserTokenManager.getNextToken(DotParserTokenManager.java:626)
    uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.dotparser.DotParser.jj_ntk(DotParser.java:450)
    uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.dotparser.DotParser.attr_stmt(DotParser.java:296)
    uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.dotparser.DotParser.stmt(DotParser.java:132)
    uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.dotparser.DotParser.graph(DotParser.java:107)
    uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.dotparser.DotParser.start(DotParser.java:72)
    uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.dotparser.DotParser.parse(DotParser.java:25)
    uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.DotGraphLayoutEngine.layoutGraph(DotGraphLayoutEngine.java:113)
    uk.ac.man.cs.mig.util.graph.ui.GraphView.revalidateGraph(GraphView.java:308)
    uk.ac.man.cs.mig.util.graph.ui.GraphView$4.hierarchyChanged(GraphView.java:156)
    java.awt.Component.processHierarchyEvent(Unknown Source)
    java.awt.Component.processEvent(Unknown Source)
    java.awt.Container.processEvent(Unknown Source)
    java.awt.Component.dispatchEventImpl(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.Component.createHierarchyEvents(Unknown Source)
    java.awt.Container.createHierarchyEvents(Unknown Source)
    java.awt.Container.addImpl(Unknown Source)
    javax.swing.JViewport.setView(Unknown Source)
    javax.swing.JScrollPane.setViewportView(Unknown Source)
    javax.swing.JScrollPane.<init>(Unknown Source)
    javax.swing.JScrollPane.<init>(Unknown Source)
    uk.ac.man.cs.mig.util.graph.ui.GraphComponent.<init>(GraphComponent.java:60)
    uk.ac.man.cs.mig.coode.owlviz.ui.OWLVizGraphPanel.<init>(OWLVizGraphPanel.java:60)
    uk.ac.man.cs.mig.coode.owlviz.ui.OWLVizView.createOWLVizTabUI(OWLVizView.java:143)
    uk.ac.man.cs.mig.coode.owlviz.ui.OWLVizView.initialiseClassView(OWLVizView.java:78)
    org.protege.editor.owl.ui.view.AbstractOWLClassViewComponent.initialiseView(AbstractOWLClassViewComponent.java:21)
    org.protege.editor.owl.ui.view.AbstractOWLSelectionViewComponent.initialiseOWLView(AbstractOWLSelectionViewComponent.java:105)
    org.protege.editor.owl.ui.view.AbstractOWLViewComponent.initialise(AbstractOWLViewComponent.java:56)
    org.protege.editor.core.ui.view.View.createContent(View.java:390)
    org.protege.editor.core.ui.view.View.createUI(View.java:190)
    org.protege.editor.core.ui.view.View$1.hierarchyChanged(View.java:120)
    java.awt.Component.processHierarchyEvent(Unknown Source)
    java.awt.Component.processEvent(Unknown Source)
    java.awt.Container.processEvent(Unknown Source)
    java.awt.Component.dispatchEventImpl(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.Component.createHierarchyEvents(Unknown Source)
    java.awt.Container.createHierarchyEvents(Unknown Source)
    java.awt.Container.createHierarchyEvents(Unknown Source)
    java.awt.Container.createHierarchyEvents(Unknown Source)
    java.awt.Container.createHierarchyEvents(Unknown Source)
    java.awt.Container.createHierarchyEvents(Unknown Source)
    java.awt.Component.show(Unknown Source)
    java.awt.Component.show(Unknown Source)
    java.awt.Component.setVisible(Unknown Source)
    javax.swing.JComponent.setVisible(Unknown Source)
    javax.swing.JTabbedPane.fireStateChanged(Unknown Source)
    javax.swing.JTabbedPane$ModelListener.stateChanged(Unknown Source)
    javax.swing.DefaultSingleSelectionModel.fireStateChanged(Unknown Source)
    javax.swing.DefaultSingleSelectionModel.setSelectedIndex(Unknown Source)
    javax.swing.JTabbedPane.setSelectedIndexImpl(Unknown Source)
    javax.swing.JTabbedPane.setSelectedIndex(Unknown Source)
    javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(Unknown Source)
    java.awt.Component.processMouseEvent(Unknown Source)
    javax.swing.JComponent.processMouseEvent(Unknown Source)
    java.awt.Component.processEvent(Unknown Source)
    java.awt.Container.processEvent(Unknown Source)
    java.awt.Component.dispatchEventImpl(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Window.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.EventQueue.dispatchEvent(Unknown Source)
    java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.run(Unknown Source)
---------------------------------------------------------------------------------------------------

_______________________________________________
p4-feedback mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/p4-feedback
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Protege 4.0 + Graphviz 2.25

Nick Drummond
Hi,

We have this bug on the list.

Thanks

Nick

2009/7/20 Otavio <[hidden email]>:

> Hi there,
>
> I just tried to visualize an ontology in Protege's OWLViz tab. However, when
> I clicked on the tab, I came across the exception below. I've properly set
> up the "Dot Application Path" already. Any ideas?
>
> This is my environment:
>
> Windows Vista Ultimate SP2
> Protégé Version 4.0 (Build 113)
> Graphviz Version 2.25
>
> Thanks in advance,
> Otavio
>
> ---------------------------------------------------------------------------------------------------
> Error 1 Logged at Mon Jul 20 18:48:16 BRT 2009
> TokenMgrError: Lexical error at line 1, column 27.  Encountered: "." (46),
> after : ""
>
> uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.dotparser.DotParserTokenManager.getNextToken(DotParserTokenManager.java:626)
>
> uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.dotparser.DotParser.jj_ntk(DotParser.java:450)
>
> uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.dotparser.DotParser.attr_stmt(DotParser.java:296)
>
> uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.dotparser.DotParser.stmt(DotParser.java:132)
>
> uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.dotparser.DotParser.graph(DotParser.java:107)
>
> uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.dotparser.DotParser.start(DotParser.java:72)
>
> uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.dotparser.DotParser.parse(DotParser.java:25)
>
> uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.DotGraphLayoutEngine.layoutGraph(DotGraphLayoutEngine.java:113)
>
> uk.ac.man.cs.mig.util.graph.ui.GraphView.revalidateGraph(GraphView.java:308)
>
> uk.ac.man.cs.mig.util.graph.ui.GraphView$4.hierarchyChanged(GraphView.java:156)
>     java.awt.Component.processHierarchyEvent(Unknown Source)
>     java.awt.Component.processEvent(Unknown Source)
>     java.awt.Container.processEvent(Unknown Source)
>     java.awt.Component.dispatchEventImpl(Unknown Source)
>     java.awt.Container.dispatchEventImpl(Unknown Source)
>     java.awt.Component.dispatchEvent(Unknown Source)
>     java.awt.Component.createHierarchyEvents(Unknown Source)
>     java.awt.Container.createHierarchyEvents(Unknown Source)
>     java.awt.Container.addImpl(Unknown Source)
>     javax.swing.JViewport.setView(Unknown Source)
>     javax.swing.JScrollPane.setViewportView(Unknown Source)
>     javax.swing.JScrollPane.<init>(Unknown Source)
>     javax.swing.JScrollPane.<init>(Unknown Source)
>
> uk.ac.man.cs.mig.util.graph.ui.GraphComponent.<init>(GraphComponent.java:60)
>
> uk.ac.man.cs.mig.coode.owlviz.ui.OWLVizGraphPanel.<init>(OWLVizGraphPanel.java:60)
>
> uk.ac.man.cs.mig.coode.owlviz.ui.OWLVizView.createOWLVizTabUI(OWLVizView.java:143)
>
> uk.ac.man.cs.mig.coode.owlviz.ui.OWLVizView.initialiseClassView(OWLVizView.java:78)
>
> org.protege.editor.owl.ui.view.AbstractOWLClassViewComponent.initialiseView(AbstractOWLClassViewComponent.java:21)
>
> org.protege.editor.owl.ui.view.AbstractOWLSelectionViewComponent.initialiseOWLView(AbstractOWLSelectionViewComponent.java:105)
>
> org.protege.editor.owl.ui.view.AbstractOWLViewComponent.initialise(AbstractOWLViewComponent.java:56)
>     org.protege.editor.core.ui.view.View.createContent(View.java:390)
>     org.protege.editor.core.ui.view.View.createUI(View.java:190)
>     org.protege.editor.core.ui.view.View$1.hierarchyChanged(View.java:120)
>     java.awt.Component.processHierarchyEvent(Unknown Source)
>     java.awt.Component.processEvent(Unknown Source)
>     java.awt.Container.processEvent(Unknown Source)
>     java.awt.Component.dispatchEventImpl(Unknown Source)
>     java.awt.Container.dispatchEventImpl(Unknown Source)
>     java.awt.Component.dispatchEvent(Unknown Source)
>     java.awt.Component.createHierarchyEvents(Unknown Source)
>     java.awt.Container.createHierarchyEvents(Unknown Source)
>     java.awt.Container.createHierarchyEvents(Unknown Source)
>     java.awt.Container.createHierarchyEvents(Unknown Source)
>     java.awt.Container.createHierarchyEvents(Unknown Source)
>     java.awt.Container.createHierarchyEvents(Unknown Source)
>     java.awt.Component.show(Unknown Source)
>     java.awt.Component.show(Unknown Source)
>     java.awt.Component.setVisible(Unknown Source)
>     javax.swing.JComponent.setVisible(Unknown Source)
>     javax.swing.JTabbedPane.fireStateChanged(Unknown Source)
>     javax.swing.JTabbedPane$ModelListener.stateChanged(Unknown Source)
>     javax.swing.DefaultSingleSelectionModel.fireStateChanged(Unknown Source)
>     javax.swing.DefaultSingleSelectionModel.setSelectedIndex(Unknown Source)
>     javax.swing.JTabbedPane.setSelectedIndexImpl(Unknown Source)
>     javax.swing.JTabbedPane.setSelectedIndex(Unknown Source)
>     javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(Unknown
> Source)
>     java.awt.Component.processMouseEvent(Unknown Source)
>     javax.swing.JComponent.processMouseEvent(Unknown Source)
>     java.awt.Component.processEvent(Unknown Source)
>     java.awt.Container.processEvent(Unknown Source)
>     java.awt.Component.dispatchEventImpl(Unknown Source)
>     java.awt.Container.dispatchEventImpl(Unknown Source)
>     java.awt.Component.dispatchEvent(Unknown Source)
>     java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>     java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>     java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>     java.awt.Container.dispatchEventImpl(Unknown Source)
>     java.awt.Window.dispatchEventImpl(Unknown Source)
>     java.awt.Component.dispatchEvent(Unknown Source)
>     java.awt.EventQueue.dispatchEvent(Unknown Source)
>     java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>     java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>     java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>     java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     java.awt.EventDispatchThread.run(Unknown Source)
> ---------------------------------------------------------------------------------------------------
> _______________________________________________
> p4-feedback mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/p4-feedback
>
>
_______________________________________________
p4-feedback mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/p4-feedback