Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Eclipse 3.4 Ganymede (J2EE) + non official VE = can't use visual plugin for RCP
Eclipse 3.4 Ganymede (J2EE) + non official VE = can't use visual plugin for RCP [message #145323] Fri, 12 September 2008 14:30 Go to next message
Eclipse UserFriend
Originally posted by: sjachym.navista.fr

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 RCP [message #145329 is a reply to message #145323] Wed, 17 September 2008 06:14 Go to previous messageGo to next message
Dave Hewitson is currently offline Dave HewitsonFriend
Messages: 56
Registered: July 2009
Member
I have a similar problem, I am unable to create/modify any class extending
ViewPart.

I'd really like to know if this is a known problem or whether it may be
down to a setup issue?

TIA

Dave
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 Go to previous messageGo to next message
Jason Kolter is currently offline Jason KolterFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #145406 is a reply to message #145385] Wed, 29 October 2008 09:07 Go to previous message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
Leung Wang Hei wrote:
> Me 2. Same error.
>
> java.lang.NullPointerException
> at
> org.eclipse.ve.internal.swt.ControlManager.refreshImage(Cont rolManager.java:934)

Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=239736

Regards,
Rem
Re: Eclipse 3.4 Ganymede (J2EE) + non official VE = can't use visual plugin for RCP [message #617278 is a reply to message #145323] Wed, 17 September 2008 06:14 Go to previous message
Dave Hewitson is currently offline Dave HewitsonFriend
Messages: 56
Registered: July 2009
Member
I have a similar problem, I am unable to create/modify any class extending
ViewPart.

I'd really like to know if this is a known problem or whether it may be
down to a setup issue?

TIA

Dave
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 Go to previous message
Jason Kolter is currently offline Jason KolterFriend
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 Go to previous message
Leung Wang Hei is currently offline Leung Wang HeiFriend
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?
>
>
Re: Eclipse 3.4 Ganymede (J2EE) + non official VE = can't use visual plugin for [message #617295 is a reply to message #145385] Wed, 29 October 2008 09:07 Go to previous message
Eclipse UserFriend
Originally posted by: remy.suen.gmail.com

Leung Wang Hei wrote:
> Me 2. Same error.
>
> java.lang.NullPointerException
> at
> org.eclipse.ve.internal.swt.ControlManager.refreshImage(Cont rolManager.java:934)

Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=239736

Regards,
Rem
Previous Topic:IVEContributor1 pallete erasing problem
Next Topic:Eclipse view plugin: swing problem
Goto Forum:
  


Current Time: Thu Apr 25 09:16:29 GMT 2024

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

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

Back to the top