facebook

Unable to view UML repository

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

    Hi, I just upgraded from ME4.1GA to ME4.1.1GA

    Recently I reverted to ME4.1GA but the repository is no longer viewable

    I’ve included some information below. Is this a bug in MyEclipse?

    The error on Eclipse Window:
    ===================
    Unable to create this part due to an internal error. Reason for the failure: An exception was thrown during initialization

    The .log
    ======
    !ENTRY org.eclipse.ui 4 0 2006-03-12 13:12:41.536
    !MESSAGE Unable to create editor ID com.genuitec.eclipse.uml.editor.UMLEditor: An exception was thrown during initialization
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.uml.editor.UMLEditor.init(UMLEditor.java:763)
    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.EditorReference.getEditor(EditorReference.java:214)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2325)
    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.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:296)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:869)
    at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:783)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
    at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
    at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
    at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
    at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
    at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
    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(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:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)

    Configuration Summary:
    ================
    *** Date: Sun Mar 12 14:09:07 SGT 2006

    *** System properties:
    OS=Linux
    OS version=2.6.12-1.1381_FC3
    Java version=1.5.0_06

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.0 GA
    Build id: 20060122-4.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Platform

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse RCP

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Java Development Tools

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Plug-in Development Environment

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Project SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -launcher
    /opt/tools/eclipse-myeclipse/eclipse
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    518000
    -vm
    /opt/sdks/jdk1.5.0_06/bin/java

    #248420 Reply

    Kapil Kapre
    Member

    mark,
    Are you using a trial license if so, please re-download 4.1.1 and that should sort you out. If not try recovering your UMR from the backup file “.umr~” (rename to .umr)

    #248724 Reply

    Hi

    I just upgraded to Pro version (4.1.1), previously I used standard (4.1). These’re the steps I’ve taken:

    1. removed eclipse and re-installed
    2. run $ECLIPSE_HOME/eclipse -clean
    3. removed old workspace, use a new workspace

    Unfortunately, I removed *.umr~ since it looks like orphan

    I saw the documentation on myeclipse home page on the steps to uninstall ME but I use a manual install.

    When I tried to create a new UML repository, I get:

    !ENTRY com.genuitec.eclipse.jsf 1 0 2006-03-16 21:51:16.138
    !MESSAGE
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.jdt.internal.core.TypeVector.contains(TypeVector.java:56)
    at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.contains(TypeHierarchy.java:333)
    at com.genuitec.eclipse.jsf.validation.ClassNamesValidationRule.classExtends(ClassNamesValidationRule.java:95)
    at com.genuitec.eclipse.jsf.validation.ClassNamesValidationRule.validateClass(ClassNamesValidationRule.java:221)
    at com.genuitec.eclipse.jsf.validation.ClassNamesValidationRule.validateClass(ClassNamesValidationRule.java:170)
    at com.genuitec.eclipse.jsf.validation.ClassNamesValidationRule.validateClass(ClassNamesValidationRule.java:187)
    at com.genuitec.eclipse.jsf.validation.ClassNamesValidationRule.validateConverter(ClassNamesValidationRule.java:245)
    at com.genuitec.eclipse.jsf.modeler.model.JSFConfig.runValidationRule(JSFConfig.java:254)
    at com.genuitec.eclipse.jsf.validation.ValidationBuilder$RuleRunner.run(ValidationBuilder.java:31)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:783)
    at com.genuitec.eclipse.jsf.validation.ValidationBuilder.validateProject(ValidationBuilder.java:70)
    at com.genuitec.eclipse.jsf.validation.ValidationBuilder.build(ValidationBuilder.java:53)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:783)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:783)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

    #248734 Reply

    Riyad Kalla
    Member

    Mark,
    The steps you took to a fresh install of Eclipse are the same steps you need to do for MyEclipse. You mentioned upgrading then downgrading back to version 4.1 GA, unless you were using the update manager OR uninstalling/reinstalling clean copies to a clean dir, it’s possible you have corrupted your install, *especially* if you simply were unzipping copies of MyEclipse ontop of itself.

    #251583 Reply

    aromu
    Member

    Hi,

    I’m evaluating the MyEclipse 4.1.1GA_E3.1 on Linux environment and was working with the UML editor. Then I made a mistake, closed the file without saving and tried to open it again with the UML editor. Here’s the result:

    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:763)
        at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:778)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
        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:269)
        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:758)
        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:2360)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)
        at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
        at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2249)
        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.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:296)
        at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:869)
        at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
        at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
        at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
        at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
        at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
        at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
        at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
        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(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: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)
    
    #251612 Reply

    Riyad Kalla
    Member

    aromu,
    Try restarting using the -clean command line argument, almost make sure you are using Eclipse 3.1.2 and JDK 1.5.0_06 on Linux for the most stable UML operation.

    #251635 Reply

    aromu
    Member

    Hi and thanks for your reply rkalla

    I tried the -clean command line argument in two ways. Added it to the parameters in MyEclipse.sh and also tried just startting eclipse with ./eclipse -clean The problem still persists.

    When I installed MyEclipse evaluation version I installed clean version of Eclipse (Version: 3.1.2
    Build id: M20060118-1600) and I’m running it on Sun JDK:

    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
    
    #251637 Reply

    aromu
    Member

    I was able to open the diagram using ArgoUML 0.20 when I renamed the UML repository file to ArgoUML project .zargo

    Propably I just go for the ArgoUML for now but i would be interested to solve the problem with MyEclipse also.

    Best Regards:
    Aapo

    #252537 Reply

    djhill
    Member

    I encountered the same problem this week. Perhaps this info will assist in locating the underlying cause.

    I was adding comments to a use case to document scenarios by selecting the use case and then adding a comment. At one point a comment became disconnected from its link, and eventually disappeared altogether. The link was still there, however, but only connected on one end (the use case), and could not be deleted. I then tried adding another (unassociated) comment, thinking I could then connect the link to it, but while I could drag the loose end of the link around it would not attach to the comment.

    I continued to work for several hours on other diagrams with no problems. When I tried to reopen the model the next day, I got the null pointer exception, which I presume to be caused by the loose end of the disconnected link. [IMHO, the editor chould catch and handle this, probably by deleting the offending object.]

    I couldn’t open the backup either, and couldn’t even delete the UMR because it was “out of synch with the file system.” [who cares? let me delete it anyway!]

    In the end I had to delete the project, delete the model files, recreate the project, and then create a new model.

    I’m using the following versions:

    Eclipse:
    Version: 3.1.1
    Build id: M20050929-0840

    myEclipse: 4.1.1GA

    WinXPSp2

    #252545 Reply

    Riyad Kalla
    Member

    djhill,
    I’m sending this report to our UML team, this is a big problem if this is what happened to you.

    #252562 Reply

    djhill
    Member

    I could try to recreate it. Are there any diagnostic or logging facilities I can enable? I can’t find any relevant settings in the preferences.

    …Jeff

    #252565 Reply

    Riyad Kalla
    Member

    Jeff there aren’t any but the log file (<workspace dir>\.metadata\.log) should help fine critical exceptions.

    #252571 Reply

    djhill
    Member

    OK, here’s the relevant portion of the log file. It looks like it caught some exceptions when I was trying to connect the link to the new comment, and when I tried to delete it.

    
    !ENTRY org.eclipse.update.configurator 2006-05-21 10:26:53.261
    !MESSAGE Can't find bundle for base name feature, locale en_US
    !SESSION 2006-05-21 11:17:34.695 -----------------------------------------------
    eclipse.buildId=M20050929-0840
    java.version=1.5.0_06
    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
    
    !ENTRY com.genuitec.eclipse.uml 1 0 2006-05-21 15:47:40.347
    !MESSAGE 
    !STACK 0
    java.lang.IllegalArgumentException: Don't know how to create FigEdge for model type ru.novosoft.uml.foundation.core.MCommentImpl
        at org.argouml.uml.diagram.use_case.ui.UseCaseDiagramRenderer.getFigEdgeFor(UseCaseDiagramRenderer.java:236)
        at com.genuitec.eclipse.uml.editor.undo.MementoViewModelEvent.restoreState(MementoViewModelEvent.java:184)
        at com.genuitec.eclipse.uml.editor.undo.UndoManager.performActualUndo(UndoManager.java:269)
        at com.genuitec.eclipse.uml.editor.undo.UndoManager.access$0(UndoManager.java:260)
        at com.genuitec.eclipse.uml.editor.undo.UndoManager$2.run(UndoManager.java:204)
        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)
    
    !ENTRY com.genuitec.eclipse.uml 1 0 2006-05-21 15:47:40.397
    !MESSAGE 
    !STACK 0
    java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(Unknown Source)
        at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
        at com.genuitec.eclipse.uml.editor.undo.UndoManager$1.run(UndoManager.java:201)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.IllegalArgumentException: Don't know how to create FigEdge for model type ru.novosoft.uml.foundation.core.MCommentImpl
        at org.argouml.uml.diagram.use_case.ui.UseCaseDiagramRenderer.getFigEdgeFor(UseCaseDiagramRenderer.java:236)
        at com.genuitec.eclipse.uml.editor.undo.MementoViewModelEvent.restoreState(MementoViewModelEvent.java:184)
        at com.genuitec.eclipse.uml.editor.undo.UndoManager.performActualUndo(UndoManager.java:288)
        at com.genuitec.eclipse.uml.editor.undo.UndoManager.access$0(UndoManager.java:260)
        at com.genuitec.eclipse.uml.editor.undo.UndoManager$2.run(UndoManager.java:204)
        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)
    Root exception:
    java.lang.IllegalArgumentException: Don't know how to create FigEdge for model type ru.novosoft.uml.foundation.core.MCommentImpl
        at org.argouml.uml.diagram.use_case.ui.UseCaseDiagramRenderer.getFigEdgeFor(UseCaseDiagramRenderer.java:236)
        at com.genuitec.eclipse.uml.editor.undo.MementoViewModelEvent.restoreState(MementoViewModelEvent.java:184)
        at com.genuitec.eclipse.uml.editor.undo.UndoManager.performActualUndo(UndoManager.java:288)
        at com.genuitec.eclipse.uml.editor.undo.UndoManager.access$0(UndoManager.java:260)
        at com.genuitec.eclipse.uml.editor.undo.UndoManager$2.run(UndoManager.java:204)
        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)
    
    !ENTRY com.genuitec.eclipse.uml 1 0 2006-05-21 16:19:03.815
    !MESSAGE 
    !STACK 0
    java.lang.NullPointerException
        at org.argouml.model.uml.UmlFactoryImpl.isRemoved(UmlFactoryImpl.java:748)
        at org.argouml.uml.diagram.ui.UMLDiagram.needsToBeRemoved(UMLDiagram.java:680)
        at org.argouml.kernel.Project.trashInternal(Project.java:1049)
        at org.argouml.kernel.Project.moveToTrash(Project.java:1009)
        at com.genuitec.eclipse.uml.editor.undo.MementoViewModelEvent.restoreState(MementoViewModelEvent.java:112)
        at com.genuitec.eclipse.uml.editor.undo.UndoManager.performActualUndo(UndoManager.java:269)
        at com.genuitec.eclipse.uml.editor.undo.UndoManager.access$0(UndoManager.java:260)
        at com.genuitec.eclipse.uml.editor.undo.UndoManager$2.run(UndoManager.java:204)
        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)
    
    !ENTRY com.genuitec.eclipse.uml 4 0 2006-05-22 09:57:58.256
    !MESSAGE Exception in readDiagram
    !STACK 0
    java.lang.NullPointerException
        at org.tigris.gef.presentation.FigEdgePoly.computeRoute(FigEdgePoly.java:105)
        at org.tigris.gef.xml.pgml.PGMLParser.endElement(PGMLParser.java:436)
        at org.argouml.persistence.PGMLParser.endElement(PGMLParser.java:576)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(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(Unknown Source)
        at org.argouml.persistence.PGMLParser.readDiagram(PGMLParser.java:491)
        at org.argouml.persistence.DiagramMemberFilePersister.load(DiagramMemberFilePersister.java:75)
        at org.argouml.persistence.UmlFilePersister.doLoad(UmlFilePersister.java:357)
        at org.argouml.persistence.ZargoFilePersister.doLoad(ZargoFilePersister.java:353)
        at com.genuitec.eclipse.uml.model.UMLProject.loadArgoProject(UMLProject.java:119)
        at com.genuitec.eclipse.uml.model.UMLProject.getArgoProjectRef(UMLProject.java:74)
        at com.genuitec.eclipse.uml.model.UMLModelManager.getArgoProject(UMLModelManager.java:69)
        at com.genuitec.eclipse.uml.editor.UMLEditor$1.run(UMLEditor.java:255)
        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.dispose(UMLEditor.java:248)
        at org.eclipse.ui.internal.WorkbenchPartReference.doDisposePart(WorkbenchPartReference.java:659)
        at org.eclipse.ui.internal.EditorReference.doDisposePart(EditorReference.java:271)
        at org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:628)
        at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1439)
        at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1266)
        at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1250)
        at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1224)
        at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:1035)
        at org.eclipse.ui.internal.CloseAllAction.run(CloseAllAction.java:80)
        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 2006-05-22 09:57:58.356
    !MESSAGE An error occurred while loading PGML
    
    #252736 Reply

    cetek
    Member

    I’m getting the same thing, I’m loosing days of work because of this:

    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:763)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:778)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)
    at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2249)
    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.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:296)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:869)
    at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:783)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
    at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
    at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
    at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
    at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
    at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
    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:3125)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
    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)

    #252746 Reply

    Riyad Kalla
    Member

    djhill,
    I had a developer from the UML team in conjunction with me work on a few UML diagrams with comments for about 20mins each and neither of us ran into issues. THat’s not to say there isn’t an issue, we just weren’t able to trigger it, can you find a consistent set of steps to reproduce the problem?

    cetek,
    Can you backup your UMR file, then erase it and rename the umr~ file in the same dir to umr and see if that opens?

Viewing 15 posts - 1 through 15 (of 19 total)
Reply To: Unable to view UML repository

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