Designer error occurred.

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

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

Designer error occurred.

Postby nopalot » Sat Dec 01, 2007 2:31 pm

Hello,

i'm using GWTDesiger with Eclipse 3.3.1 on Suse Linux 10.3. The latest build causes the following stacktrace if i try to open GWTDesigner.
Also, the download link to the latest (linux) release seems to be broken.
Please let me know if you have any ideas what went wrong.
Thanks for your support,
Nop.




Stack Trace:

org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

at org.eclipse.swt.SWT.error(SWT.java:3589)

at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:292)

at org.eclipse.swt.browser.Browser.<init>(Browser.java:109)

at com.instantiations.designer.gwt.moz.BrowserShell.<init>(BrowserShell.java:58)

at com.swtdesigner.gwt.support.browser.moz.GWTStateMoz.createBrowserShell(GWTStateMoz.java:46)

at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:125)

at com.swtdesigner.gwt.support.browser.moz.GWTStateMoz.<init>(GWTStateMoz.java:27)

at com.swtdesigner.gwt.support.browser.moz.BrowserSupportFactory.createState(BrowserSupportFactory.java:12)

at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1468)

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:395)

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:182)

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:64)

at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:50)

at com.swtdesigner.gwt.model.widgets.FocusWidgetInfo.<init>(FocusWidgetInfo.java:17)

at com.swtdesigner.gwt.model.widgets.button.ButtonBaseInfo.<init>(ButtonBaseInfo.java:25)

at com.swtdesigner.gwt.model.widgets.button.ButtonInfo.<init>(ButtonInfo.java:28)

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:513)

at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:152)

at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:113)

at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:96)

at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:89)

at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.endVisit(JavaInfoParser.java:1445)

at org.eclipse.jdt.core.dom.ClassInstanceCreation.accept0(ClassInstanceCreation.java:336)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)

at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2523)

at org.eclipse.jdt.core.dom.VariableDeclarationFragment.accept0(VariableDeclarationFragment.java:224)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)

at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)

at org.eclipse.jdt.core.dom.VariableDeclarationStatement.accept0(VariableDeclarationStatement.java:272)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)

at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)

at org.eclipse.jdt.core.dom.Block.accept0(Block.java:135)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)

at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2523)

at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:501)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)

at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.visit(JavaInfoParser.java:3003)

at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:466)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)

at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)

at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:213)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)

at com.swtdesigner.model.parser.JavaInfoParser.parse(JavaInfoParser.java:320)

at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1140)

at com.swtdesigner.gef.DesignerEditor$17.execute(DesignerEditor.java:1072)

at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)

at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1066)

at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1059)

at com.swtdesigner.editors.MultiPageEditor.showDesignEditor(MultiPageEditor.java:426)

at com.swtdesigner.editors.MultiPageEditor$2.widgetSelected(MultiPageEditor.java:196)

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:1101)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1125)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1110)

at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:951)

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:1101)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)

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:597)

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 stack trace (to see full context):

org.apache.commons.lang.exception.NestableError: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException

at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:119)

at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:96)

at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:89)

at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.endVisit(JavaInfoParser.java:1445)

at org.eclipse.jdt.core.dom.ClassInstanceCreation.accept0(ClassInstanceCreation.java:336)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)

at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2523)

at org.eclipse.jdt.core.dom.VariableDeclarationFragment.accept0(VariableDeclarationFragment.java:224)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)

at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)

at org.eclipse.jdt.core.dom.VariableDeclarationStatement.accept0(VariableDeclarationStatement.java:272)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)

at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)

at org.eclipse.jdt.core.dom.Block.accept0(Block.java:135)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)

at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2523)

at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:501)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)

at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.visit(JavaInfoParser.java:3003)

at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:466)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)

at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)

at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:213)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)

at com.swtdesigner.model.parser.JavaInfoParser.parse(JavaInfoParser.java:320)

at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1140)

at com.swtdesigner.gef.DesignerEditor$17.execute(DesignerEditor.java:1072)

at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)

at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1066)

at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1059)

at com.swtdesigner.editors.MultiPageEditor.showDesignEditor(MultiPageEditor.java:426)

at com.swtdesigner.editors.MultiPageEditor$2.widgetSelected(MultiPageEditor.java:196)

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:1101)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1125)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1110)

at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:951)

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:1101)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)

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:597)

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: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException

at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:160)

at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:113)

... 64 more

Caused by: java.lang.reflect.InvocationTargetException

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:513)

at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:152)

... 65 more

Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:184)

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:64)

at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:50)

at com.swtdesigner.gwt.model.widgets.FocusWidgetInfo.<init>(FocusWidgetInfo.java:17)

at com.swtdesigner.gwt.model.widgets.button.ButtonBaseInfo.<init>(ButtonBaseInfo.java:25)

at com.swtdesigner.gwt.model.widgets.button.ButtonInfo.<init>(ButtonInfo.java:28)

... 70 more

Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:401)

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:182)

... 75 more

Caused by: org.apache.commons.lang.exception.NestableError: org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:141)

at com.swtdesigner.gwt.support.browser.moz.GWTStateMoz.<init>(GWTStateMoz.java:27)

at com.swtdesigner.gwt.support.browser.moz.BrowserSupportFactory.createState(BrowserSupportFactory.java:12)

at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1468)

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:395)

... 76 more

Caused by: org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

at org.eclipse.swt.SWT.error(SWT.java:3589)

at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:292)

at org.eclipse.swt.browser.Browser.<init>(Browser.java:109)

at com.instantiations.designer.gwt.moz.BrowserShell.<init>(BrowserShell.java:58)

at com.swtdesigner.gwt.support.browser.moz.GWTStateMoz.createBrowserShell(GWTStateMoz.java:46)

at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:125)

... 80 more

nopalot
 
Posts: 11
Joined: Fri Jul 27, 2007 1:19 pm

Postby Alexander.Mitin » Sun Dec 02, 2007 5:44 am

1. Have you experienced this error after upgrading to SuSE 10.3?

2. Do you have any (Mozilla) FireFox installed? Please note that it requires the SWT Browser widget to be set up properly. See the following FAQ entry:
http://www.eclipse.org/swt/faq.php#browserlinux

3. Also, please be aware of another possible SuSE 10.3 problem, which can be solved like this:
http://download.instantiations.com/Desi ... #SuSELinux
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Postby nopalot » Tue Dec 04, 2007 12:53 pm

Hello Alexander,

thank you for the quick response. Installing xulrunner, as mentioned in the article, fixed the problem.
nopalot
 
Posts: 11
Joined: Fri Jul 27, 2007 1:19 pm

Postby Eric Clayberg » Tue Dec 04, 2007 3:09 pm

nopalot wrote:Installing xulrunner, as mentioned in the article, fixed the problem.

Very good. It is unfortunate that there is so little standardization across Linux distributions.
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 GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests