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
by patrickwynne » Tue Feb 03, 2009 9:22 am
Hi new user. I upgraded from the trial to registered and now get the following error trace:
Plug-in Provider: Instantiations
Plug-in Name: GWT Designer Subscription
Plug-in ID: com.swtdesigner
Plug-in Version: 6.9.0.200902030624
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at com.swtdesigner.gwt.loader.JarFileLoader.<init>(JarFileLoader.java:38)
at com.swtdesigner.gwt.loader.GWTClassLoader.<init>(GWTClassLoader.java:43)
at com.swtdesigner.gwt.loader.GWTClassLoaderProvider.<init>(GWTClassLoaderProvider.java:60)
at com.swtdesigner.gwt.model.widgets.support.GWTState.getSharedClassLoader(GWTState.java:546)
at com.swtdesigner.gwt.model.widgets.support.GWTState.accept(GWTState.java:1742)
at com.swtdesigner.gwt.model.widgets.support.GWTState.getCSSDeclarations(GWTState.java:300)
at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:130)
at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1875)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:429)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:191)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:68)
at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:56)
at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.<init>(AbstractContainerInfo.java:37)
at com.swtdesigner.gwt.model.widgets.panel.PanelInfo.<init>(PanelInfo.java:25)
at com.swtdesigner.gwt.model.widgets.panel.ComplexPanelInfo.<init>(ComplexPanelInfo.java:26)
at com.swtdesigner.gwt.model.widgets.panel.CellPanelInfo.<init>(CellPanelInfo.java:20)
at com.swtdesigner.gwt.model.widgets.panel.HorizontalPanelInfo.<init>(HorizontalPanelInfo.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:494)
at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:163)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:114)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:97)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:90)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.endVisit(JavaInfoParser.java:1478)
at org.eclipse.jdt.core.dom.ClassInstanceCreation.accept0(ClassInstanceCreation.java:337)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2525)
at org.eclipse.jdt.core.dom.VariableDeclarationFragment.accept0(VariableDeclarationFragment.java:225)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)
at org.eclipse.jdt.core.dom.VariableDeclarationStatement.accept0(VariableDeclarationStatement.java:273)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:136)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2525)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:502)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.visit(JavaInfoParser.java:3145)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:467)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:214)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at com.swtdesigner.model.parser.JavaInfoParser.parse(JavaInfoParser.java:323)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1204)
at com.swtdesigner.gef.DesignerEditor.refreshDesignView(DesignerEditor.java:1290)
at com.swtdesigner.gef.DesignerEditor$15.widgetSelected(DesignerEditor.java:1013)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
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: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)
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:120)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:97)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:90)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.endVisit(JavaInfoParser.java:1478)
at org.eclipse.jdt.core.dom.ClassInstanceCreation.accept0(ClassInstanceCreation.java:337)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2525)
at org.eclipse.jdt.core.dom.VariableDeclarationFragment.accept0(VariableDeclarationFragment.java:225)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)
at org.eclipse.jdt.core.dom.VariableDeclarationStatement.accept0(VariableDeclarationStatement.java:273)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:136)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2525)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:502)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.visit(JavaInfoParser.java:3145)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:467)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:214)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at com.swtdesigner.model.parser.JavaInfoParser.parse(JavaInfoParser.java:323)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1204)
at com.swtdesigner.gef.DesignerEditor.refreshDesignView(DesignerEditor.java:1290)
at com.swtdesigner.gef.DesignerEditor$15.widgetSelected(DesignerEditor.java:1013)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
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: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)
Caused by: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException
at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:171)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:114)
... 52 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:494)
at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:163)
... 53 more
Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: Can not open file |/home/pwynne/Projects/yell/MMS/services/ContentRepositoryService/ejb-interface/target/test-classes|
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:193)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:68)
at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:56)
at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.<init>(AbstractContainerInfo.java:37)
at com.swtdesigner.gwt.model.widgets.panel.PanelInfo.<init>(PanelInfo.java:25)
at com.swtdesigner.gwt.model.widgets.panel.ComplexPanelInfo.<init>(ComplexPanelInfo.java:26)
at com.swtdesigner.gwt.model.widgets.panel.CellPanelInfo.<init>(CellPanelInfo.java:20)
at com.swtdesigner.gwt.model.widgets.panel.HorizontalPanelInfo.<init>(HorizontalPanelInfo.java:28)
... 58 more
Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: Can not open file |/home/pwynne/Projects/yell/MMS/services/ContentRepositoryService/ejb-interface/target/test-classes|
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:436)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:191)
... 65 more
Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: Can not open file |/home/pwynne/Projects/yell/MMS/services/ContentRepositoryService/ejb-interface/target/test-classes|
at com.swtdesigner.gwt.loader.GWTClassLoaderProvider.<init>(GWTClassLoaderProvider.java:62)
at com.swtdesigner.gwt.model.widgets.support.GWTState.getSharedClassLoader(GWTState.java:546)
at com.swtdesigner.gwt.model.widgets.support.GWTState.accept(GWTState.java:1742)
at com.swtdesigner.gwt.model.widgets.support.GWTState.getCSSDeclarations(GWTState.java:300)
at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:130)
at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1875)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:429)
... 66 more
Caused by: org.apache.commons.lang.exception.NestableError: Can not open file |/home/pwynne/Projects/yell/MMS/services/ContentRepositoryService/ejb-interface/target/test-classes|
at com.swtdesigner.gwt.loader.JarFileLoader.<init>(JarFileLoader.java:40)
at com.swtdesigner.gwt.loader.GWTClassLoader.<init>(GWTClassLoader.java:43)
at com.swtdesigner.gwt.loader.GWTClassLoaderProvider.<init>(GWTClassLoaderProvider.java:60)
... 72 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at com.swtdesigner.gwt.loader.JarFileLoader.<init>(JarFileLoader.java:38)
... 74 more
Designer Configuration Details:
Product: GWT Designer Subscription
Version: 6.9.0.200902030624
Expected: Eclipse 3.4
Actual: Eclipse 3.4.0.v20080512
Actual Eclipse Build Name:
Actual Eclipse Build ID: M20080709-0800
IDE Actual Name: Eclipse
IDE Actual Version: 3.3.101.v200809111700
IDE Actual NL: en_US
Serial Number: GWTDesignerSubscription-03500-5054
Activation Key: GWTDesignerSubscription-3P0UH-FM1AZ-B6E9D
Physical Address: 00-E0-4D-30-8D-67
Code Gen: Flat Mode, Use Existing, First Assignment, Make Final
Events: Anonymous Class
GWT Home: /home/pwynne/gwt-linux-1.5.3
Platform Product: Eclipse
Platform Version: 3.3.101.v200809111700
OS Name: Linux
OS Architecture: i386
OS Version: 2.6.24-23-generic
-
patrickwynne
-
- Posts: 4
- Joined: Tue Feb 03, 2009 9:17 am
by patrickwynne » Tue Feb 03, 2009 11:13 am
I got it to work somehow....
-
patrickwynne
-
- Posts: 4
- Joined: Tue Feb 03, 2009 9:17 am
by Eric Clayberg » Tue Feb 03, 2009 2:29 pm
Glad its working for you.
-
Eric Clayberg
- Moderator
-
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
-
by patrickwynne » Fri Feb 06, 2009 9:32 am
I only wish it would work dependably for me. Sometimes the designer view will activate, but the majority of times it throws the following error:
Plug-in Provider: Instantiations
Plug-in Name: GWT Designer Subscription
Plug-in ID: com.swtdesigner
Plug-in Version: 6.9.0.200902030624
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at com.swtdesigner.gwt.loader.JarFileLoader.<init>(JarFileLoader.java:38)
at com.swtdesigner.gwt.loader.GWTClassLoader.<init>(GWTClassLoader.java:43)
at com.swtdesigner.gwt.loader.GWTClassLoaderProvider.<init>(GWTClassLoaderProvider.java:60)
at com.swtdesigner.gwt.model.widgets.support.GWTState.getSharedClassLoader(GWTState.java:546)
at com.swtdesigner.gwt.model.widgets.support.GWTState.accept(GWTState.java:1742)
at com.swtdesigner.gwt.model.widgets.support.GWTState.getCSSDeclarations(GWTState.java:300)
at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:130)
at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1875)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:429)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:191)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:68)
at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:56)
at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.<init>(AbstractContainerInfo.java:37)
at com.swtdesigner.gwt.model.widgets.panel.PanelInfo.<init>(PanelInfo.java:25)
at com.swtdesigner.gwt.model.widgets.panel.ComplexPanelInfo.<init>(ComplexPanelInfo.java:26)
at com.swtdesigner.gwt.model.widgets.panel.AbsolutePanelInfo.<init>(AbsolutePanelInfo.java:36)
at com.swtdesigner.gwt.model.widgets.panel.RootPanelInfo.<init>(RootPanelInfo.java:23)
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 com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:163)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:114)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:97)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:90)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.isComponentCreation(JavaInfoParser.java:3924)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.endVisit(JavaInfoParser.java:1945)
at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:247)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2525)
at org.eclipse.jdt.core.dom.VariableDeclarationFragment.accept0(VariableDeclarationFragment.java:225)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)
at org.eclipse.jdt.core.dom.VariableDeclarationStatement.accept0(VariableDeclarationStatement.java:273)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:136)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2525)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:502)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.visit(JavaInfoParser.java:3145)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:467)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:214)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at com.swtdesigner.model.parser.JavaInfoParser.parse(JavaInfoParser.java:323)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1204)
at com.swtdesigner.gef.DesignerEditor.refreshDesignView(DesignerEditor.java:1290)
at com.swtdesigner.gef.DesignerEditor$15.widgetSelected(DesignerEditor.java:1013)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
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: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)
Full stack trace (to see full context):
org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.isComponentCreation(JavaInfoParser.java:3935)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.endVisit(JavaInfoParser.java:1945)
at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:247)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2525)
at org.eclipse.jdt.core.dom.VariableDeclarationFragment.accept0(VariableDeclarationFragment.java:225)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)
at org.eclipse.jdt.core.dom.VariableDeclarationStatement.accept0(VariableDeclarationStatement.java:273)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:136)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2525)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:502)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.visit(JavaInfoParser.java:3145)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:467)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:214)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)
at com.swtdesigner.model.parser.JavaInfoParser.parse(JavaInfoParser.java:323)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1204)
at com.swtdesigner.gef.DesignerEditor.refreshDesignView(DesignerEditor.java:1290)
at com.swtdesigner.gef.DesignerEditor$15.widgetSelected(DesignerEditor.java:1013)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
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: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)
Caused by: org.apache.commons.lang.exception.NestableError: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:120)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:97)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:90)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.isComponentCreation(JavaInfoParser.java:3924)
... 50 more
Caused by: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException
at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:171)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:114)
... 53 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:494)
at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:163)
... 54 more
Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: Can not open file |/home/pwynne/Projects/yell/MMS/services/ContentRepositoryService/ejb-interface/target/test-classes|
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:193)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:68)
at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:56)
at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.<init>(AbstractContainerInfo.java:37)
at com.swtdesigner.gwt.model.widgets.panel.PanelInfo.<init>(PanelInfo.java:25)
at com.swtdesigner.gwt.model.widgets.panel.ComplexPanelInfo.<init>(ComplexPanelInfo.java:26)
at com.swtdesigner.gwt.model.widgets.panel.AbsolutePanelInfo.<init>(AbsolutePanelInfo.java:36)
at com.swtdesigner.gwt.model.widgets.panel.RootPanelInfo.<init>(RootPanelInfo.java:23)
... 59 more
Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: Can not open file |/home/pwynne/Projects/yell/MMS/services/ContentRepositoryService/ejb-interface/target/test-classes|
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:436)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:191)
... 66 more
Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: Can not open file |/home/pwynne/Projects/yell/MMS/services/ContentRepositoryService/ejb-interface/target/test-classes|
at com.swtdesigner.gwt.loader.GWTClassLoaderProvider.<init>(GWTClassLoaderProvider.java:62)
at com.swtdesigner.gwt.model.widgets.support.GWTState.getSharedClassLoader(GWTState.java:546)
at com.swtdesigner.gwt.model.widgets.support.GWTState.accept(GWTState.java:1742)
at com.swtdesigner.gwt.model.widgets.support.GWTState.getCSSDeclarations(GWTState.java:300)
at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:130)
at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1875)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:429)
... 67 more
Caused by: org.apache.commons.lang.exception.NestableError: Can not open file |/home/pwynne/Projects/yell/MMS/services/ContentRepositoryService/ejb-interface/target/test-classes|
at com.swtdesigner.gwt.loader.JarFileLoader.<init>(JarFileLoader.java:40)
at com.swtdesigner.gwt.loader.GWTClassLoader.<init>(GWTClassLoader.java:43)
at com.swtdesigner.gwt.loader.GWTClassLoaderProvider.<init>(GWTClassLoaderProvider.java:60)
... 73 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at com.swtdesigner.gwt.loader.JarFileLoader.<init>(JarFileLoader.java:38)
... 75 more
Designer Configuration Details:
Product: GWT Designer Subscription
Version: 6.9.0.200902030624
Expected: Eclipse 3.4
Actual: Eclipse 3.4.0.v20080512
Actual Eclipse Build Name:
Actual Eclipse Build ID: M20080709-0800
IDE Actual Name: Eclipse
IDE Actual Version: 3.3.101.v200809111700
IDE Actual NL: en_US
Serial Number: GWTDesignerSubscription-03500-5054
Activation Key: GWTDesignerSubscription-3P0UH-FM1AZ-B6E9D
Physical Address: 00-E0-4D-30-8D-67
Code Gen: Flat Mode, Use Existing, First Assignment, Make Final
Events: Anonymous Class
GWT Home: /home/pwynne/gwt-linux-1.5.3
Platform Product: Eclipse
Platform Version: 3.3.101.v200809111700
OS Name: Linux
OS Architecture: i386
OS Version: 2.6.24-23-generic
-
patrickwynne
-
- Posts: 4
- Joined: Tue Feb 03, 2009 9:17 am
by Eric Clayberg » Fri Feb 06, 2009 12:17 pm
Based on your log entry, I would look at /home/pwynne/Projects/yell/MMS/services/ContentRepositoryService/ejb-interface/target/test-classes and how that is referenced.
Something there would seemn to have a problem.
D you have this problem with a brand new GWT project?
-
Eric Clayberg
- Moderator
-
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
-
by patrickwynne » Tue Mar 10, 2009 9:57 am
See, this is what I don't understand about GWT Designer.
My GWT project is one of several projects that have interdependencies. Every other project is a server-side/ejb3 project.
My GWT ui class doesn't reference anything but a servlet to post to, and it only imports base gwt classes. But still it always fails to open in design mode for some external reason it should not care about.
Very annoying when I just need to "get stuff done", and layout some simple gwt widgets.
Patrick
-
patrickwynne
-
- Posts: 4
- Joined: Tue Feb 03, 2009 9:17 am
by Eric Clayberg » Tue Mar 10, 2009 4:55 pm
Feel free to send us a test case, and we can look into it for you.
if you are using any custom components (like Composites), you need to make sure that they can cleanly load at design time.
You might want to see the discussion on using isDesignTime() in your code to suppress any runtime only behavior.
-
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 2 guests