Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF3D » Errors with GEF3D example
Errors with GEF3D example [message #563316] Tue, 10 November 2009 17:41
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.:)
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
Previous Topic:Traces
Next Topic:Errors with GEF3D example
Goto Forum:
  


Current Time: Thu Dec 18 13:39:08 GMT 2014

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

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