FAQ   Search   Memberlist   Usergroups   Statistics   Register 
 Profile   Log in to check your private messages   Log in 

Trouble getting started

 
       forum-omondo.com Forum Index -> Eclipse Support
View previous topic :: View next topic  
Author Message
dlpierson



Joined: 18 Apr 2003
Posts: 2
Location: Hudson, MA, USA

Posted: Mon Apr 21, 2003 2:30 pm    Post subject: Trouble getting started

I just installed Eclipse 2.1 and Eclipse UML 1.2.1.20030417 from the jar autoinstaller on my Gentoo Linux system using the Sun 1.4.1 jvm. I'm trying to follow the tutorial "Creating an EMF Model using a Graphical Editor" but am getting stuck at the start.

I go into the library/src/model and select New->Other from the context menu. This pops up a wizard somewhat different from the one in the tutorial -- the left options include "EMF Diagrams" and "UML Diagrams" instead of "UML". OK, that's probably the result of a newer version...

I select "EMF Diagrams" and "EMF Class Diagram" and click the highlighted Next button. An Eclipse UML splash screen pops up and goes away and I'm looking at the same wizard page with my selections and a highlighted Next button which I can click as often as I want but nothing happens.

Is there some basic configuration/install mistake I've made?
Back to top
 
docfo



Joined: 23 Apr 2003
Posts: 0
Location: Germany

Posted: Wed Apr 23, 2003 10:02 am    Post subject: Re: Trouble getting started

I got the same problem as listen below... and that trace:

D:\toto\eclipse>java -jar startup.jar -consolelog -debug
Startup: using configuration file:D:\toto\eclipse\workspace\.metadata\.config\platform.cfg
Boot URL: file:D:/toto/eclipse/plugins/org.eclipse.core.boot_2.1.0/boot.jar
Workspace location:
D:\toto\eclipse\workspace
Debug-Options:
file:D:/toto/eclipse/.options
Install URL:
file:D:/toto/eclipse/
!ENTRY org.eclipse.ui 4 4 Apr 23, 2003 11:09:53.438
!MESSAGE Unhandled exception caught in event loop.
Unhandled exception caught in event loop.
Reason:
!ENTRY org.eclipse.ui 4 0 Apr 23, 2003 11:09:53.448
!MESSAGE org/eclipse/ui/ISaveablePart
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/ui/ISaveablePart
at org.eclipse.gef.ui.parts.GraphicalEditor.createActions(GraphicalEditor.java:71)
at org.eclipse.gef.ui.parts.GraphicalEditor.initializeActionRegistry(GraphicalEditor.java:205)
at com.omondo.uml.ui.e.o.initializeActionRegistry(SourceFile:722)
at com.omondo.uml.ClassDiagramEditor.initializeActionRegistry(SourceFile:478)
at com.omondo.uml.ui.e.o.init(SourceFile:871)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:571)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:621)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:429)
at org.eclipse.ui.internal.EditorManager.openEditorFromInput(EditorManager.java:303)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:394)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1848)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1686)
at com.omondo.uml.ClassDiagramNewWizard.performFinish(SourceFile:84)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:570)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:308)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:398)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:87)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1692)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1410)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:561)
at org.eclipse.jface.window.Window.open(Window.java:541)
at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:109)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:769)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:411)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:365)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:356)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:4
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1692)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1410)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1446)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1429)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)
org/eclipse/ui/ISaveablePart

D:\toto\eclipse>

any ideas?????
Back to top
 
xavier
Site Admin


Joined: 14 Mar 2003
Posts: 76

Posted: Wed Apr 23, 2003 1:12 pm    Post subject:

Are you sure that you have installed the Eclipse 2.1 final release ?

Typically the missing Eclipse class is that kind of behaviour.

Regards.
Back to top
dlpierson



Joined: 18 Apr 2003
Posts: 2
Location: Hudson, MA, USA

Posted: Wed Apr 23, 2003 3:47 pm    Post subject: Looks to be 2.1 final to me

I just download and built it last week. It says 2.1, as
did the links I followed.

Thanks the previous reply I managed to find the workspace error log. Here's the last stack trace.

Code:

