facebook

UML caused internal error #2

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #238653 Reply

    Zpeedy
    Member

    I have a similar problem as described in this topic. I can’t open my model anymore after I exported it as SVG. I’ve already tried to run “eclipe -clean” without result.

    Quick help is greatly appreciated!

    Here are my envoriment setting:
    What operating system and version are you running?
    – Windows XP SP2

    What Eclipse version and build id are you using?
    – 3.1 (I20050627-1435) and 3.1.1 (M20050929-0840)

    What MyEclipse version are you using?
    – 4.0.1 (20050930-4.0.1-GA)

    What JDK version are you using to run Eclipse?
    – 1.5.0_05

    What steps did you take that resulted in the issue?
    – Export the model as SVG and the save the model.

    Are there any exceptions in the Eclipse log file?

    
    !ENTRY com.genuitec.eclipse.uml 4 0 2005-10-04 16:02:23.554
    !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:208)
      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:328)
      at com.genuitec.eclipse.uml.editor.UMLEditor.performLoad(UMLEditor.java:1009)
      at com.genuitec.eclipse.uml.editor.UMLEditor.access$12(UMLEditor.java:995)
      at com.genuitec.eclipse.uml.editor.UMLEditor$3.run(UMLEditor.java:658)
      at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
      at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
      at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
      at com.genuitec.eclipse.uml.editor.UMLEditor.init(UMLEditor.java:655)
      at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:773)
      at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:572)
      at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:365)
      at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
      at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
      at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
      at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
      at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
      at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391)
      at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102)
      at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051)
      at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1256)
      at org.eclipse.ui.internal.PartStack.add(PartStack.java:442)
      at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109)
      at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
      at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:212)
      at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:202)
      at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:753)
      at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:665)
      at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:628)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2323)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2258)
      at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2250)
      at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2236)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2231)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2212)
      at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
      at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
      at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:251)
      at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:131)
      at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
      at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:169)
      at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:153)
      at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:222)
      at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:198)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
      at org.eclipse.core.launcher.Main.run(Main.java:973)
      at org.eclipse.core.launcher.Main.main(Main.java:948)
    
    !ENTRY com.genuitec.eclipse.uml 4 0 2005-10-04 16:02:23.554
    !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:208)
      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:328)
      at com.genuitec.eclipse.uml.editor.UMLEditor.performLoad(UMLEditor.java:1009)
      at com.genuitec.eclipse.uml.editor.UMLEditor.access$12(UMLEditor.java:995)
      at com.genuitec.eclipse.uml.editor.UMLEditor$3.run(UMLEditor.java:658)
      at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
      at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
      at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
      at com.genuitec.eclipse.uml.editor.UMLEditor.init(UMLEditor.java:655)
      at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:773)
      at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:572)
      at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:365)
      at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
      at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
      at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
      at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
      at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
      at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391)
      at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102)
      at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051)
      at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1256)
      at org.eclipse.ui.internal.PartStack.add(PartStack.java:442)
      at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109)
      at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
      at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:212)
      at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:202)
      at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:753)
      at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:665)
      at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:628)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2323)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2258)
      at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2250)
      at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2236)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2231)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2212)
      at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
      at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
      at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:251)
      at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:131)
      at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
      at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:169)
      at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:153)
      at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:222)
      at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:198)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
      at org.eclipse.core.launcher.Main.run(Main.java:973)
      at org.eclipse.core.launcher.Main.main(Main.java:948)
    
    !ENTRY org.eclipse.ui 4 0 2005-10-04 16:02:23.601
    !MESSAGE Unable to create editor ID com.genuitec.eclipse.uml.editor.UMLEditor: An exception was thrown during initialization
    !STACK 0
    java.lang.IllegalArgumentException: 
      at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:58)
      at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:42)
      at org.eclipse.core.runtime.Status.setMessage(Status.java:174)
      at org.eclipse.core.runtime.Status.<init>(Status.java:81)
      at org.eclipse.ui.WorkbenchException.<init>(WorkbenchException.java:38)
      at org.eclipse.ui.PartInitException.<init>(PartInitException.java:36)
      at com.genuitec.eclipse.uml.editor.UMLEditor.init(UMLEditor.java:667)
      at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:773)
      at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:572)
      at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:365)
      at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
      at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
      at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
      at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
      at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
      at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391)
      at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102)
      at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051)
      at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1256)
      at org.eclipse.ui.internal.PartStack.add(PartStack.java:442)
      at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109)
      at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
      at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:212)
      at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:202)
      at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:753)
      at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:665)
      at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:628)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2323)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2258)
      at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2250)
      at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2236)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2231)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2212)
      at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
      at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
      at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:251)
      at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:131)
      at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
      at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:169)
      at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:153)
      at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:222)
      at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:198)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
      at org.eclipse.core.launcher.Main.run(Main.java:973)
      at org.eclipse.core.launcher.Main.main(Main.java:948)
    
    #238694 Reply

    Riyad Kalla
    Member

    I’ve asked someone from the UML team to take a look, hang in there.

    #238696 Reply

    Kapil Kapre
    Member

    Zpeedy,
    It seems your UMR file is corrupt. Can you email us the file? We can try to retrive it for you. You can email it at support@genuitec.com with ATTN: Kapil in the subject. Also, as a workaround can you try renaming the backup file “.UMR~” to “.UMR” and see if it has a recent snapshot of your work.
    Thanks,
    Kapil

    #238722 Reply

    Zpeedy
    Member

    Unfortunately the renaming of “.umr~” didn’t help either.

    I’ve send the model so you should have it by now.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: UML caused internal error #2

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