View previous topic :: View next topic |
Author |
Message |
JokerT3F
Joined: 16 Nov 2004
Posts: 2
|
Posted: Tue Nov 16, 2004 1:16 am Post subject: Error launching Eclipse after diagram creation
|
|
|
I just install Omondo Eclipse plug-in, after the installation I've created a Class Diagram on an existing project. Everithing work fine as long as I don't close Eclipse. Once it is closed, I can't restart it. I see the Omondo slashscreen and the dialog showing the model loading... After that I received an error message. This is the message logged in the log file of eclipse (3.0 M3) :
!SESSION 2004-11-15 19:59:23.909 -----------------------------------------------
eclipse.buildId=I200411050810
java.version=1.5.0-rc
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY com.omondo.uml.core 4 0 2004-11-15 19:59:23.909
!MESSAGE
!STACK 0
java.lang.NullPointerException
at com.omondo.uml.std.k.i.long(SourceFile:551)
at com.omondo.uml.std.d.b.t.int(SourceFile:219)
at com.omondo.uml.std.d.b.t.(SourceFile:130)
at com.omondo.uml.std.d.b.h.(SourceFile:661)
at com.omondo.uml.std.d.b.i.long(SourceFile:1120)
at com.omondo.uml.std.d.b.i.(SourceFile:131)
at com.omondo.uml.std.EclipseUML2StdEdition.a(SourceFile:132)
at com.omondo.uml.b.g.a(SourceFile:229)
at com.omondo.uml.b.n.a(SourceFile:71)
at com.omondo.uml.f.c.a.b.case(SourceFile:186)
at com.omondo.uml.f.c.a.b.long(SourceFile:373)
at com.omondo.uml.f.c.l.goto(SourceFile:190)
at com.omondo.uml.f.f.l.do(SourceFile:595)
at com.omondo.uml.domain.d.if(SourceFile:777)
at com.omondo.uml.domain.d.a(SourceFile:726)
at com.omondo.uml.ui.a.ak.if(SourceFile:820)
at com.omondo.uml.ClassDiagramEditor.if(SourceFile:480)
at com.omondo.uml.ui.a.ak.setInput(SourceFile:1100)
at com.omondo.uml.ui.a.ak.init(SourceFile:1060)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:815)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:894)
at org.eclipse.ui.internal.EditorManager.access$12(EditorManager.java:878)
at org.eclipse.ui.internal.EditorManager$9.run(EditorManager.java:1096)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.EditorManager.busyRestoreEditor(EditorManager.java:1066)
at org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:1058)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.EditorManager.restoreEditor(EditorManager.java:1056)
at org.eclipse.ui.internal.EditorManager.restoreEditorState(EditorManager.java:1698)
at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:1010)
at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2509)
at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1606)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1376)
at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1332)
at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:1235)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1169)
at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:171)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:655)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:867)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1477)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:276)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
What's wrong with my installation
|
|
Back to top |
|
|
thowland
Joined: 16 Nov 2004
Posts: 2
|
Posted: Tue Nov 16, 2004 4:17 am Post subject: Same thing here
|
|
|
I'm having the same problem - create a document, quit eclipse, open it, can't open the doc- and eclipse bombs out. I even see the identical stack trace.
As a workaround, I renamed the model to keep it from being opened on startup- this let me back into eclipse. Uninstalling and reinstalling omondo doesn't seem to help- I still bomb out after opening any UML documents.
I'm using eclipse 3.01 on windows, with GEF 3.0.1 and UML 1.0.1.
Here some of the stack trace:
!ENTRY com.omondo.uml.core 4 0 Nov 15, 2004 20:04:27.926
!MESSAGE
!STACK 0
java.lang.NullPointerException
at com.omondo.uml.std.k.i.long(SourceFile:551)
at com.omondo.uml.std.d.b.t.int(SourceFile:219)
at com.omondo.uml.std.d.b.t.(SourceFile:130)
at com.omondo.uml.std.d.b.h.(SourceFile:661)
at com.omondo.uml.std.d.b.i.long(SourceFile:1120)
at com.omondo.uml.std.d.b.i.(SourceFile:131)
at com.omondo.uml.std.EclipseUML2StdEdition.a(SourceFile:132)
at com.omondo.uml.b.g.a(SourceFile:229)
at com.omondo.uml.b.n.a(SourceFile:71)
at com.omondo.uml.f.c.a.b.case(SourceFile:186)
at com.omondo.uml.f.c.a.b.long(SourceFile:373)
at com.omondo.uml.f.c.l.goto(SourceFile:190)
at com.omondo.uml.f.f.l.do(SourceFile:595)
at com.omondo.uml.domain.d.if(SourceFile:777)
at com.omondo.uml.domain.d.a(SourceFile:726)
at com.omondo.uml.ui.a.ak.if(SourceFile:820)
at com.omondo.uml.ui.a.ak.setInput(SourceFile:1100)
at com.omondo.uml.ui.a.ak.init(SourceFile:1060)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:718)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:777)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:582)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:570)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2244)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2177)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:2169)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2156)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2151)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:299)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:137)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:110)
at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:164)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:150)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:212)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGro
:289)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:490)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:429)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:427)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:635)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:731)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:211)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:206)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:238)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
|
|
Back to top |
|
|
JokerT3F
Joined: 16 Nov 2004
Posts: 2
|
Posted: Tue Nov 16, 2004 12:40 pm Post subject: Just found a better workarround
|
|
|
Just delete the file ".umlproject" in the project directory and the model will load successfully on startup.
|
|
Back to top |
|
|
thowland
Joined: 16 Nov 2004
Posts: 2
|
Posted: Tue Nov 16, 2004 5:20 pm Post subject: that did it!
|
|
|
Awesome, that solved it for me-
Thanks!
|
|
Back to top |
|
|
capriccio
Joined: 20 Nov 2004
Posts: 1
|
Posted: Sat Nov 20, 2004 9:03 pm Post subject: Permanent Fix
|
|
|
Has anyone been able to determine the cause of the problem and an appropriate, permanent fix? Deleting the .umlproject file allows you back into Eclipse, but on each subsequent edit/creation of a UML diagram, the same problem recurs.
|
|
Back to top |
|
|
baegsi
Joined: 22 Nov 2004
Posts: 2
|
Posted: Mon Nov 22, 2004 9:01 am Post subject:
|
|
|
Hi,
I have the exact same problem and figured out that Java 1.5 seems to be the reason because I used the plug-in with Java 1.4.2 VM before without any trouble. I couldn't find a fix though. Hopefully an update will be available soon
|
|
Back to top |
|
|
julien
Joined: 16 Mar 2003
Posts: 157
|
Posted: Fri Nov 26, 2004 8:52 am Post subject:
|
|
|
Thanks for this information. We have recevied this report from some users. But it is very hard to reproduce it in house. We try to fix it ASAP.
julien
omondo
|
|
Back to top |
|
|
jamesdcarroll
Joined: 11 Nov 2004
Posts: 1
|
Posted: Wed Dec 22, 2004 2:28 am Post subject: It's not J5
|
|
|
I'm running JDK 142 and am getting the exact same error:
!SESSION Dec 21, 2004 21:26:30.46 ----------------------------------------------
eclipse.buildId=M
java.version=1.4.2_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!
!ENTRY com.omondo.uml.core 4 0 Dec 21, 2004 21:28:34.31
!MESSAGE
!STACK 0
java.lang.NullPointerException
at com.omondo.uml.std.k.i.long(SourceFile:551)
at com.omondo.uml.std.d.b.t.int(SourceFile:219)
at com.omondo.uml.std.d.b.t.(SourceFile:130)
at com.omondo.uml.std.d.b.h.(SourceFile:661)
at com.omondo.uml.std.d.b.i.long(SourceFile:1120)
at com.omondo.uml.std.d.b.i.(SourceFile:131)
at com.omondo.uml.std.EclipseUML2StdEdition.a(SourceFile:132)
at com.omondo.uml.b.g.a(SourceFile:229)
at com.omondo.uml.b.n.a(SourceFile:71)
at com.omondo.uml.f.c.a.b.case(SourceFile:186)
at com.omondo.uml.f.c.a.b.long(SourceFile:373)
at com.omondo.uml.f.c.l.goto(SourceFile:190)
at com.omondo.uml.f.f.l.do(SourceFile:595)
at com.omondo.uml.domain.d.if(SourceFile:777)
at com.omondo.uml.domain.d.a(SourceFile:726)
at com.omondo.uml.ui.a.ak.if(SourceFile:820)
at com.omondo.uml.ClassDiagramEditor.if(SourceFile:480)
at com.omondo.uml.ui.a.ak.setInput(SourceFile:1100)
at com.omondo.uml.ui.a.ak.init(SourceFile:1060)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:718)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:777)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:582)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:570)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2244)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2177)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:2169)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2156)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2151)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:299)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:137)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:110)
at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:164)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:150)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:212)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:289)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:490)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:429)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:427)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:635)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:731)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:211)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:206)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:238)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
_________________
This message encrypted with ROT26 for your protection
|
|
Back to top |
|
|
andim
Joined: 23 Dec 2004
Posts: 1
|
Posted: Thu Dec 23, 2004 1:18 pm Post subject:
|
|
|
Hello,
I had the same problem running eclipse 3.01 with javasdk-1.5 on WindowsXp. I fixed it by renaming ".umlproject" to "pr.umlproject" .
Good luck
|
|
Back to top |
|
|
|