“超级”构造函数评估期间的例外情况

时间:2013-07-14 01:11:37

标签: eclipse gwt gxt google-plugin-eclipse

任何人都可以帮助我。当我尝试在eclipse中切换到设计模式时,我收到了超级构造函数评估期间出现异常的错误消息。我使用gwt 2.5.1和gxt 2.2.5。当我不使用gxt时,我可以使用设计模式。我尝试切换不同的gxt版本。我尝试了gxt 2.1 - 2.2.4但没有成功。我知道这是gwt和gxt的兼容性问题,但我不知道哪个版本的gxt与gwt 2.5.1一起使用我甚至没有成功地下降到gwt 2.2.0。我已经将堆栈跟踪放在下面。任何帮助,将不胜感激。我也在使用

蚀 版本:Indigo Service Release 2 构建ID:20120216-1857

堆栈跟踪 org.eclipse.wb.internal.core.utils.exception.DesignerException:313('超级'构造函数评估期间的例外)。 Window(){} java.lang.NoSuchFieldError:DESCRIPTION     在com.google.gdt.eclipse.designer.gxt.model.layout.DefaultLayoutInfo。(DefaultLayoutInfo.java:39)     在com.google.gdt.eclipse.designer.gxt.model.widgets.LayoutContainerInfo.createDefaultImplicitLayout(LayoutContainerInfo.java:231)     在com.google.gdt.eclipse.designer.gxt.model.widgets.LayoutContainerInfo.initialize_createImplicitLayout(LayoutContainerInfo.java:208)     在com.google.gdt.eclipse.designer.gxt.model.widgets.LayoutContainerInfo.createExposedChildren(LayoutContainerInfo.java:159)     在org.eclipse.wb.internal.core.model.creation.ThisCreationSupport.create(ThisCreationSupport.java:275)     at org.eclipse.wb.internal.core.model.JavaInfoEvaluationHelper.evaluateJavaInfoUsingCreationSupport(JavaInfoEvaluationHelper.java:642)     在org.eclipse.wb.internal.core.parser.JavaInfoParser.addJavaInfo(JavaInfoParser.java:1261)     在org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:253)     在org.eclipse.wb.internal.core.parser.JavaInfoParser.access $ 9(JavaInfoParser.java:238)     在org.eclipse.wb.internal.core.parser.JavaInfoParser $ 1.runObject(JavaInfoParser.java:153)     在org.eclipse.wb.internal.core.parser.JavaInfoParser $ 1.runObject(JavaInfoParser.java:1)     在org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:159)     在org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:151)     在org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:534)     在org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:417)     在org.eclipse.wb.internal.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:381)     在org.eclipse.wb.internal.core.editor.UndoManager $ 6.run(UndoManager.java:330)     在org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)     在org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)     在org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)     在org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)     在org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)     在org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)     在org.eclipse.ui.internal.Workbench.access $ 4(Workbench.java:2499)     在org.eclipse.ui.internal.Workbench $ 7.run(Workbench.java:679)     在org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)     在org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)     在org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)     在org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)     在org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)     在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)     在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)     在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)     在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     在org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)     在org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)     在org.eclipse.equinox.launcher.Main.run(Main.java:1410) 引起:java.lang.NoSuchFieldError:DESCRIPTION     在com.google.gdt.eclipse.designer.gxt.model.layout.DefaultLayoutInfo。(DefaultLayoutInfo.java:39)     在com.google.gdt.eclipse.designer.gxt.model.widgets.LayoutContainerInfo.createDefaultImplicitLayout(LayoutContainerInfo.java:231)     在com.google.gdt.eclipse.designer.gxt.model.widgets.LayoutContainerInfo.initialize_createImplicitLayout(LayoutContainerInfo.java:208)     在com.google.gdt.eclipse.designer.gxt.model.widgets.LayoutContainerInfo.createExposedChildren(LayoutContainerInfo.java:159)     在org.eclipse.wb.core.model.JavaInfo.initialize(JavaInfo.java:419)     在org.eclipse.wb.core.model.JavaInfo.setObject(JavaInfo.java:1267)     在com.google.gdt.eclipse.designer.gxt.model.widgets.ComponentInfo.setObject(ComponentInfo.java:65)     在com.google.gdt.eclipse.designer.gxt.model.widgets.ContentPanelInfo.setObject(ContentPanelInfo.java:57)     在org.eclipse.wb.internal.core.model.creation.ThisCreationSupport.create(ThisCreationSupport.java:269)     ......还有36个

