OntoViz still does not work

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

OntoViz still does not work

G. Jabbour
Hi, I Have added the path as you suggested but still getting the same
error.  Are there any other places where I need to make a change?  Please
see history below. Thanks.  Gus


It looks like you are missing the dot executable on the end of your
path.  It should read:
dot.command=C\:\\Program\ Files\\ATT\\Graphviz\\bin\\dot

when I try to create a graph by clicking the Create Graph button I get this
in the protege.exe command window:
>
>java.lang.NullPointerException
>        at dfki.protege.ontoviz_tab.ExportDot.isSystem(Unknown Source)
This exception is thrown when the Ontoviz tab can't find your Graphviz
installation.  Please modify your path as I suggested above.

Jennifer



Here is the error:

Starting Wizards v1.0 beta build 05 ...
Loading standard Protege wizards library
Loading OWL wizards library
INFO: Load time for
file:\C:\Program%20Files\Protege_3.1\KnowledgeSnippet.pprj =
 3 sec (project) + 6 sec (ui)
java.lang.NullPointerException
        at dfki.protege.ontoviz_tab.ExportDot.isSystem(Unknown Source)
        at dfki.protege.ontoviz_tab.ExportDot.generateClosures(Unknown
Source)
        at dfki.protege.ontoviz_tab.ExportDot.export(Unknown Source)
        at dfki.protege.ontoviz_tab.OntovizTab$9.actionPerformed(Unknown
Source)

        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(Unknow
n 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 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)
java.io.FileNotFoundException: C:\Program
Files\Protege_3.1\KnowledgeSnippet.dot
 (The system cannot find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at dfki.protege.ontoviz_tab.OntovizTab$9.actionPerformed(Unknown
Source)

        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(Unknow
n 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 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)
java.lang.NullPointerException
        at dfki.protege.ontoviz_tab.OptionsTable.getColumnClass(Unknown
Source)
        at javax.swing.JTable.getColumnClass(Unknown Source)
        at javax.swing.JTable.getCellRenderer(Unknown Source)
        at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
        at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
        at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
        at javax.swing.plaf.ComponentUI.update(Unknown Source)
        at javax.swing.JComponent.paintComponent(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
        at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
        at javax.swing.JComponent._paintImmediately(Unknown Source)
        at javax.swing.JComponent.paintImmediately(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run
(Unknow
n Source)
        at java.awt.event.InvocationEvent.dispatch(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)


-- Attached file removed by Ecartis and put at URL below --
-- Type: application/octet-stream
-- Size: 672 bytes
-- URL : http://protege.stanford.edu/mail_archive/attachments/protege.properties


-- Attached file removed by Ecartis and put at URL below --
-- Type: application/octet-stream
-- Size: 230 bytes
-- URL : http://protege.stanford.edu/mail_archive/attachments/02-protege.properties


-- Attached file removed by Ecartis and put at URL below --
-- Type: application/octet-stream
-- Size: 230 bytes
-- URL : http://protege.stanford.edu/mail_archive/attachments/03-protege.properties


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