!ENTRY org.eclipse.ui 4 4 Apr 23, 2003 11:00:01.706
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Apr 23, 2003 11:00:01.707
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
   at null.null(Unknown Source)
   at com.omondo.uml.emf.d.a.g.validatePage(SourceFile:227)
   at org.eclipse.ui.dialogs.WizardNewFileCreationPage.handleEvent(WizardNewFileCreationPage.java:363)
   at org.eclipse.ui.internal.misc.ResourceAndContainerGroup.handleEvent(ResourceAndContainerGroup.java:211)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:918)
   at org.eclipse.swt.widgets.Text.gtk_changed(Text.java:801)
   at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1127)
   at org.eclipse.swt.widgets.Display.windowProc(Display.java:2074)
   at org.eclipse.swt.internal.gtk.OS.gtk_editable_insert_text(Native Method)
   at org.eclipse.swt.widgets.Text.setText(Text.java:1310)
   at org.eclipse.ui.internal.misc.ResourceAndContainerGroup.setResource(ResourceAndContainerGroup.java:250)
   at org.eclipse.ui.dialogs.WizardNewFileCreationPage.createControl(WizardNewFileCreationPage.java:150)
   at com.omondo.uml.emf.d.a.g.createControl(SourceFile:355)
   at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:948)
   at org.eclipse.jface.wizard.WizardDialog.access$100(WizardDialog.java:49)
   at org.eclipse.jface.wizard.WizardDialog$3.run(WizardDialog.java:929)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
   at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:926)
   at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:684)
   at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
   at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
   at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
   at org.eclipse.jface.window.Window.open(Window.java:563)
   at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:136)
   at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
   at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
   at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
   at org.eclipse.jface.action.ActionContributionItem.access$000(ActionContributionItem.java:44)
   at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1429)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
   at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
   at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
   at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:40)
   at java.lang.reflect.Method.invoke(Method.java:335)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
   at org.eclipse.core.launcher.Main.run(Main.java:747)
   at org.eclipse.core.launcher.Main.main(Main.java:583)
[/quote][/code]
Back to top
 
BlueBus



Joined: 03 May 2003
Posts: 1

Posted: Sat May 03, 2003 12:49 am    Post subject:

Same here, did anybody manage to start the tool ?
_________________
Gonçalo Luiz
IST, Lisboa, Portugal
Back to top
 
jonny



Joined: 28 Apr 2003
Posts: 1

Posted: Sun May 04, 2003 7:28 pm    Post subject: EMF linux and Omondo

Hello Bluebus,

I think that thousands of users succeeded to install EclipseUML.
EMF changed and Omondo is still up to date. Great job

Jonny
Back to top
 
digedag



Joined: 04 Jun 2003
Posts: 1

Posted: Wed Jun 04, 2003 8:18 am    Post subject:

I got the same problem using Eclipse 2.1 Final and EclipseUML 1.2.1
This error occurs only if you try to create an uml diagram in a simple project. Use a Java project instead and everything works fine.

Hope this helps!
Back to top
 
ajkret



Joined: 05 Jun 2003
Posts: 1

Posted: Thu Jun 05, 2003 5:05 pm    Post subject: The problem is the MD5 Eclipse Version.

I think I discovered the cause.

First, my environment:

-Windows 2000;
-Eclipse 2.1 MD5
-EclipseUML 1.2.1

The log file:

!SESSION Jun 05, 2003 11:29:54.272 ---------------------------------------------
java.version=1.4.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
Command-line arguments: -os win32 -ws win32 -arch x86 -data workspace/j2ee -install file:C:/Arquivos de programas/eclipse/
!ENTRY org.eclipse.jface 4 2 Jun 05, 2003 11:29:54.272
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/ui/ISaveablePart
at org.eclipse.gef.ui.parts.GraphicalEditor.createActions(GraphicalEditor.java:71)
at org.eclipse.gef.ui.parts.GraphicalEditor.initializeActionRegistry(GraphicalEditor.java:205)
at com.omondo.uml.ui.e.o.initializeActionRegistry(SourceFile:722)
at com.omondo.uml.emf.ClassDiagramEditor.initializeActionRegistry(SourceFile:1045)
at com.omondo.uml.ui.e.o.init(SourceFile:871)
at com.omondo.uml.emf.ClassDiagramEditor.init(SourceFile:996)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:575)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:637)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:430)
at org.eclipse.ui.internal.EditorManager.openEditorFromInput(EditorManager.java:304)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:395)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1990)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1844)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:90)
at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:90)
at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:110)
at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:243)
at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:536)
at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:308)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:397)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:867)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:395)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:602)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:689)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:203)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:198)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:836)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1692)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1410)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1289)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1272)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)

Then I install de Eclipse 2.1 version NOT MD5 and the problem has gone. That class mentioned, org/eclipse/ui/ISaveablePart, is not part of the workbench.jar from the eclipse\plugins\org.eclipse.ui.workbench_2.1.0 directory.

_________________
Adriano Kretschmer
Back to top
 
Display posts from previous:   
       forum-omondo.com Forum Index -> Eclipse Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB 2.0.11 © 2001, 2002 phpBB Group