完整的上下文堆栈跟踪: org.eclipse.wb.internal.core.utils.exception.DesignerException:313('超级'构造函数评估期间的例外)。 Window(){} java.lang.NoSuchFieldError:DESCRIPTION     在com.google.gdt.eclipse.designer.gxt.model.layout.DefaultLayoutInfo。(DefaultLayoutInfo.java:39)     在com.google.gdt.eclipse.designer.gxt.model.widgets.LayoutContainerInfo.createDefaultImplicitLayout(LayoutContainerInfo.java:231)     在com.google.gdt.eclipse.designer.gxt.model.widgets.LayoutContainerInfo.initialize_createImplicitLayout(LayoutContainerInfo.java:208)     在com.google.gdt.eclipse.designer.gxt.model.widgets.LayoutContainerInfo.createExposedChildren(LayoutContainerInfo.java:159)     在org.eclipse.wb.internal.core.model.creation.ThisCreationSupport.create(ThisCreationSupport.java:275)     at org.eclipse.wb.internal.core.model.JavaInfoEvaluationHelper.evaluateJavaInfoUsingCreationSupport(JavaInfoEvaluationHelper.java:642)     在org.eclipse.wb.internal.core.parser.JavaInfoParser.addJavaInfo(JavaInfoParser.java:1261)     在org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:253)     在org.eclipse.wb.internal.core.parser.JavaInfoParser.access $ 9(JavaInfoParser.java:238)     在org.eclipse.wb.internal.core.parser.JavaInfoParser $ 1.runObject(JavaInfoParser.java:153)     在org.eclipse.wb.internal.core.parser.JavaInfoParser $ 1.runObject(JavaInfoParser.java:1)     在org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:159)     在org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:151)     在org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:534)     在org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:417)     在org.eclipse.wb.internal.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:381)     在org.eclipse.wb.internal.core.editor.UndoManager $ 6.run(UndoManager.java:330)     在org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)     在org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)     在org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)     在org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)     在org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)     在org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)     在org.eclipse.ui.internal.Workbench.access $ 4(Workbench.java:2499)     在org.eclipse.ui.internal.Workbench $ 7.run(Workbench.java:679)     在org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)     在org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)     在org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)     在org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)     在org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)     在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)     在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)     在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)     在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     在org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)     在org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)     在org.eclipse.equinox.launcher.Main.run(Main.java:1410) 引起:java.lang.NoSuchFieldError:DESCRIPTION     在com.google.gdt.eclipse.designer.gxt.model.layout.DefaultLayoutInfo。(DefaultLayoutInfo.java:39)     在com.google.gdt.eclipse.designer.gxt.model.widgets.LayoutContainerInfo.createDefaultImplicitLayout(LayoutContainerInfo.java:231)     在com.google.gdt.eclipse.designer.gxt.model.widgets.LayoutContainerInfo.initialize_createImplicitLayout(LayoutContainerInfo.java:208)     在com.google.gdt.eclipse.designer.gxt.model.widgets.LayoutContainerInfo.createExposedChildren(LayoutContainerInfo.java:159)     在org.eclipse.wb.core.model.JavaInfo.initialize(JavaInfo.java:419)     在org.eclipse.wb.core.model.JavaInfo.setObject(JavaInfo.java:1267)     在com.google.gdt.eclipse.designer.gxt.model.widgets.ComponentInfo.setObject(ComponentInfo.java:65)     在com.google.gdt.eclipse.designer.gxt.model.widgets.ContentPanelInfo.setObject(ContentPanelInfo.java:57)     在org.eclipse.wb.internal.core.model.creation.ThisCreationSupport.create(ThisCreationSupport.java:269)     ......还有36个

1 个答案:

答案 0 :(得分:0)

我发现了问题所在。在我做完这项工作之后,我必须将我的窗口构建器专业版升级到https://developers.google.com/java-dev-tools/download-wbpro-beta上的新测试版。我不得不将gxt版本降低到2.1,但我不确定这对错误产生了很大的影响。在我将google插件安装添加到eclipse indigo之后,我进入了帮助安装新软件已安装的软件 - 我删除了与windows builder和gwt designer相关的所有内容。然后我重新启动了eclipse并安装了Windows版本的beta版本。我尝试了两次,两次都有效。