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 hnrpc » Fri Aug 29, 2008 7:39 pm
- Code: Select all
Plug-in Provider: Instantiations
Plug-in Name: WindowBuilder Professional
Plug-in ID: com.swtdesigner
Plug-in Version: 6.7.1.200808291219
java.lang.IllegalArgumentException: Unable to find MethodDeclaration for appendChild (Lcom/google/gwt/dom/client/Node;)Lcom/google/gwt/dom/client/Node; in com.google.gwt.dom.client.Node
/**
* The Node interface is the primary datatype for the entire Document Object
* Model. It represents a single node in the document tree. While all objects
* implementing the Node interface expose methods for dealing with children, not
* all objects implementing the Node interface may have children.
*/
public class Node extends JavaScriptObject {
/**
* The node is an {@link Element}.
*/
public static final short ELEMENT_NODE = 1;
/**
* The node is a {@link Text} node.
*/
public static final short TEXT_NODE = 3;
/**
* The node is a {@link Document}.
*/
public static final short DOCUMENT_NODE = 9;
protected Node() {
}
/**
* Adds the node newChild to the end of the list of children of this node. If
* the newChild is already in the tree, it is first removed.
*
* @param newChild The node to add
* @return The node added
*/
public final native <T extends Node> T appendChild(T newChild) /*-{
return this.appendChild(newChild);
}-*/;
/**
* Returns a duplicate of this node, i.e., serves as a generic copy
* constructor for nodes. The duplicate node has no parent; (parentNode is
* null.).
*
* Cloning an Element copies all attributes and their values, including those
* generated by the XML processor to represent defaulted attributes, but this
* method does not copy any text it contains unless it is a deep clone, since
* the text is contained in a child Text node. Cloning an Attribute directly,
* as opposed to be cloned as part of an Element cloning operation, returns a
* specified attribute (specified is true). Cloning any other type of node
* simply returns a copy of this node.
*
* @param deep If true, recursively clone the subtree under the specified
* node; if false, clone only the node itself (and its attributes, if
* it is an {@link Element})
* @return The duplicate node
*/
public final native Node cloneNode(boolean deep) /*-{
return this.cloneNode(deep);
}-*/;
/**
* A NodeList that contains all children of this node. If there are no
* children, this is a NodeList containing no nodes.
*/
public final native NodeList<Node> getChildNodes() /*-{
return this.childNodes;
}-*/;
/**
* The first child of this node. If there is no such node, this returns null.
*/
public final native Node getFirstChild() /*-{
return this.firstChild;
}-*/;
/**
* The last child of this node. If there is no such node, this returns null.
*/
public final native Node getLastChild() /*-{
return this.lastChild;
}-*/;
/**
* The node immediately following this node. If there is no such node, this
* returns null.
*/
public final native Node getNextSibling() /*-{
return this.nextSibling;
}-*/;
/**
* The name of this node, depending on its type; see the table above.
*/
public final native String getNodeName() /*-{
return this.nodeName;
}-*/;
/**
* A code representing the type of the underlying object, as defined above.
*/
public final native short getNodeType() /*-{
return this.nodeType;
}-*/;
/**
* The value of this node, depending on its type; see the table above. When it
* is defined to be null, setting it has no effect.
*/
public final native String getNodeValue() /*-{
return this.nodeValue;
}-*/;
/**
* The Document object associated with this node. This is also the
* {@link Document} object used to create new nodes.
*/
public final native Document getOwnerDocument() /*-{
return this.ownerDocument;
}-*/;
/**
* The parent of this node. All nodes except Document may have a parent.
* However, if a node has just been created and not yet added to the tree, or
* if it has been removed from the tree, this is null.
*/
public final native Node getParentNode() /*-{
return this.parentNode;
}-*/;
/**
* The node immediately preceding this node. If there is no such node, this
* returns null.
*/
public final native Node getPreviousSibling() /*-{
return this.previousSibling;
}-*/;
/**
* Returns whether this node has any children.
*/
public final native boolean hasChildNodes() /*-{
return this.hasChildNodes();
}-*/;
/**
* Inserts the node newChild before the existing child node refChild. If
* refChild is <code>null</code>, insert newChild at the end of the list of children.
*
* @param newChild The node to insert
* @param refChild The reference node (that is, the node before which the new
* node must be inserted), or <code>null</code>
* @return The node being inserted
*/
public final native Node insertBefore(Node newChild, Node refChild) /*-{
return this.insertBefore(newChild, refChild);
}-*/;
/**
* Removes the child node indicated by oldChild from the list of children, and
* returns it.
*
* @param oldChild The node being removed
* @return The node removed
*/
public final native Node removeChild(Node oldChild) /*-{
return this.removeChild(oldChild);
}-*/;
/**
* Replaces the child node oldChild with newChild in the list of children, and
* returns the oldChild node.
*
* @param newChild The new node to put in the child list
* @param oldChild The node being replaced in the list
* @return The node replaced
*/
public final native Node replaceChild(Node newChild, Node oldChild) /*-{
return this.replaceChild(newChild, oldChild);
}-*/;
/**
* The value of this node, depending on its type; see the table above. When it
* is defined to be null, setting it has no effect.
*/
public final native void setNodeValue(String nodeValue) /*-{
this.nodeValue = nodeValue;
}-*/;
}
at com.swtdesigner.gwt.loader.compiler.GWTCompileVisitor.getMethod(GWTCompileVisitor.java:529)
at com.swtdesigner.gwt.loader.compiler.GWTCompileVisitor.visitMethod(GWTCompileVisitor.java:91)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at com.swtdesigner.gwt.loader.compiler.GWTClassCompiler.rewriteClass(GWTClassCompiler.java:28)
at com.swtdesigner.gwt.loader.GWTClassLoader.findClass(GWTClassLoader.java:104)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
at com.swtdesigner.gwt.loader.GWTClassLoader.getClassFromBytes(GWTClassLoader.java:224)
at com.swtdesigner.gwt.loader.GWTClassLoader.findClass(GWTClassLoader.java:116)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
at com.swtdesigner.gwt.loader.GWTClassLoader.getClassFromBytes(GWTClassLoader.java:224)
at com.swtdesigner.gwt.loader.GWTClassLoader.findClass(GWTClassLoader.java:116)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at com.swtdesigner.gwt.model.widgets.support.GWTState.initClassesAndMethods(GWTState.java:416)
at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:136)
at com.swtdesigner.gwt.support.browser.ie.GWTStateIE6.<init>(GWTStateIE6.java:29)
at com.swtdesigner.gwt.support.browser.ie.BrowserSupportFactory.createState(BrowserSupportFactory.java:12)
at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1670)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:412)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:186)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:68)
at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:55)
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:513)
at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:163)
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.isComponentCreation(JavaInfoParser.java:3781)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.endVisit(JavaInfoParser.java:1886)
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:3018)
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:319)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1149)
at com.swtdesigner.gef.DesignerEditor$17.execute(DesignerEditor.java:1077)
at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1071)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1062)
at com.swtdesigner.editors.MultiPageEditor.showDesignEditor(MultiPageEditor.java:392)
at com.swtdesigner.editors.MultiPageEditor$2.widgetSelected(MultiPageEditor.java:178)
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:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3242)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2017)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
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:382)
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)
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:3792)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.endVisit(JavaInfoParser.java:1886)
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:3018)
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:319)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1149)
at com.swtdesigner.gef.DesignerEditor$17.execute(DesignerEditor.java:1077)
at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1071)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1062)
at com.swtdesigner.editors.MultiPageEditor.showDesignEditor(MultiPageEditor.java:392)
at com.swtdesigner.editors.MultiPageEditor$2.widgetSelected(MultiPageEditor.java:178)
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:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3242)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2017)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
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:382)
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)
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: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.isComponentCreation(JavaInfoParser.java:3781)
... 62 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:113)
... 65 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:163)
... 66 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: Exception during loading of class com.google.gwt.user.client.Element
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:188)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:68)
at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:55)
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)
... 71 more
Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: Exception during loading of class com.google.gwt.user.client.Element
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:419)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:186)
... 78 more
Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: Exception during loading of class com.google.gwt.user.client.Element
at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:142)
at com.swtdesigner.gwt.support.browser.ie.GWTStateIE6.<init>(GWTStateIE6.java:29)
at com.swtdesigner.gwt.support.browser.ie.BrowserSupportFactory.createState(BrowserSupportFactory.java:12)
at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1670)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:412)
... 79 more
Caused by: org.apache.commons.lang.exception.NestableError: Exception during loading of class com.google.gwt.user.client.Element
at com.swtdesigner.gwt.loader.GWTClassLoader.findClass(GWTClassLoader.java:163)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at com.swtdesigner.gwt.model.widgets.support.GWTState.initClassesAndMethods(GWTState.java:416)
at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:136)
... 83 more
Caused by: org.apache.commons.lang.exception.NestableError: Exception during loading of class com.google.gwt.dom.client.Element
at com.swtdesigner.gwt.loader.GWTClassLoader.findClass(GWTClassLoader.java:163)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
at com.swtdesigner.gwt.loader.GWTClassLoader.getClassFromBytes(GWTClassLoader.java:224)
at com.swtdesigner.gwt.loader.GWTClassLoader.findClass(GWTClassLoader.java:116)
... 87 more
Caused by: org.apache.commons.lang.exception.NestableError: Exception during loading of class com.google.gwt.dom.client.Node
at com.swtdesigner.gwt.loader.GWTClassLoader.findClass(GWTClassLoader.java:163)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
at com.swtdesigner.gwt.loader.GWTClassLoader.getClassFromBytes(GWTClassLoader.java:224)
at com.swtdesigner.gwt.loader.GWTClassLoader.findClass(GWTClassLoader.java:116)
... 95 more
Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: java.lang.IllegalArgumentException: Unable to find MethodDeclaration for appendChild (Lcom/google/gwt/dom/client/Node;)Lcom/google/gwt/dom/client/Node; in com.google.gwt.dom.client.Node
/**
* The Node interface is the primary datatype for the entire Document Object
* Model. It represents a single node in the document tree. While all objects
* implementing the Node interface expose methods for dealing with children, not
* all objects implementing the Node interface may have children.
*/
public class Node extends JavaScriptObject {
/**
* The node is an {@link Element}.
*/
public static final short ELEMENT_NODE = 1;
/**
* The node is a {@link Text} node.
*/
public static final short TEXT_NODE = 3;
/**
* The node is a {@link Document}.
*/
public static final short DOCUMENT_NODE = 9;
protected Node() {
}
/**
* Adds the node newChild to the end of the list of children of this node. If
* the newChild is already in the tree, it is first removed.
*
* @param newChild The node to add
* @return The node added
*/
public final native <T extends Node> T appendChild(T newChild) /*-{
return this.appendChild(newChild);
}-*/;
/**
* Returns a duplicate of this node, i.e., serves as a generic copy
* constructor for nodes. The duplicate node has no parent; (parentNode is
* null.).
*
* Cloning an Element copies all attributes and their values, including those
* generated by the XML processor to represent defaulted attributes, but this
* method does not copy any text it contains unless it is a deep clone, since
* the text is contained in a child Text node. Cloning an Attribute directly,
* as opposed to be cloned as part of an Element cloning operation, returns a
* specified attribute (specified is true). Cloning any other type of node
* simply returns a copy of this node.
*
* @param deep If true, recursively clone the subtree under the specified
* node; if false, clone only the node itself (and its attributes, if
* it is an {@link Element})
* @return The duplicate node
*/
public final native Node cloneNode(boolean deep) /*-{
return this.cloneNode(deep);
}-*/;
/**
* A NodeList that contains all children of this node. If there are no
* children, this is a NodeList containing no nodes.
*/
public final native NodeList<Node> getChildNodes() /*-{
return this.childNodes;
}-*/;
/**
* The first child of this node. If there is no such node, this returns null.
*/
public final native Node getFirstChild() /*-{
return this.firstChild;
}-*/;
/**
* The last child of this node. If there is no such node, this returns null.
*/
public final native Node getLastChild() /*-{
return this.lastChild;
}-*/;
/**
* The node immediately following this node. If there is no such node, this
* returns null.
*/
public final native Node getNextSibling() /*-{
return this.nextSibling;
}-*/;
/**
* The name of this node, depending on its type; see the table above.
*/
public final native String getNodeName() /*-{
return this.nodeName;
}-*/;
/**
* A code representing the type of the underlying object, as defined above.
*/
public final native short getNodeType() /*-{
return this.nodeType;
}-*/;
/**
* The value of this node, depending on its type; see the table above. When it
* is defined to be null, setting it has no effect.
*/
public final native String getNodeValue() /*-{
return this.nodeValue;
}-*/;
/**
* The Document object associated with this node. This is also the
* {@link Document} object used to create new nodes.
*/
public final native Document getOwnerDocument() /*-{
return this.ownerDocument;
}-*/;
/**
* The parent of this node. All nodes except Document may have a parent.
* However, if a node has just been created and not yet added to the tree, or
* if it has been removed from the tree, this is null.
*/
public final native Node getParentNode() /*-{
return this.parentNode;
}-*/;
/**
* The node immediately preceding this node. If there is no such node, this
* returns null.
*/
public final native Node getPreviousSibling() /*-{
return this.previousSibling;
}-*/;
/**
* Returns whether this node has any children.
*/
public final native boolean hasChildNodes() /*-{
return this.hasChildNodes();
}-*/;
/**
* Inserts the node newChild before the existing child node refChild. If
* refChild is <code>null</code>, insert newChild at the end of the list of children.
*
* @param newChild The node to insert
* @param refChild The reference node (that is, the node before which the new
* node must be inserted), or <code>null</code>
* @return The node being inserted
*/
public final native Node insertBefore(Node newChild, Node refChild) /*-{
return this.insertBefore(newChild, refChild);
}-*/;
/**
* Removes the child node indicated by oldChild from the list of children, and
* returns it.
*
* @param oldChild The node being removed
* @return The node removed
*/
public final native Node removeChild(Node oldChild) /*-{
return this.removeChild(oldChild);
}-*/;
/**
* Replaces the child node oldChild with newChild in the list of children, and
* returns the oldChild node.
*
* @param newChild The new node to put in the child list
* @param oldChild The node being replaced in the list
* @return The node replaced
*/
public final native Node replaceChild(Node newChild, Node oldChild) /*-{
return this.replaceChild(newChild, oldChild);
}-*/;
/**
* The value of this node, depending on its type; see the table above. When it
* is defined to be null, setting it has no effect.
*/
public final native void setNodeValue(String nodeValue) /*-{
this.nodeValue = nodeValue;
}-*/;
}
at com.swtdesigner.gwt.loader.compiler.GWTClassCompiler.rewriteClass(GWTClassCompiler.java:49)
at com.swtdesigner.gwt.loader.GWTClassLoader.findClass(GWTClassLoader.java:104)
... 103 more
Caused by: org.apache.commons.lang.exception.NestableError: java.lang.IllegalArgumentException: Unable to find MethodDeclaration for appendChild (Lcom/google/gwt/dom/client/Node;)Lcom/google/gwt/dom/client/Node; in com.google.gwt.dom.client.Node
/**
* The Node interface is the primary datatype for the entire Document Object
* Model. It represents a single node in the document tree. While all objects
* implementing the Node interface expose methods for dealing with children, not
* all objects implementing the Node interface may have children.
*/
public class Node extends JavaScriptObject {
/**
* The node is an {@link Element}.
*/
public static final short ELEMENT_NODE = 1;
/**
* The node is a {@link Text} node.
*/
public static final short TEXT_NODE = 3;
/**
* The node is a {@link Document}.
*/
public static final short DOCUMENT_NODE = 9;
protected Node() {
}
/**
* Adds the node newChild to the end of the list of children of this node. If
* the newChild is already in the tree, it is first removed.
*
* @param newChild The node to add
* @return The node added
*/
public final native <T extends Node> T appendChild(T newChild) /*-{
return this.appendChild(newChild);
}-*/;
/**
* Returns a duplicate of this node, i.e., serves as a generic copy
* constructor for nodes. The duplicate node has no parent; (parentNode is
* null.).
*
* Cloning an Element copies all attributes and their values, including those
* generated by the XML processor to represent defaulted attributes, but this
* method does not copy any text it contains unless it is a deep clone, since
* the text is contained in a child Text node. Cloning an Attribute directly,
* as opposed to be cloned as part of an Element cloning operation, returns a
* specified attribute (specified is true). Cloning any other type of node
* simply returns a copy of this node.
*
* @param deep If true, recursively clone the subtree under the specified
* node; if false, clone only the node itself (and its attributes, if
* it is an {@link Element})
* @return The duplicate node
*/
public final native Node cloneNode(boolean deep) /*-{
return this.cloneNode(deep);
}-*/;
/**
* A NodeList that contains all children of this node. If there are no
* children, this is a NodeList containing no nodes.
*/
public final native NodeList<Node> getChildNodes() /*-{
return this.childNodes;
}-*/;
/**
* The first child of this node. If there is no such node, this returns null.
*/
public final native Node getFirstChild() /*-{
return this.firstChild;
}-*/;
/**
* The last child of this node. If there is no such node, this returns null.
*/
public final native Node getLastChild() /*-{
return this.lastChild;
}-*/;
/**
* The node immediately following this node. If there is no such node, this
* returns null.
*/
public final native Node getNextSibling() /*-{
return this.nextSibling;
}-*/;
/**
* The name of this node, depending on its type; see the table above.
*/
public final native String getNodeName() /*-{
return this.nodeName;
}-*/;
/**
* A code representing the type of the underlying object, as defined above.
*/
public final native short getNodeType() /*-{
return this.nodeType;
}-*/;
/**
* The value of this node, depending on its type; see the table above. When it
* is defined to be null, setting it has no effect.
*/
public final native String getNodeValue() /*-{
return this.nodeValue;
}-*/;
/**
* The Document object associated with this node. This is also the
* {@link Document} object used to create new nodes.
*/
public final native Document getOwnerDocument() /*-{
return this.ownerDocument;
}-*/;
/**
* The parent of this node. All nodes except Document may have a parent.
* However, if a node has just been created and not yet added to the tree, or
* if it has been removed from the tree, this is null.
*/
public final native Node getParentNode() /*-{
return this.parentNode;
}-*/;
/**
* The node immediately preceding this node. If there is no such node, this
* returns null.
*/
public final native Node getPreviousSibling() /*-{
return this.previousSibling;
}-*/;
/**
* Returns whether this node has any children.
*/
public final native boolean hasChildNodes() /*-{
return this.hasChildNodes();
}-*/;
/**
* Inserts the node newChild before the existing child node refChild. If
* refChild is <code>null</code>, insert newChild at the end of the list of children.
*
* @param newChild The node to insert
* @param refChild The reference node (that is, the node before which the new
* node must be inserted), or <code>null</code>
* @return The node being inserted
*/
public final native Node insertBefore(Node newChild, Node refChild) /*-{
return this.insertBefore(newChild, refChild);
}-*/;
/**
* Removes the child node indicated by oldChild from the list of children, and
* returns it.
*
* @param oldChild The node being removed
* @return The node removed
*/
public final native Node removeChild(Node oldChild) /*-{
return this.removeChild(oldChild);
}-*/;
/**
* Replaces the child node oldChild with newChild in the list of children, and
* returns the oldChild node.
*
* @param newChild The new node to put in the child list
* @param oldChild The node being replaced in the list
* @return The node replaced
*/
public final native Node replaceChild(Node newChild, Node oldChild) /*-{
return this.replaceChild(newChild, oldChild);
}-*/;
/**
* The value of this node, depending on its type; see the table above. When it
* is defined to be null, setting it has no effect.
*/
public final native void setNodeValue(String nodeValue) /*-{
this.nodeValue = nodeValue;
}-*/;
}
at com.swtdesigner.gwt.loader.compiler.GWTCompileVisitor.visitMethod(GWTCompileVisitor.java:119)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at com.swtdesigner.gwt.loader.compiler.GWTClassCompiler.rewriteClass(GWTClassCompiler.java:28)
... 104 more
Caused by: java.lang.IllegalArgumentException: Unable to find MethodDeclaration for appendChild (Lcom/google/gwt/dom/client/Node;)Lcom/google/gwt/dom/client/Node; in com.google.gwt.dom.client.Node
/**
* The Node interface is the primary datatype for the entire Document Object
* Model. It represents a single node in the document tree. While all objects
* implementing the Node interface expose methods for dealing with children, not
* all objects implementing the Node interface may have children.
*/
public class Node extends JavaScriptObject {
/**
* The node is an {@link Element}.
*/
public static final short ELEMENT_NODE = 1;
/**
* The node is a {@link Text} node.
*/
public static final short TEXT_NODE = 3;
/**
* The node is a {@link Document}.
*/
public static final short DOCUMENT_NODE = 9;
protected Node() {
}
/**
* Adds the node newChild to the end of the list of children of this node. If
* the newChild is already in the tree, it is first removed.
*
* @param newChild The node to add
* @return The node added
*/
public final native <T extends Node> T appendChild(T newChild) /*-{
return this.appendChild(newChild);
}-*/;
/**
* Returns a duplicate of this node, i.e., serves as a generic copy
* constructor for nodes. The duplicate node has no parent; (parentNode is
* null.).
*
* Cloning an Element copies all attributes and their values, including those
* generated by the XML processor to represent defaulted attributes, but this
* method does not copy any text it contains unless it is a deep clone, since
* the text is contained in a child Text node. Cloning an Attribute directly,
* as opposed to be cloned as part of an Element cloning operation, returns a
* specified attribute (specified is true). Cloning any other type of node
* simply returns a copy of this node.
*
* @param deep If true, recursively clone the subtree under the specified
* node; if false, clone only the node itself (and its attributes, if
* it is an {@link Element})
* @return The duplicate node
*/
public final native Node cloneNode(boolean deep) /*-{
return this.cloneNode(deep);
}-*/;
/**
* A NodeList that contains all children of this node. If there are no
* children, this is a NodeList containing no nodes.
*/
public final native NodeList<Node> getChildNodes() /*-{
return this.childNodes;
}-*/;
/**
* The first child of this node. If there is no such node, this returns null.
*/
public final native Node getFirstChild() /*-{
return this.firstChild;
}-*/;
/**
* The last child of this node. If there is no such node, this returns null.
*/
public final native Node getLastChild() /*-{
return this.lastChild;
}-*/;
/**
* The node immediately following this node. If there is no such node, this
* returns null.
*/
public final native Node getNextSibling() /*-{
return this.nextSibling;
}-*/;
/**
* The name of this node, depending on its type; see the table above.
*/
public final native String getNodeName() /*-{
return this.nodeName;
}-*/;
/**
* A code representing the type of the underlying object, as defined above.
*/
public final native short getNodeType() /*-{
return this.nodeType;
}-*/;
/**
* The value of this node, depending on its type; see the table above. When it
* is defined to be null, setting it has no effect.
*/
public final native String getNodeValue() /*-{
return this.nodeValue;
}-*/;
/**
* The Document object associated with this node. This is also the
* {@link Document} object used to create new nodes.
*/
public final native Document getOwnerDocument() /*-{
return this.ownerDocument;
}-*/;
/**
* The parent of this node. All nodes except Document may have a parent.
* However, if a node has just been created and not yet added to the tree, or
* if it has been removed from the tree, this is null.
*/
public final native Node getParentNode() /*-{
return this.parentNode;
}-*/;
/**
* The node immediately preceding this node. If there is no such node, this
* returns null.
*/
public final native Node getPreviousSibling() /*-{
return this.previousSibling;
}-*/;
/**
* Returns whether this node has any children.
*/
public final native boolean hasChildNodes() /*-{
return this.hasChildNodes();
}-*/;
/**
* Inserts the node newChild before the existing child node refChild. If
* refChild is <code>null</code>, insert newChild at the end of the list of children.
*
* @param newChild The node to insert
* @param refChild The reference node (that is, the node before which the new
* node must be inserted), or <code>null</code>
* @return The node being inserted
*/
public final native Node insertBefore(Node newChild, Node refChild) /*-{
return this.insertBefore(newChild, refChild);
}-*/;
/**
* Removes the child node indicated by oldChild from the list of children, and
* returns it.
*
* @param oldChild The node being removed
* @return The node removed
*/
public final native Node removeChild(Node oldChild) /*-{
return this.removeChild(oldChild);
}-*/;
/**
* Replaces the child node oldChild with newChild in the list of children, and
* returns the oldChild node.
*
* @param newChild The new node to put in the child list
* @param oldChild The node being replaced in the list
* @return The node replaced
*/
public final native Node replaceChild(Node newChild, Node oldChild) /*-{
return this.replaceChild(newChild, oldChild);
}-*/;
/**
* The value of this node, depending on its type; see the table above. When it
* is defined to be null, setting it has no effect.
*/
public final native void setNodeValue(String nodeValue) /*-{
this.nodeValue = nodeValue;
}-*/;
}
at com.swtdesigner.gwt.loader.compiler.GWTCompileVisitor.getMethod(GWTCompileVisitor.java:529)
at com.swtdesigner.gwt.loader.compiler.GWTCompileVisitor.visitMethod(GWTCompileVisitor.java:91)
... 107 more
Designer Configuration Details:
Product: WindowBuilder Professional
Version: 6.7.1.200808291219
Expected: Eclipse 3.4
Actual: Eclipse 3.4.0.v20080512
Actual Eclipse Build Name:
Actual Eclipse Build ID: I20080617-2000
IDE Actual Name: Eclipse
IDE Actual Version: 3.3.100.v200806172000
IDE Actual NL: zh_CN
Serial Number: WindowBuilderPro-71794-3720
Activation Key: SWTDesignerEval-BM0SH-PM0ZN-9K2EM
Physical Address: 00-16-CF-00-39-02
Code Gen: Flat Mode, Use Existing, First Assignment, Make Final
Events: Anonymous Class
GWT Home: D:/soft/java/gwt-SDK
Platform Product: Eclipse
Platform Version: 3.3.100.v200806172000
OS Name: Windows XP
OS Architecture: x86
OS Version: 5.1
-
hnrpc
-
- Posts: 1
- Joined: Fri Aug 29, 2008 7:27 pm
by Eric Clayberg » Sun Aug 31, 2008 3:43 am
Looks like an installation problem of some sort as you appear to be still running an older version of GWT Designer that does not work with GWT 1.5.
I would suggest doing a clean install of the latest build GWT Designer v5.1.0 into a clean Eclipse 3.4 environment.
-
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