Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [ve-dev] Can't open ViewPart and EditorPart due toNullPointerException

This seems to correspond to bug # 239736 and I've added a comment to that report to include the 1.4 version as well.

I would also be interested in helping to patch it if needed, but would need a starting point as well.
 
Jason Kolter
 
 
----------------------------------------
 
 
Please fill a bug in https://bugs.eclipse.org/bugs/

 

Best regards

Yves YANG


From: ve-dev-bounces@xxxxxxxxxxx [mailto:ve-dev-bounces@xxxxxxxxxxx] On Behalf Of Vincenzo Caselli
Sent: Tuesday, October 14, 2008 7:50 PM
To: Discussions people developing code for the Visual Editor project
Subject: Re: [ve-dev] Can't open ViewPart and EditorPart due toNullPointerException

 

Every time we make a brand new installation of Ganymede JEE SR1 with a new workspace.

On Tue, Oct 14, 2008 at 7:41 PM, Nicolas DRUT <nicolas.drut@xxxxxxxxx> wrote:

Try to clear your workspace (save your project(s) in another folder before ;-) )

Chears
ND.

2008/10/14 Vincenzo Caselli <info@xxxxxxxxxx>

We too have the same problem.
To be precise, the error stack trace is enclosed below.
Please note that the same behaviour occours for each out of the three VE installations proposed at the VE wiki (http://wiki.eclipse.org/VE/Installing)
1) http://sourceforge.net/project/showfiles.php?group_id=131065&package_id=154855
2) http://www.ehecht.com/eclipse_ve/ve.html
3) Update site: http://update.soyatecorg/Ganymede/ve/1.4

Anyone can help?
Thank you
Vincenzo Caselli


org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
    at org.eclipse.swt.SWT.error(SWT.java:3777)
    at org.eclipse.swt.SWT.error(SWT.java:3695)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    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(Workbench.java:488)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.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(EclipseStarter.java:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:597)
    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)
Caused by: java.lang.NullPointerException
    at org.eclipse.ve.internal.swt.ControlManager.refreshImage(ControlManager.java:934)
    at org.eclipse.ve.internal.rcp.WorkbenchPartProxyAdapter.refreshImage(WorkbenchPartProxyAdapter.java:493)
    at org.eclipse.ve.internal.cde.core.ImageFigureController.setImageNotifier(ImageFigureController.java:174)
    at org.eclipse.ve.internal.rcp.WorkbenchPartGraphicalEditPart.activate(WorkbenchPartGraphicalEditPart.java:170)
    at org.eclipse.gef.editparts.AbstractEditPart.activate(AbstractEditPart.java:152)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.activate(AbstractGraphicalEditPart.java:193)
    at org.eclipse.ve.internal.java.core.CompositionComponentsGraphicalEditPart.activate(CompositionComponentsGraphicalEditPart.java:88)
    at org.eclipse.ve.internal.java.vce.SubclassCompositionComponentsGraphicalEditPart.activate(SubclassCompositionComponentsGraphicalEditPart.java:70)
    at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEditorPart.setRootModel(JavaVisualEditorPart.java:505)
    at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEditorPart.initializeViewers(JavaVisualEditorPart.java:1121)
    at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEditorPart$Setup$2.run(JavaVisualEditorPart.java:2098)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
    ... 23 more




Hello,


I'm using Eclipse 3.4 with VE, but opening ViewParts and EditorParts doesn't work. I spent a lot of hours trying to fix the problem, but debugging a multi VM application with multiple threads is not easy :-(.

Does anyone have a clue, what might cause the occuring NullPointerException, or on which part I should concentrate to find the bug? It must be an incompatibility issue with Eclipse 3.4, I think. Does anyone know, which change in Eclipse 3.4 might cause this effect?

I really would like to fix this bug and contribute the patch.

 

Cheers,

 

 

_______________________________________________
ve-dev mailing list
ve-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ve-dev

 


_______________________________________________
ve-dev mailing list
ve-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ve-dev


Back to the top