[Python-projects] ClassNotFoundException while opening PyReverse-generated .zargo-file

ak 12345alex at gmx.net
Tue Feb 28 08:43:07 CET 2006


hi.

when using PyReverse 0.5.2 to generate a .zargo-file i get the following
exception in argo.

i don't know if this is an issue of ArgoUML or of the
generated .zargo-file, i post this here and at ArgoUML.

i use ArgoUML 0.20, in the docs of PyReverse there is version 0.10
mentioned, so this could be a version-issue.

cheers

ak

Cause : java.lang.ClassNotFoundException: uci.uml.visual.UMLClassDiagram
	at
org.tigris.gef.persistence.pgml.PGMLHandler.initDiagram(PGMLHandler.java:112)
	at
org.tigris.gef.persistence.pgml.PGMLHandler.<init>(PGMLHandler.java:72)
	at
org.tigris.gef.persistence.pgml.InitialHandler.startElement(InitialHandler.java:62)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
	at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:798)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:878)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:1157)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
	at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
	at
org.tigris.gef.persistence.pgml.PGMLStackParser.readDiagram(PGMLStackParser.java:149)
	at
org.tigris.gef.persistence.pgml.PGMLStackParser.readDiagram(PGMLStackParser.java:118)
	at
org.argouml.persistence.DiagramMemberFilePersister.load(DiagramMemberFilePersister.java:67)
	at
org.argouml.persistence.UmlFilePersister.doLoad(UmlFilePersister.java:355)
	at
org.argouml.persistence.ZargoFilePersister.doLoad(ZargoFilePersister.java:339)
	at org.argouml.ui.ProjectBrowser.loadProject(ProjectBrowser.java:1148)
	at
org.argouml.uml.ui.ActionOpenProject.actionPerformed(ActionOpenProject.java:155)
	at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
	at javax.swing.AbstractButton
$Handler.actionPerformed(AbstractButton.java: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:1000)
	at javax.swing.plaf.basic.BasicMenuItemUI
$Handler.menuDragMouseReleased(BasicMenuItemUI.java:1104)
	at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:578)
	at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:475)
	at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:422)
	at
javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:283)
	at javax.swing.plaf.basic.BasicPopupMenuUI
$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:779)
	at java.awt.Toolkit
$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2206)
	at java.awt.Toolkit
$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2100)
	at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:3867)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	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:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)
-------
Full exception : org.argouml.persistence.OpenException:
java.lang.ClassNotFoundException: uci.uml.visual.UMLClassDiagram
	at
org.argouml.persistence.DiagramMemberFilePersister.load(DiagramMemberFilePersister.java:74)
	at
org.argouml.persistence.UmlFilePersister.doLoad(UmlFilePersister.java:355)
	at
org.argouml.persistence.ZargoFilePersister.doLoad(ZargoFilePersister.java:339)
	at org.argouml.ui.ProjectBrowser.loadProject(ProjectBrowser.java:1148)
	at
org.argouml.uml.ui.ActionOpenProject.actionPerformed(ActionOpenProject.java:155)
	at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
	at javax.swing.AbstractButton
$Handler.actionPerformed(AbstractButton.java: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:1000)
	at javax.swing.plaf.basic.BasicMenuItemUI
$Handler.menuDragMouseReleased(BasicMenuItemUI.java:1104)
	at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:578)
	at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:475)
	at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:422)
	at
javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:283)
	at javax.swing.plaf.basic.BasicPopupMenuUI
$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:779)
	at java.awt.Toolkit
$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2206)
	at java.awt.Toolkit
$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2100)
	at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:3867)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	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:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)
Caused by: java.lang.ClassNotFoundException:
uci.uml.visual.UMLClassDiagram
	at
org.tigris.gef.persistence.pgml.PGMLHandler.initDiagram(PGMLHandler.java:112)
	at
org.tigris.gef.persistence.pgml.PGMLHandler.<init>(PGMLHandler.java:72)
	at
org.tigris.gef.persistence.pgml.InitialHandler.startElement(InitialHandler.java:62)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
	at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:798)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:878)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:1157)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
	at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
	at
org.tigris.gef.persistence.pgml.PGMLStackParser.readDiagram(PGMLStackParser.java:149)
	at
org.tigris.gef.persistence.pgml.PGMLStackParser.readDiagram(PGMLStackParser.java:118)
	at
org.argouml.persistence.DiagramMemberFilePersister.load(DiagramMemberFilePersister.java:67)
	... 34 more
java.lang.ClassNotFoundException: uci.uml.visual.UMLClassDiagram
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:164)
	at
org.tigris.gef.persistence.pgml.PGMLHandler.initDiagram(PGMLHandler.java:105)
	at
org.tigris.gef.persistence.pgml.PGMLHandler.<init>(PGMLHandler.java:72)
	at
org.tigris.gef.persistence.pgml.InitialHandler.startElement(InitialHandler.java:62)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
	at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:798)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:878)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:1157)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
	at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
	at
org.tigris.gef.persistence.pgml.PGMLStackParser.readDiagram(PGMLStackParser.java:149)
	at
org.tigris.gef.persistence.pgml.PGMLStackParser.readDiagram(PGMLStackParser.java:118)
	at
org.argouml.persistence.DiagramMemberFilePersister.load(DiagramMemberFilePersister.java:67)
	at
org.argouml.persistence.UmlFilePersister.doLoad(UmlFilePersister.java:355)
	at
org.argouml.persistence.ZargoFilePersister.doLoad(ZargoFilePersister.java:339)
	at org.argouml.ui.ProjectBrowser.loadProject(ProjectBrowser.java:1148)
	at
org.argouml.uml.ui.ActionOpenProject.actionPerformed(ActionOpenProject.java:155)
	at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
	at javax.swing.AbstractButton
$Handler.actionPerformed(AbstractButton.java: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:1000)
	at javax.swing.plaf.basic.BasicMenuItemUI
$Handler.menuDragMouseReleased(BasicMenuItemUI.java:1104)
	at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:578)
	at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:475)
	at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:422)
	at
javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:283)
	at javax.swing.plaf.basic.BasicPopupMenuUI
$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:779)
	at java.awt.Toolkit
$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2206)
	at java.awt.Toolkit
$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2100)
	at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:3867)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	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:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.logilab.org/pipermail/python-projects/attachments/20060228/0418d556/attachment-0084.sig>


More information about the Python-Projects mailing list