Latest eRCP designer tab doesn't open and throws exception.

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Latest eRCP designer tab doesn't open and throws exception.

Postby arunize » Wed Feb 11, 2009 11:36 pm

Hi All,
Today I have downloaded latest eRCP designer from http://download.instantiations.com/D2eR ... 32_x86.exe

and extracted a fresh eclipse from eclipse-rcp-europa-winter-win32.zip. eRCP-v20080318-0100.win32-x86 is my eRCP runtime.

I have created an eRCP project with "Generate Sample Project". Got the project created and I have opened MyViewPart.java. My Designer window opens with exception.

this following error occurred while opening first time.
Code: Select all
WindowBuilder was not able to show GUI.

WindowBuilder internal error

WindowBuilder encountered unexpected internal error. Please contact support.

java.lang.UnsatisfiedLinkError: Platform_GetIdentifyCode



Show stack trace.
Hide stack trace.

Stack trace:
java.lang.UnsatisfiedLinkError: Platform_GetIdentifyCode
   at com.ibm.ugl.eswt.OS.Platform_GetIdentifyCode(Native Method)
   at org.eclipse.swt.internal.Platform.<clinit>(Platform.java:54)
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:261)
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:238)
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:189)
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:129)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
   at java.lang.Class.newInstance0(Class.java:350)
   at java.lang.Class.newInstance(Class.java:303)
   at com.instantiations.designer.swt.support.ContainerSupport.createShell(ContainerSupport.java:45)
   at com.instantiations.designer.ercp.model.rcp.ViewPartInfo.render(ViewPartInfo.java:52)
   at com.instantiations.designer.core.model.JavaInfoUtils$13.leaveFrame(JavaInfoUtils.java:1463)
   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:585)
   at com.instantiations.designer.core.model.broadcast.BroadcastSupport$1.intercept(BroadcastSupport.java:169)
   at com.instantiations.designer.core.model.broadcast.EvaluationEventListener$$EnhancerByCGLIB$$9ce6c341.leaveFrame(<generated>)
   at com.instantiations.designer.core.parser.JavaInfoParser$ExecutionFlowParseVisitor$1.run(JavaInfoParser.java:393)
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runRethrow(ExecutionUtils.java:64)
   at com.instantiations.designer.core.parser.JavaInfoParser$ExecutionFlowParseVisitor.leaveFrame(JavaInfoParser.java:391)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:185)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:141)
   at com.instantiations.designer.core.parser.JavaInfoParser.parseRootMethods0(JavaInfoParser.java:206)
   at com.instantiations.designer.core.parser.JavaInfoParser.access$000(JavaInfoParser.java:94)
   at com.instantiations.designer.core.parser.JavaInfoParser$1.run(JavaInfoParser.java:194)
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:87)
   at com.instantiations.designer.core.parser.JavaInfoParser.parseRootMethods(JavaInfoParser.java:192)
   at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:185)
   at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:116)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:301)
   at com.instantiations.designer.core.editor.DesignPage.access$500(DesignPage.java:42)
   at com.instantiations.designer.core.editor.DesignPage$5$1.run(DesignPage.java:238)
   at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:158)
   at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:118)
   at org.eclipse.swt.widgets.Display.syncExec(Display.java:4097)
   at com.instantiations.designer.core.editor.DesignPage$5.run(DesignPage.java:235)
   at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
   at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
   at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:256)
   at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:409)
   at com.instantiations.designer.core.editor.UndoManager.activate(UndoManager.java:77)
   at com.instantiations.designer.core.editor.DesignPage.handleActiveState_True(DesignPage.java:178)
   at com.instantiations.designer.core.editor.DesignPage.handleActiveState(DesignPage.java:165)
   at com.instantiations.designer.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:77)
   at com.instantiations.designer.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:45)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
   at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:706)
   at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3227)
   at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2005)
   at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:316)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
   at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
   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:585)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

Full context stack trace:
com.instantiations.designer.core.utils.exception.DesignerException: 0.
   at com.instantiations.designer.core.parser.JavaInfoParser.parseRootMethods0(JavaInfoParser.java:228)
   at com.instantiations.designer.core.parser.JavaInfoParser.access$000(JavaInfoParser.java:94)
   at com.instantiations.designer.core.parser.JavaInfoParser$1.run(JavaInfoParser.java:194)
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:87)
   at com.instantiations.designer.core.parser.JavaInfoParser.parseRootMethods(JavaInfoParser.java:192)
   at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:185)
   at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:116)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:301)
   at com.instantiations.designer.core.editor.DesignPage.access$500(DesignPage.java:42)
   at com.instantiations.designer.core.editor.DesignPage$5$1.run(DesignPage.java:238)
   at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:158)
   at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:118)
   at org.eclipse.swt.widgets.Display.syncExec(Display.java:4097)
   at com.instantiations.designer.core.editor.DesignPage$5.run(DesignPage.java:235)
   at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
   at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
   at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:256)
   at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:409)
   at com.instantiations.designer.core.editor.UndoManager.activate(UndoManager.java:77)
   at com.instantiations.designer.core.editor.DesignPage.handleActiveState_True(DesignPage.java:178)
   at com.instantiations.designer.core.editor.DesignPage.handleActiveState(DesignPage.java:165)
   at com.instantiations.designer.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:77)
   at com.instantiations.designer.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:45)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
   at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:706)
   at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3227)
   at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2005)
   at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:316)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
   at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
   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:585)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Caused by: org.apache.commons.lang.exception.NestableError: java.lang.reflect.InvocationTargetException
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runRethrow(ExecutionUtils.java:66)
   at com.instantiations.designer.core.parser.JavaInfoParser$ExecutionFlowParseVisitor.leaveFrame(JavaInfoParser.java:391)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:185)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:141)
   at com.instantiations.designer.core.parser.JavaInfoParser.parseRootMethods0(JavaInfoParser.java:206)
   ... 56 more
