Bug 250964 - Can't open ViewPart with Visual Editor
Summary: Can't open ViewPart with Visual Editor
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: VE (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: VE Bugzilla inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-15 11:30 EDT by Vincenzo Caselli CLA
Modified: 2011-06-13 11:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincenzo Caselli CLA 2008-10-15 11:30:09 EDT
Build ID: M20080911-1700

Steps To Reproduce:
1. install Ganymede JEE SR1
2. install plugin for Visual Editor
Note: the Eclipse VE wiki (http://wiki.eclipse.org/VE/Installing) suggests several alternative VE installations.
We tried the following. All of them have the submitted bug.
a) http://sourceforge.net/project/showfiles.php?group_id=131065&package_id=154855
b) http://www.ehecht.com/eclipse_ve/ve.html
c) Update site: http://update.soyatec.org/Ganymede/ve/1.4

3. Create a Plugin-Project with a View
4. Open the View with Visual Editor

then the error is:

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





More information: