|
|
Re: Eclipse 3.4 Ganymede (J2EE) + non official VE = can't use visual plugin for [message #145377 is a reply to message #145323] |
Tue, 14 October 2008 04:22 |
Jason Kolter Messages: 15 Registered: July 2009 |
Junior Member |
|
|
I'm having the same problem as described below. I can view and edit Swing
and SWT classes, but when I try to edit or create an RCP view/editor I get
an error popup that says:
Error trying to set new file into editor.
Reason: java.lang.NullPointerException
I am using Eclipse 3.4, and I've tried to install using the "non-official"
update site, the "www.ehecht.com" method, as well as the old "Visual
Editor patched as in bug 202562" method, and the error seems to occur in
all cases.
Is anyone else having this trouble and/or aware of it?
Jachym wrote:
> Hi, i try Eclipse 3.4 Ganymede (J2EE) + VE (non official
> http://wiki.eclipse.org/VE/Update )
> But it work only half,
> -> new Visual Class
> --> RCP : not work
> --> SWT : work
> With RCP i have the same result, Eclipse
> 1/ Create new File
> 2/ Split the screen for code and preview
> 3/ The rendering fail, with a java.lang.NullPointerException
> Finaly, i did not use the graphical option of this (great and old) plugin.
> I also try this zip : http://www.ehecht.com/eclipse_ve/ve.html
> (ve_eclipse_34_200807092330_win.zip) for the same result.
> Other person are in the same case?
|
|
|
Re: Eclipse 3.4 Ganymede (J2EE) + non official VE = can't use visual plugin for [message #145385 is a reply to message #145377] |
Tue, 14 October 2008 06:35 |
Eclipse User |
|
|
|
Originally posted by: gemaspecial.yahoo.com.hk
Me 2. Same error.
java.lang.NullPointerException
at
org.eclipse.ve.internal.swt.ControlManager.refreshImage(Cont rolManager.java:934)
at
org.eclipse.ve.internal.rcp.WorkbenchPartProxyAdapter.refres hImage(WorkbenchPartProxyAdapter.java:493)
at
org.eclipse.ve.internal.cde.core.ImageFigureController.setIm ageNotifier(ImageFigureController.java:174)
at
org.eclipse.ve.internal.rcp.WorkbenchPartGraphicalEditPart.a ctivate(WorkbenchPartGraphicalEditPart.java:170)
at
org.eclipse.gef.editparts.AbstractEditPart.activate(Abstract EditPart.java:152)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.activate (AbstractGraphicalEditPart.java:193)
at
org.eclipse.ve.internal.java.core.CompositionComponentsGraph icalEditPart.activate(CompositionComponentsGraphicalEditPart .java:88)
at
org.eclipse.ve.internal.java.vce.SubclassCompositionComponen tsGraphicalEditPart.activate(SubclassCompositionComponentsGr aphicalEditPart.java:70)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.setRootModel(JavaVisualEditorPart.java:505)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.initializeViewers(JavaVisualEditorPart.java:1121)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup$2.run(JavaVisualEditorPart.java:2098)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
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:193)
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:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Jason Kolter wrote:
> I'm having the same problem as described below. I can view and edit
> Swing and SWT classes, but when I try to edit or create an RCP
> view/editor I get an error popup that says:
>
> Error trying to set new file into editor.
> Reason: java.lang.NullPointerException
>
> I am using Eclipse 3.4, and I've tried to install using the
> "non-official" update site, the "www.ehecht.com" method, as well as the
> old "Visual Editor patched as in bug 202562" method, and the error seems
> to occur in all cases.
> Is anyone else having this trouble and/or aware of it?
>
>
> Jachym wrote:
>
>> Hi, i try Eclipse 3.4 Ganymede (J2EE) + VE (non official
>> http://wiki.eclipse.org/VE/Update )
>
>> But it work only half,
>> -> new Visual Class
>> --> RCP : not work
>> --> SWT : work
>
>> With RCP i have the same result, Eclipse
>> 1/ Create new File
>> 2/ Split the screen for code and preview
>> 3/ The rendering fail, with a java.lang.NullPointerException
>
>> Finaly, i did not use the graphical option of this (great and old)
>> plugin.
>
>> I also try this zip : http://www.ehecht.com/eclipse_ve/ve.html
>> (ve_eclipse_34_200807092330_win.zip) for the same result.
>
>> Other person are in the same case?
>
>
|
|
|
|
|
Re: Eclipse 3.4 Ganymede (J2EE) + non official VE = can't use visual plugin for [message #617292 is a reply to message #145323] |
Tue, 14 October 2008 04:22 |
Jason Kolter Messages: 15 Registered: July 2009 |
Junior Member |
|
|
I'm having the same problem as described below. I can view and edit Swing
and SWT classes, but when I try to edit or create an RCP view/editor I get
an error popup that says:
Error trying to set new file into editor.
Reason: java.lang.NullPointerException
I am using Eclipse 3.4, and I've tried to install using the "non-official"
update site, the "www.ehecht.com" method, as well as the old "Visual
Editor patched as in bug 202562" method, and the error seems to occur in
all cases.
Is anyone else having this trouble and/or aware of it?
Jachym wrote:
> Hi, i try Eclipse 3.4 Ganymede (J2EE) + VE (non official
> http://wiki.eclipse.org/VE/Update )
> But it work only half,
> -> new Visual Class
> --> RCP : not work
> --> SWT : work
> With RCP i have the same result, Eclipse
> 1/ Create new File
> 2/ Split the screen for code and preview
> 3/ The rendering fail, with a java.lang.NullPointerException
> Finaly, i did not use the graphical option of this (great and old) plugin.
> I also try this zip : http://www.ehecht.com/eclipse_ve/ve.html
> (ve_eclipse_34_200807092330_win.zip) for the same result.
> Other person are in the same case?
|
|
|
Re: Eclipse 3.4 Ganymede (J2EE) + non official VE = can't use visual plugin for [message #617293 is a reply to message #145377] |
Tue, 14 October 2008 06:35 |
Leung Wang Hei Messages: 64 Registered: July 2010 |
Member |
|
|
Me 2. Same error.
java.lang.NullPointerException
at
org.eclipse.ve.internal.swt.ControlManager.refreshImage(Cont rolManager.java:934)
at
org.eclipse.ve.internal.rcp.WorkbenchPartProxyAdapter.refres hImage(WorkbenchPartProxyAdapter.java:493)
at
org.eclipse.ve.internal.cde.core.ImageFigureController.setIm ageNotifier(ImageFigureController.java:174)
at
org.eclipse.ve.internal.rcp.WorkbenchPartGraphicalEditPart.a ctivate(WorkbenchPartGraphicalEditPart.java:170)
at
org.eclipse.gef.editparts.AbstractEditPart.activate(Abstract EditPart.java:152)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.activate (AbstractGraphicalEditPart.java:193)
at
org.eclipse.ve.internal.java.core.CompositionComponentsGraph icalEditPart.activate(CompositionComponentsGraphicalEditPart .java:88)
at
org.eclipse.ve.internal.java.vce.SubclassCompositionComponen tsGraphicalEditPart.activate(SubclassCompositionComponentsGr aphicalEditPart.java:70)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.setRootModel(JavaVisualEditorPart.java:505)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.initializeViewers(JavaVisualEditorPart.java:1121)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup$2.run(JavaVisualEditorPart.java:2098)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
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:193)
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:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Jason Kolter wrote:
> I'm having the same problem as described below. I can view and edit
> Swing and SWT classes, but when I try to edit or create an RCP
> view/editor I get an error popup that says:
>
> Error trying to set new file into editor.
> Reason: java.lang.NullPointerException
>
> I am using Eclipse 3.4, and I've tried to install using the
> "non-official" update site, the "www.ehecht.com" method, as well as the
> old "Visual Editor patched as in bug 202562" method, and the error seems
> to occur in all cases.
> Is anyone else having this trouble and/or aware of it?
>
>
> Jachym wrote:
>
>> Hi, i try Eclipse 3.4 Ganymede (J2EE) + VE (non official
>> http://wiki.eclipse.org/VE/Update )
>
>> But it work only half,
>> -> new Visual Class
>> --> RCP : not work
>> --> SWT : work
>
>> With RCP i have the same result, Eclipse
>> 1/ Create new File
>> 2/ Split the screen for code and preview
>> 3/ The rendering fail, with a java.lang.NullPointerException
>
>> Finaly, i did not use the graphical option of this (great and old)
>> plugin.
>
>> I also try this zip : http://www.ehecht.com/eclipse_ve/ve.html
>> (ve_eclipse_34_200807092330_win.zip) for the same result.
>
>> Other person are in the same case?
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04480 seconds