Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GEF3D » Errors with GEF3D example
Errors with GEF3D example [message #496630] Tue, 10 November 2009 17:41 Go to next message
Joe is currently offline JoeFriend
Messages: 9
Registered: July 2009
Junior Member
Hi,

I was known GEF3D yesterday, and found it is really amazing!
I checked all the GEF3D materials that I can got, and I known there is no offical release till now, but I still can't wait to work with it.Smile
I set up the environment according to "http://wiki.eclipse.org/GEF3D_Installation", but I cannot make the examples work, here is the problem, hope somebody could help me, thank you in advance!


My Environment is HP 6510B laptop, and Vista Ultimate OS.
Steps:
1. Download "eclipse-modeling-galileo-SR1-incubation-win32.zip"
2. Checkout the projects(svn://dev.eclipse.org/svnroot/technology/org.eclipse.gef3d) and install "WJGL"
3. run as "Eclipse Application", then New->Examples->GEF3D Examples->GEF3D Graph Example Model, new a "test.G3D_graph" file with default settings.
4. Error occurs when open this file:
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at org.eclipse.draw3d.graphics3d.lwjgl.Graphics3DLwjgl.setPrope rty(Graphics3DLwjgl.java:750)
at org.eclipse.draw3d.LightweightSystem3D.setFontAntialias(Ligh tweightSystem3D.java:941)
at org.eclipse.draw3d.ui.preferences.ScenePreferenceDistributor .setSceneFontAntialias(ScenePreferenceDistributor.java:141)
at org.eclipse.draw3d.ui.preferences.ScenePreferenceDistributor .init(ScenePreferenceDistributor.java:99)
at org.eclipse.draw3d.ui.preferences.Draw3DPreferenceDistributo r.start(Draw3DPreferenceDistributor.java:52)
at org.eclipse.gef3d.ui.parts.GraphicalEditor3DWithPalette.doRe gisterToScene(GraphicalEditor3DWithPalette.java:131)
at org.eclipse.gef3d.ui.parts.GraphicalEditor3DWithPalette.crea teGraphicalViewer(GraphicalEditor3DWithPalette.java:71)
at org.eclipse.gef.ui.parts.GraphicalEditorWithPalette.createPa rtControl(GraphicalEditorWithPalette.java:62)
at org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:662)
at org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:462)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:595)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:286)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2857)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2762)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPag e.java:2754)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2705)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2701)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2685)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2668)
at org.eclipse.gef3d.examples.graph.editor.wizard.GraphWizard.p erformFinish(GraphWizard.java:223)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:752)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:373)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHa ndler(WizardHandler.java:253)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(Wizar dHandler.java:273)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:294)
at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(C ommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
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.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
5. Error will also ocurr when I new a file with .umlclass or .G3D_multi extension.(Attached detailed log)


Do you have any idea? Could you tell me what is the correct way to play with org.eclipse.gef3d.examples.ecore, graph and uml2?
Any help will be highly appriciated!


Joe

[Updated on: Tue, 10 November 2009 17:41]

Report message to a moderator

Re: Errors with GEF3D example [message #496631 is a reply to message #496630] Tue, 10 November 2009 17:48 Go to previous messageGo to next message
Joe is currently offline JoeFriend
Messages: 9
Registered: July 2009
Junior Member
Attach the file
Re: Errors with GEF3D example [message #496690 is a reply to message #496630] Tue, 10 November 2009 23:00 Go to previous messageGo to next message
Kristian Duske is currently offline Kristian DuskeFriend
Messages: 64
Registered: July 2009
Member
Hi Joe,

that is not your fault. I think I have introduced that bug. It's fixed
in an experimental branch and I will merge the fix into HEAD tomorrow.
Sorry about the inconvenience!

Best regards
Kristian
Re: Errors with GEF3D example [message #496700 is a reply to message #496690] Wed, 11 November 2009 03:17 Go to previous messageGo to next message
Joe is currently offline JoeFriend
Messages: 9
Registered: July 2009
Junior Member

Thank you for your reply.

I've tried to find everything about GEF3D, just known there is an Germany article "GEF goes 3D" and 3 example codes, is there any other material I missed?

I really like this project, the only obstacle for GEF3D starter to explore is lacking of tutorials and do not know the correct way to play with the examples?
Re: Errors with GEF3D example [message #496747 is a reply to message #496700] Wed, 11 November 2009 09:22 Go to previous messageGo to next message
Jens von Pilgrim is currently offline Jens von PilgrimFriend
Messages: 313
Registered: July 2009
Senior Member
On 2009-11-11 04:17:19 +0100, Joe <xujun0124@googlemail.com> said:
> I've tried to find everything about GEF3D, just known there is an
> Germany article "GEF goes 3D" and 3 example codes, is there any other
> material I missed?

There are some research papers, listed on the "Documentation" page
(http://www.eclipse.org/gef3d/website/docs/index.php ). I'm currently
working on the english version of the german tutorial article and I
hope it will be publicly available, soon.

Cheers

Jens
Re: Errors with GEF3D example [message #496757 is a reply to message #496630] Wed, 11 November 2009 10:04 Go to previous messageGo to next message
Kristian Duske is currently offline Kristian DuskeFriend
Messages: 64
Registered: July 2009
Member
Hi again,

the problem is now fixed. You should update org.eclipse.draw3d.lwjgl.
Sorry again!

Best regards
Kristian
Re: Errors with GEF3D example [message #496914 is a reply to message #496757] Wed, 11 November 2009 17:52 Go to previous messageGo to next message
Joe is currently offline JoeFriend
Messages: 9
Registered: July 2009
Junior Member
Yes, it works! Thank you.
By the way, I tried to open .umlclass file with 3D editor just returned an empy 3D editor, and seems cannot drag and drop the the other uml diagram to the 3D editor...

[Updated on: Thu, 12 November 2009 02:49]

Report message to a moderator

Re: Errors with GEF3D example [message #497033 is a reply to message #496914] Thu, 12 November 2009 10:33 Go to previous message
Jens von Pilgrim is currently offline Jens von PilgrimFriend
Messages: 313
Registered: July 2009
Senior Member
On 2009-11-11 18:52:24 +0100, Joe <xujun0124@googlemail.com> said:

> Yes, it works! Thank you.
> By the way, I just know how to play with "graph" example, does anybody
> know how to play with "uml2" and "ecore" examples?

First of all, you need to install the UML2 Tools and the Ecore Tools.
That is, you should be able to create and edit UML diagrams and ecore
diagrams with the 2D editors (*.umlclass, *.umlusc, *.umlact,
*.ecorediag). Is that working? If so, you can now simply open these
diagrams with the 3D editors. For that, select "Open With" from the
context menu of the diagram files and choose a 3D editor, e.g. "UML
Tools Class Editor 3D". If you open a diagram with the "Multi Editor
3D", you should even be able to simply drag and drop other diagrams
onto the 3D scene, they will then be opened behind currently opened
diagram planes.
The 3D editors are more or less fully functional, we haven't integrated
context menus yet and there maybe the one or other feature missing.

Cheers,

Jens
Re: Errors with GEF3D example [message #563342 is a reply to message #496630] Tue, 10 November 2009 17:48 Go to previous message
Joe is currently offline JoeFriend
Messages: 9
Registered: July 2009
Junior Member
Attach the file
Re: Errors with GEF3D example [message #563364 is a reply to message #496630] Tue, 10 November 2009 23:00 Go to previous message
Kristian Duske is currently offline Kristian DuskeFriend
Messages: 64
Registered: July 2009
Member
Hi Joe,

that is not your fault. I think I have introduced that bug. It's fixed
in an experimental branch and I will merge the fix into HEAD tomorrow.
Sorry about the inconvenience!

Best regards
Kristian
Re: Errors with GEF3D example [message #563386 is a reply to message #496690] Wed, 11 November 2009 03:17 Go to previous message
Joe is currently offline JoeFriend
Messages: 9
Registered: July 2009
Junior Member
Thank you for your reply.

I've tried to find everything about GEF3D, just known there is an Germany article "GEF goes 3D" and 3 example codes, is there any other material I missed?

I really like this project, the only obstacle for GEF3D starter to explore is lacking of tutorials and do not know the correct way to play with the examples?
Re: Errors with GEF3D example [message #563410 is a reply to message #563386] Wed, 11 November 2009 09:22 Go to previous message
Jens von Pilgrim is currently offline Jens von PilgrimFriend
Messages: 313
Registered: July 2009
Senior Member
On 2009-11-11 04:17:19 +0100, Joe <xujun0124@googlemail.com> said:
> I've tried to find everything about GEF3D, just known there is an
> Germany article "GEF goes 3D" and 3 example codes, is there any other
> material I missed?

There are some research papers, listed on the "Documentation" page
(http://www.eclipse.org/gef3d/website/docs/index.php ). I'm currently
working on the english version of the german tutorial article and I
hope it will be publicly available, soon.

Cheers

Jens
Re: Errors with GEF3D example [message #563433 is a reply to message #496630] Wed, 11 November 2009 10:04 Go to previous message
Kristian Duske is currently offline Kristian DuskeFriend
Messages: 64
Registered: July 2009
Member
Hi again,

the problem is now fixed. You should update org.eclipse.draw3d.lwjgl.
Sorry again!

Best regards
Kristian
Re: Errors with GEF3D example [message #563455 is a reply to message #496757] Wed, 11 November 2009 17:52 Go to previous message
Joe is currently offline JoeFriend
Messages: 9
Registered: July 2009
Junior Member
Yes, it works! Thank you.
By the way, I just know how to play with "graph" example, does anybody know how to play with "uml2" and "ecore" examples?
Re: Errors with GEF3D example [message #563481 is a reply to message #563455] Thu, 12 November 2009 10:33 Go to previous message
Jens von Pilgrim is currently offline Jens von PilgrimFriend
Messages: 313
Registered: July 2009
Senior Member
On 2009-11-11 18:52:24 +0100, Joe <xujun0124@googlemail.com> said:

> Yes, it works! Thank you.
> By the way, I just know how to play with "graph" example, does anybody
> know how to play with "uml2" and "ecore" examples?

First of all, you need to install the UML2 Tools and the Ecore Tools.
That is, you should be able to create and edit UML diagrams and ecore
diagrams with the 2D editors (*.umlclass, *.umlusc, *.umlact,
*.ecorediag). Is that working? If so, you can now simply open these
diagrams with the 3D editors. For that, select "Open With" from the
context menu of the diagram files and choose a 3D editor, e.g. "UML
Tools Class Editor 3D". If you open a diagram with the "Multi Editor
3D", you should even be able to simply drag and drop other diagrams
onto the 3D scene, they will then be opened behind currently opened
diagram planes.
The 3D editors are more or less fully functional, we haven't integrated
context menus yet and there maybe the one or other feature missing.

Cheers,

Jens
Previous Topic:Errors with GEF3D example
Next Topic:Re: GEF3D
Goto Forum:
  


Current Time: Fri Mar 29 00:03:47 GMT 2024

Powered by FUDForum. Page generated in 0.04468 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top