Caused by: java.lang.reflect.InvocationTargetException
   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:585)
   at com.instantiations.designer.core.model.broadcast.BroadcastSupport$1.intercept(BroadcastSupport.java:169)
   at com.instantiations.designer.core.model.broadcast.EvaluationEventListener$$EnhancerByCGLIB$$9ce6c341.leaveFrame(<generated>)
   at com.instantiations.designer.core.parser.JavaInfoParser$ExecutionFlowParseVisitor$1.run(JavaInfoParser.java:393)
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runRethrow(ExecutionUtils.java:64)
   ... 60 more
Caused by: java.lang.UnsatisfiedLinkError: Platform_GetIdentifyCode
   at com.ibm.ugl.eswt.OS.Platform_GetIdentifyCode(Native Method)
   at org.eclipse.swt.internal.Platform.<clinit>(Platform.java:54)
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:261)
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:238)
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:189)
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:129)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
   at java.lang.Class.newInstance0(Class.java:350)
   at java.lang.Class.newInstance(Class.java:303)
   at com.instantiations.designer.swt.support.ContainerSupport.createShell(ContainerSupport.java:45)
   at com.instantiations.designer.ercp.model.rcp.ViewPartInfo.render(ViewPartInfo.java:52)
   at com.instantiations.designer.core.model.JavaInfoUtils$13.leaveFrame(JavaInfoUtils.java:1463)
   ... 68 more



the following error occurred while opening the same MyViewPart.java for second and subsequent times.

Code: Select all
WindowBuilder was not able to show GUI.

WindowBuilder internal error

WindowBuilder encountered unexpected internal error. Please contact support.



Show stack trace.
Hide stack trace.

Stack trace:
java.lang.NoClassDefFoundError
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:261)
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:238)
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:189)
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:129)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
   at java.lang.Class.newInstance0(Class.java:350)
   at java.lang.Class.newInstance(Class.java:303)
   at com.instantiations.designer.swt.support.ContainerSupport.createShell(ContainerSupport.java:45)
   at com.instantiations.designer.ercp.model.rcp.ViewPartInfo.render(ViewPartInfo.java:52)
   at com.instantiations.designer.core.model.JavaInfoUtils$13.leaveFrame(JavaInfoUtils.java:1463)
   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:585)
   at com.instantiations.designer.core.model.broadcast.BroadcastSupport$1.intercept(BroadcastSupport.java:169)
   at com.instantiations.designer.core.model.broadcast.EvaluationEventListener$$EnhancerByCGLIB$$9ce6c341.leaveFrame(<generated>)
   at com.instantiations.designer.core.parser.JavaInfoParser$ExecutionFlowParseVisitor$1.run(JavaInfoParser.java:393)
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runRethrow(ExecutionUtils.java:64)
   at com.instantiations.designer.core.parser.JavaInfoParser$ExecutionFlowParseVisitor.leaveFrame(JavaInfoParser.java:391)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:185)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:141)
   at com.instantiations.designer.core.parser.JavaInfoParser.parseRootMethods0(JavaInfoParser.java:206)
   at com.instantiations.designer.core.parser.JavaInfoParser.access$000(JavaInfoParser.java:94)
   at com.instantiations.designer.core.parser.JavaInfoParser$1.run(JavaInfoParser.java:194)
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:87)
   at com.instantiations.designer.core.parser.JavaInfoParser.parseRootMethods(JavaInfoParser.java:192)
   at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:185)
   at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:116)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:301)
   at com.instantiations.designer.core.editor.DesignPage.access$500(DesignPage.java:42)
   at com.instantiations.designer.core.editor.DesignPage$5$1.run(DesignPage.java:238)
   at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:158)
   at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:118)
   at org.eclipse.swt.widgets.Display.syncExec(Display.java:4097)
   at com.instantiations.designer.core.editor.DesignPage$5.run(DesignPage.java:235)
   at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
   at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
   at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:256)
   at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:409)
   at com.instantiations.designer.core.editor.UndoManager.activate(UndoManager.java:77)
   at com.instantiations.designer.core.editor.DesignPage.handleActiveState_True(DesignPage.java:178)
   at com.instantiations.designer.core.editor.DesignPage.handleActiveState(DesignPage.java:165)
   at com.instantiations.designer.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:77)
   at com.instantiations.designer.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:45)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
   at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:706)
   at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3227)
   at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2005)
   at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:316)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
   at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
   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:585)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

