facebook

Error reading back a diagram with a rectangle in it

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #257260 Reply

    Robert Varga
    Participant

    Hi All,

    I found a bug in the code reading back a (class) diagram, which actually is a big problem for me, because when the repository is read back, none of my class diagrams are available when the .umr file is opened. Fortunately the backup is still available.

    The following exceptions are in the log:

    
    !SESSION 2006-08-21 19:14:56.890 -----------------------------------------------
    eclipse.buildId=M20060629-1905
    java.version=1.5.0_07
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments:  -os win32 -ws win32 -arch x86 -data c:\apps\eclipse\workspaces\electool
    
    !ENTRY com.genuitec.eclipse.uml 4 0 2006-08-21 19:15:17.125
    !MESSAGE Parsing error while trying to parse inputsource null
    !STACK 0
    java.lang.ClassCastException: org.argouml.model.uml.NsumlXmiReader
        at ru.novosoft.uml.foundation.core.MAssociationEndImpl.reflectiveSetValue(MAssociationEndImpl.java:1119)
        at ru.novosoft.uml.xmi.XMIReader.performLinking(XMIReader.java:127)
        at org.argouml.model.uml.NsumlXmiReader.parseSourceStream(NsumlXmiReader.java:109)
        at org.argouml.model.uml.NsumlXmiReader.parseToModel(NsumlXmiReader.java:239)
        at org.argouml.model.uml.XmiReader.parseToModel(XmiReader.java:67)
        at org.argouml.persistence.ModelMemberFilePersister.load(ModelMemberFilePersister.java:85)
        at org.argouml.persistence.UmlFilePersister.doLoad(UmlFilePersister.java:357)
        at org.argouml.persistence.ZargoFilePersister.doLoad(ZargoFilePersister.java:353)
        at com.genuitec.eclipse.uml.editor.UMLEditor.performLoad(UMLEditor.java:1256)
        at com.genuitec.eclipse.uml.editor.UMLEditor.access$14(UMLEditor.java:1242)
        at com.genuitec.eclipse.uml.editor.UMLEditor$3.run(UMLEditor.java:755)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
        at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
        at com.genuitec.eclipse.uml.editor.UMLEditor.init(UMLEditor.java:752)
        at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:839)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
        at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
        at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1420)
        at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:1005)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:843)
        at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:1000)
        at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2836)
        at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1936)
        at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2857)
        at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2805)
        at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1681)
        at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1421)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1679)
        at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1650)
        at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1529)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1473)
        at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
    
    !ENTRY com.genuitec.eclipse.uml 4 0 2006-08-21 19:15:17.140
    !MESSAGE SAXException caught
    !STACK 0
    java.lang.ClassCastException: org.argouml.model.uml.NsumlXmiReader
        at org.argouml.model.uml.NsumlXmiReader.parseSourceStream(NsumlXmiReader.java:121)
        at org.argouml.model.uml.NsumlXmiReader.parseToModel(NsumlXmiReader.java:239)
        at org.argouml.model.uml.XmiReader.parseToModel(XmiReader.java:67)
        at org.argouml.persistence.ModelMemberFilePersister.load(ModelMemberFilePersister.java:85)
        at org.argouml.persistence.UmlFilePersister.doLoad(UmlFilePersister.java:357)
        at org.argouml.persistence.ZargoFilePersister.doLoad(ZargoFilePersister.java:353)
        at com.genuitec.eclipse.uml.editor.UMLEditor.performLoad(UMLEditor.java:1256)
        at com.genuitec.eclipse.uml.editor.UMLEditor.access$14(UMLEditor.java:1242)
        at com.genuitec.eclipse.uml.editor.UMLEditor$3.run(UMLEditor.java:755)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
        at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
        at com.genuitec.eclipse.uml.editor.UMLEditor.init(UMLEditor.java:752)
        at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:839)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
        at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
        at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1420)
        at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:1005)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:843)
        at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:1000)
        at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2836)
        at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1936)
        at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2857)
        at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2805)
        at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1681)
        at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1421)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1679)
        at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1650)
        at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1529)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1473)
        at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
    
    !ENTRY com.genuitec.eclipse.uml 1 0 2006-08-21 19:15:17.140
    !MESSAGE Load Failed on flexiqms.umr.umr. Trying to repair now.
    
    !ENTRY com.genuitec.eclipse.uml 4 0 2006-08-21 19:15:17.375
    !MESSAGE Parsing error while trying to parse inputsource null
    !STACK 0
    java.lang.ClassCastException: org.argouml.model.uml.NsumlXmiReader
        at ru.novosoft.uml.foundation.core.MAssociationEndImpl.reflectiveSetValue(MAssociationEndImpl.java:1119)
        at ru.novosoft.uml.xmi.XMIReader.performLinking(XMIReader.java:127)
        at org.argouml.model.uml.NsumlXmiReader.parseSourceStream2(NsumlXmiReader.java:140)
        at org.argouml.model.uml.NsumlXmiReader.parseToModel2(NsumlXmiReader.java:254)
        at org.argouml.model.uml.XmiReader.parseToModel2(XmiReader.java:72)
        at org.argouml.persistence.ModelMemberFilePersister.load2(ModelMemberFilePersister.java:134)
        at org.argouml.persistence.UmlFilePersister.doLoad2(UmlFilePersister.java:454)
        at org.argouml.persistence.ZargoFilePersister.doLoad2(ZargoFilePersister.java:442)
        at com.genuitec.eclipse.uml.editor.UMLEditor.performLoad(UMLEditor.java:1272)
        at com.genuitec.eclipse.uml.editor.UMLEditor.access$14(UMLEditor.java:1242)
        at com.genuitec.eclipse.uml.editor.UMLEditor$3.run(UMLEditor.java:755)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
        at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
        at com.genuitec.eclipse.uml.editor.UMLEditor.init(UMLEditor.java:752)
        at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:839)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
        at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
        at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1420)
        at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:1005)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:843)
        at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:1000)
        at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2836)
        at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1936)
        at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2857)
        at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2805)
        at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1681)
        at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1421)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1679)
        at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1650)
        at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1529)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1473)
        at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
    
    !ENTRY com.genuitec.eclipse.uml 4 0 2006-08-21 19:15:17.906
    !MESSAGE Exception in readDiagram
    !STACK 0
    java.lang.ArrayIndexOutOfBoundsException: 0
        at org.argouml.uml.diagram.ui.FigDependency.setOwner(FigDependency.java:123)
        at org.tigris.gef.xml.pgml.PGMLParser.setOwnerAttr(PGMLParser.java:992)
        at org.tigris.gef.xml.pgml.PGMLParser.setAttrs(PGMLParser.java:984)
        at org.argouml.persistence.PGMLParser.handleGroup(PGMLParser.java:693)
        at org.tigris.gef.xml.pgml.PGMLParser.startElement(PGMLParser.java:221)
        at org.argouml.persistence.PGMLParser.startElement(PGMLParser.java:325)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at org.argouml.persistence.PGMLParser.readDiagram(PGMLParser.java:491)
        at org.argouml.persistence.DiagramMemberFilePersister.load(DiagramMemberFilePersister.java:75)
        at org.argouml.persistence.UmlFilePersister.doLoad2(UmlFilePersister.java:456)
        at org.argouml.persistence.ZargoFilePersister.doLoad2(ZargoFilePersister.java:442)
        at com.genuitec.eclipse.uml.editor.UMLEditor.performLoad(UMLEditor.java:1272)
        at com.genuitec.eclipse.uml.editor.UMLEditor.access$14(UMLEditor.java:1242)
        at com.genuitec.eclipse.uml.editor.UMLEditor$3.run(UMLEditor.java:755)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
        at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
        at com.genuitec.eclipse.uml.editor.UMLEditor.init(UMLEditor.java:752)
        at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:839)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
        at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
        at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1420)
        at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:1005)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:843)
        at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:1000)
        at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2836)
        at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1936)
        at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2857)
        at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2805)
        at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1681)
        at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1421)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1679)
        at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1650)
        at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1529)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1473)
        at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
    
    !ENTRY com.genuitec.eclipse.uml 4 0 2006-08-21 19:15:17.906
    !MESSAGE An error occurred while loading PGML
    
    !ENTRY com.genuitec.eclipse.uml 4 0 2006-08-21 19:15:18.359
    !MESSAGE Exception in readDiagram
    !STACK 0
    java.lang.ArrayIndexOutOfBoundsException: 0
        at org.argouml.uml.diagram.ui.FigDependency.setOwner(FigDependency.java:121)
        at org.tigris.gef.xml.pgml.PGMLParser.setOwnerAttr(PGMLParser.java:992)
        at org.tigris.gef.xml.pgml.PGMLParser.setAttrs(PGMLParser.java:984)
        at org.argouml.persistence.PGMLParser.handleGroup(PGMLParser.java:693)
        at org.tigris.gef.xml.pgml.PGMLParser.startElement(PGMLParser.java:221)
        at org.argouml.persistence.PGMLParser.startElement(PGMLParser.java:325)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at org.argouml.persistence.PGMLParser.readDiagram(PGMLParser.java:491)
        at org.argouml.persistence.DiagramMemberFilePersister.load(DiagramMemberFilePersister.java:75)
        at org.argouml.persistence.UmlFilePersister.doLoad2(UmlFilePersister.java:456)
        at org.argouml.persistence.ZargoFilePersister.doLoad2(ZargoFilePersister.java:442)
        at com.genuitec.eclipse.uml.editor.UMLEditor.performLoad(UMLEditor.java:1272)
        at com.genuitec.eclipse.uml.editor.UMLEditor.access$14(UMLEditor.java:1242)
        at com.genuitec.eclipse.uml.editor.UMLEditor$3.run(UMLEditor.java:755)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
        at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
        at com.genuitec.eclipse.uml.editor.UMLEditor.init(UMLEditor.java:752)
        at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:839)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
        at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
        at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1420)
        at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:1005)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:843)
        at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:1000)
        at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2836)
        at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1936)
        at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2857)
        at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2805)
        at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1681)
        at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1421)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1679)
        at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1650)
        at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1529)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1473)
        at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
    
    !ENTRY com.genuitec.eclipse.uml 4 0 2006-08-21 19:15:18.359
    !MESSAGE An error occurred while loading PGML
    
    !ENTRY com.genuitec.eclipse.uml 4 0 2006-08-21 19:15:18.718
    !MESSAGE Exception in readDiagram
    !STACK 0
    java.lang.ClassCastException: org.tigris.gef.presentation.FigRect
        at org.argouml.uml.diagram.ui.FigAssociation.setOwner(FigAssociation.java:223)
        at org.tigris.gef.xml.pgml.PGMLParser.setOwnerAttr(PGMLParser.java:992)
        at org.tigris.gef.xml.pgml.PGMLParser.setAttrs(PGMLParser.java:984)
        at org.argouml.persistence.PGMLParser.handleGroup(PGMLParser.java:693)
        at org.tigris.gef.xml.pgml.PGMLParser.startElement(PGMLParser.java:221)
        at org.argouml.persistence.PGMLParser.startElement(PGMLParser.java:325)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at org.argouml.persistence.PGMLParser.readDiagram(PGMLParser.java:491)
        at org.argouml.persistence.DiagramMemberFilePersister.load(DiagramMemberFilePersister.java:75)
        at org.argouml.persistence.UmlFilePersister.doLoad2(UmlFilePersister.java:456)
        at org.argouml.persistence.ZargoFilePersister.doLoad2(ZargoFilePersister.java:442)
        at com.genuitec.eclipse.uml.editor.UMLEditor.performLoad(UMLEditor.java:1272)
        at com.genuitec.eclipse.uml.editor.UMLEditor.access$14(UMLEditor.java:1242)
        at com.genuitec.eclipse.uml.editor.UMLEditor$3.run(UMLEditor.java:755)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
        at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
        at com.genuitec.eclipse.uml.editor.UMLEditor.init(UMLEditor.java:752)
        at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:839)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
        at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
        at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1420)
        at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:1005)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:843)
        at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:1000)
        at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2836)
        at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1936)
        at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2857)
        at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2805)
        at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1681)
        at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1421)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1679)
        at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1650)
        at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1529)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1473)
        at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
    
    !ENTRY com.genuitec.eclipse.uml 4 0 2006-08-21 19:15:18.718
    !MESSAGE An error occurred while loading PGML
    
    !ENTRY com.genuitec.eclipse.uml 4 0 2006-08-21 19:15:18.875
    !MESSAGE Exception in readDiagram
    !STACK 0
    java.lang.ArrayIndexOutOfBoundsException: 0
        at org.argouml.uml.diagram.ui.FigDependency.setOwner(FigDependency.java:121)
        at org.tigris.gef.xml.pgml.PGMLParser.setOwnerAttr(PGMLParser.java:992)
        at org.tigris.gef.xml.pgml.PGMLParser.setAttrs(PGMLParser.java:984)
        at org.argouml.persistence.PGMLParser.handleGroup(PGMLParser.java:693)
        at org.tigris.gef.xml.pgml.PGMLParser.startElement(PGMLParser.java:221)
        at org.argouml.persistence.PGMLParser.startElement(PGMLParser.java:325)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at org.argouml.persistence.PGMLParser.readDiagram(PGMLParser.java:491)
        at org.argouml.persistence.DiagramMemberFilePersister.load(DiagramMemberFilePersister.java:75)
        at org.argouml.persistence.UmlFilePersister.doLoad2(UmlFilePersister.java:456)
        at org.argouml.persistence.ZargoFilePersister.doLoad2(ZargoFilePersister.java:442)
        at com.genuitec.eclipse.uml.editor.UMLEditor.performLoad(UMLEditor.java:1272)
        at com.genuitec.eclipse.uml.editor.UMLEditor.access$14(UMLEditor.java:1242)
        at com.genuitec.eclipse.uml.editor.UMLEditor$3.run(UMLEditor.java:755)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
        at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
        at com.genuitec.eclipse.uml.editor.UMLEditor.init(UMLEditor.java:752)
        at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:839)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
        at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
        at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1420)
        at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:1005)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:843)
        at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:1000)
        at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2836)
        at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1936)
        at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2857)
        at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2805)
        at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1681)
        at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1421)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1679)
        at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1650)
        at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1529)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1473)
        at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
    
    !ENTRY com.genuitec.eclipse.uml 4 0 2006-08-21 19:15:18.875
    !MESSAGE An error occurred while loading PGML
    
    !ENTRY com.genuitec.eclipse.uml 1 0 2006-08-21 19:15:20.859
    !MESSAGE Repair Worked! flexiqms.umr.umr Should open correctly now.
    

    It would really be important for me to get back my class diagrams, so please, after you find out the problem, please send me a mail about what I should delete (I expect the rectangles, probably) from which diagram in the umr (zip) file to allow my umr file to be read back.

    Thanks in advance,

    Robert

    #257261 Reply

    Robert Varga
    Participant

    Btw, the system is Win 2k SP4, Eclipse 3.2, ME 5.0.1 manual install (the error happens both with and without -clean), the only additional plugin is Veloeclipse, which was not loaded because no .vm files were loaded in the workspace.

    If you want, I can send you the .umr file to reproduce the bug.

    Best regards,

    Robert

    #257296 Reply

    Riyad Kalla
    Member

    Robert,
    Yes please email the UMR file to support@genuitec.com ATTN Riyad along with your attached log file and a link to this post so I know why I’m getting the file. We’ll look at it ASAP.

    #257692 Reply

    Robert Varga
    Participant

    @support-rkalla wrote:

    Robert,
    Yes please email the UMR file to support@genuitec.com ATTN Riyad along with your attached log file and a link to this post so I know why I’m getting the file. We’ll look at it ASAP.

    Hi Riyad,

    is there any news with this?

    Thanks,

    Robert

    #257695 Reply

    Riyad Kalla
    Member

    Robert, I didn’t get a reply back from the UML team, I’ll ping them again (sorry for the delay).

    #257697 Reply

    Robert Varga
    Participant

    Thanks 🙂

    BR,

    Robert

    #262541 Reply

    Robert Varga
    Participant

    Hi Riyad,

    any news with this? 🙂

    TIA,

    Robert

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Error reading back a diagram with a rectangle in it

You must be logged in to post in the forum log in