UnsatisfiedLinkError

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

UnsatisfiedLinkError

Postby mantesat » Thu Feb 15, 2007 4:07 am

Hi all

I installed GWT Designer today, on an Eclipse 3.2.1 (and GWT 1.3.3), and I tried to visually edit some components created inside a project created using Googlipse. However, the editor always shows the "unknown window type" title, and the eclipse error log throws the exception:

org.apache.commons.lang.exception.NestableError: java.lang.UnsatisfiedLinkError: com.google.gwt.user.client.impl.DOMImplIE6.init()V
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:323)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:143)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:59)
at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:48)
at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.<init>(AbstractContainerInfo.java:34)
at com.swtdesigner.gwt.model.widgets.panel.ThisCompositeInfo.<init>(ThisCompositeInfo.java:34)
at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:140)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.visit(JavaInfoParser.java:2492)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:466)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2466)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2536)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:212)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2466)
at com.swtdesigner.model.parser.JavaInfoParser.parse(JavaInfoParser.java:202)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1064)
at com.swtdesigner.gef.DesignerEditor$17.execute(DesignerEditor.java:1001)
at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:995)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:991)
at com.swtdesigner.editors.MultiPageEditor.showDesignEditor(MultiPageEditor.java:413)
at com.swtdesigner.editors.MultiPageEditor$2.widgetSelected(MultiPageEditor.java:183)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:709)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3171)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1953)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:288)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.UnsatisfiedLinkError: com.google.gwt.user.client.impl.DOMImplIE6.init()V
at com.google.gwt.user.client.impl.DOMImplIE6.init(Native Method)
at com.google.gwt.user.client.DOM.<clinit>(DOM.java:39)
at com.google.gwt.user.client.ui.Button.<init>(Button.java:57)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.swtdesigner.gwt.model.widgets.support.GWTState.initClassesAndMethods(GWTState.java:428)
at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:145)
at com.swtdesigner.gwt.support.browser.ie.GWTStateIE6.<init>(GWTStateIE6.java:30)
at com.swtdesigner.gwt.support.browser.ie.BrowserSupportFactory.createState(BrowserSupportFactory.java:12)
at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1385)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:320)
... 51 more


It seems that for a strange reason, some dll is missing. In general, why can't the GWT Designer edit visually files created by googlipse or even by hand in projects not entirely created with GWT Designer from scratch? Should GWT Designer be used in projects created entirely with it?

TIA
A.Mantes
mantesat
 
Posts: 3
Joined: Wed Feb 14, 2007 8:09 am

Re: UnsatisfiedLinkError

Postby Eric Clayberg » Thu Feb 15, 2007 4:34 am

mantesat wrote:I installed GWT Designer today, on an Eclipse 3.2.1 (and GWT 1.3.3), and I tried to visually edit some components created inside a project created using Googlipse. However, the editor always shows the "unknown window type" title, and the eclipse error log throws the exception

It sounds like GWT Designer does not know where to find your GWT installation.

Did you convert the project to being a GWT Designer project?

Do you have a GWT_HOME classpath variable pointinhg to your GWT installation?

What version of GWT are you using and what version of GWT Designer?

mantesat wrote:It seems that for a strange reason, some dll is missing. In general, why can't the GWT Designer edit visually files created by googlipse or even by hand in projects not entirely created with GWT Designer from scratch? Should GWT Designer be used in projects created entirely with it?

In general, GWT Designer can edit files created elsewhere (even by hand). Both your project and GWT Designer need to be configured properly.
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

Postby mantesat » Thu Feb 15, 2007 5:18 am

I tried to convert my project to GWT project (I didn't know that detail), but no luck. Error log said:

Designer internal error [6.1.1.20070213051843]: Build path contains duplicate entry: 'C:Projects/Libraries/GWT/gwt-windows-1.3.3/gwt-user.jar' for project

which is strange since there are no othet entries in the build path except from the GWT_HOME variable and the JRE runtime libraries.

I'm using GWT 1.3.3 and GWT Designer v1.5.1 (20070213053919)
mantesat
 
Posts: 3
Joined: Wed Feb 14, 2007 8:09 am

Postby Eric Clayberg » Thu Feb 15, 2007 2:31 pm

mantesat wrote:I tried to convert my project to GWT project (I didn't know that detail), but no luck. Error log said:

Designer internal error [6.1.1.20070213051843]: Build path contains duplicate entry: 'C:Projects/Libraries/GWT/gwt-windows-1.3.3/gwt-user.jar' for project

which is strange since there are no othet entries in the build path except from the GWT_HOME variable and the JRE runtime libraries.

I'm using GWT 1.3.3 and GWT Designer v1.5.1 (20070213053919)

If you create a new GWT project using GWT Designer, does the same thing happen? How is the .classpath and .project file for yoru first project different from a GWT Designer created project?

Can you send us this project as a test case?
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

Postby mantesat » Fri Feb 16, 2007 12:47 am

No, if a new GWT Project is created using GWT Designer, this doesn't happen.

I can send you this test project, just give me an e-mail address, or reply to this at mantesat AT talent.gr
mantesat
 
Posts: 3
Joined: Wed Feb 14, 2007 8:09 am

Postby Eric Clayberg » Fri Feb 16, 2007 4:02 am

mantesat wrote:No, if a new GWT Project is created using GWT Designer, this doesn't happen. I can send you this test project, just give me an e-mail address, or reply to this at mantesat AT talent.gr

You shoudl send it to our standard GWT Designer support address: wb-support@instantiations.com.
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

Seeing the exact same error

Postby Samuel » Mon May 21, 2007 4:39 pm

I'm seeing the exact same thing as well. It used to work but now when I needed to go back and open up the code again it doesn't. This time I needed to create a new project and GWT Designer blows up spewing tons of these exceptions. I manually modified the .classpath and .project to make it similar to that of a new project and it still doesn't work. This is very frustrating and makes using GWT Designer not very useful if I attempt to open up GWT files already created with GWT Designer and it doesn't work. :x
Samuel
 
Posts: 5
Joined: Tue Feb 27, 2007 1:16 pm

Re: Seeing the exact same error

Postby Eric Clayberg » Mon May 21, 2007 6:09 pm

See this earlier thread and this new Designer FAQ entry.
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