Full context stack trace:
com.instantiations.designer.core.utils.exception.DesignerException: 0.
   at com.instantiations.designer.core.parser.JavaInfoParser.parseRootMethods0(JavaInfoParser.java:228)
   at com.instantiations.designer.core.parser.JavaInfoParser.access$000(JavaInfoParser.java:94)
   at com.instantiations.designer.core.parser.JavaInfoParser$1.run(JavaInfoParser.java:194)
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:87)
   at com.instantiations.designer.core.parser.JavaInfoParser.parseRootMethods(JavaInfoParser.java:192)
   at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:185)
   at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:116)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:301)
   at com.instantiations.designer.core.editor.DesignPage.access$500(DesignPage.java:42)
   at com.instantiations.designer.core.editor.DesignPage$5$1.run(DesignPage.java:238)
   at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:158)
   at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:118)
   at org.eclipse.swt.widgets.Display.syncExec(Display.java:4097)
   at com.instantiations.designer.core.editor.DesignPage$5.run(DesignPage.java:235)
   at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
   at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
   at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:256)
   at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:409)
   at com.instantiations.designer.core.editor.UndoManager.activate(UndoManager.java:77)
   at com.instantiations.designer.core.editor.DesignPage.handleActiveState_True(DesignPage.java:178)
   at com.instantiations.designer.core.editor.DesignPage.handleActiveState(DesignPage.java:165)
   at com.instantiations.designer.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:77)
   at com.instantiations.designer.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:45)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
   at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:706)
   at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3227)
   at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2005)
   at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:316)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
   at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
   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:585)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Caused by: org.apache.commons.lang.exception.NestableError: java.lang.reflect.InvocationTargetException
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runRethrow(ExecutionUtils.java:66)
   at com.instantiations.designer.core.parser.JavaInfoParser$ExecutionFlowParseVisitor.leaveFrame(JavaInfoParser.java:391)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:185)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:141)
   at com.instantiations.designer.core.parser.JavaInfoParser.parseRootMethods0(JavaInfoParser.java:206)
   ... 56 more
Caused by: java.lang.reflect.InvocationTargetException
   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:585)
   at com.instantiations.designer.core.model.broadcast.BroadcastSupport$1.intercept(BroadcastSupport.java:169)
   at com.instantiations.designer.core.model.broadcast.EvaluationEventListener$$EnhancerByCGLIB$$9ce6c341.leaveFrame(<generated>)
   at com.instantiations.designer.core.parser.JavaInfoParser$ExecutionFlowParseVisitor$1.run(JavaInfoParser.java:393)
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runRethrow(ExecutionUtils.java:64)
   ... 60 more
Caused by: java.lang.NoClassDefFoundError
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:261)
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:238)
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:189)
   at org.eclipse.swt.widgets.Shell.<init>(Shell.java:129)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
   at java.lang.Class.newInstance0(Class.java:350)
   at java.lang.Class.newInstance(Class.java:303)
   at com.instantiations.designer.swt.support.ContainerSupport.createShell(ContainerSupport.java:45)
   at com.instantiations.designer.ercp.model.rcp.ViewPartInfo.render(ViewPartInfo.java:52)
   at com.instantiations.designer.core.model.JavaInfoUtils$13.leaveFrame(JavaInfoUtils.java:1463)
   ... 68 more



What I am missing?

Regards,
-arun
arunize
 
Posts: 7
Joined: Mon Jul 28, 2008 10:46 pm
Location: Bangalore/India

Re: Latest eRCP designer tab doesn't open and throws exception.

Postby Eric Clayberg » Thu Feb 12, 2009 6:13 am

Did you copy swt-converged.dll into your /Windows/System32 directory?
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Latest eRCP designer tab doesn't open and throws exception.

Postby arunize » Thu Feb 12, 2009 7:09 am

Hi,
Yes I have copied the latest eswt-converged.dll to sys32 location. Now it's working. Earlier it's was older version's dll. So is it compulsory to change the system32's eswt-converged.dll file to the current running eRCP runtime? (What will happen if I change target platform from newer version to older version?)

Thanks for the solution.
Regards,
-arun
arunize
 
Posts: 7
Joined: Mon Jul 28, 2008 10:46 pm
Location: Bangalore/India

Re: Latest eRCP designer tab doesn't open and throws exception.

Postby Eric Clayberg » Thu Feb 12, 2009 8:25 am

The eswt-converged.dll is different with every eSWT build.

The eswt-converged.dll on your PATH must match the eSWT build that you plan to use.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests