Unsatisfied Link Errors / Unknown Window

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

Unsatisfied Link Errors / Unknown Window

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

Alright so I did a full blown new fresh installation of Eclipse and Designer and am still seeing these exceptions. This is based off of code which I originally created with GWT Designer and now attempting to open that code once again with GWT Designer. The only difference is now the code already exists and has not been created.


!ENTRY com.swtdesigner 4 4 2007-05-21 16:56:11.270
!MESSAGE Designer internal error [6.3.0.20070521014035]: com.google.gwt.user.client.impl.DOMImplIE6.init()V
!STACK 0
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:494)
at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:134)
at com.swtdesigner.gwt.support.browser.ie.GWTStateIE6.<init>(GWTStateIE6.java:36)
at com.swtdesigner.gwt.support.browser.ie.BrowserSupportFactory.createState(BrowserSupportFactory.java:12)
at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1529)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:326)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:144)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:61)
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.PanelInfo.<init>(PanelInfo.java:25)
at com.swtdesigner.gwt.model.widgets.panel.ComplexPanelInfo.<init>(ComplexPanelInfo.java:23)
at com.swtdesigner.gwt.model.widgets.panel.HTMLTableInfo.<init>(HTMLTableInfo.java:43)
at com.swtdesigner.gwt.model.widgets.panel.FlexTableInfo.<init>(FlexTableInfo.java:34)
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 com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:88)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:108)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:92)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:85)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.endVisit(JavaInfoParser.java:1429)
at org.eclipse.jdt.core.dom.ClassInstanceCreation.accept0(ClassInstanceCreation.java:336)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2466)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2513)
at org.eclipse.jdt.core.dom.VariableDeclarationFragment.accept0(VariableDeclarationFragment.java:224)
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.FieldDeclaration.accept0(FieldDeclaration.java:286)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2466)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.visit(JavaInfoParser.java:2652)
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:317)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1125)
at com.swtdesigner.gef.DesignerEditor$17.execute(DesignerEditor.java:1059)
at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1053)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1047)
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:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
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)
Samuel
 
Posts: 5
Joined: Tue Feb 27, 2007 1:16 pm

Re: Unsatisfied Link Errors / Unknown Window

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

Please look carefully at that exception. It is being thrown by GWT, not GWT Designer. Apparently something has changed / been corrupted in your environment.

Your log shows the following...

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)

Notice that it is dying in low level GWT code (rather than in Designer code). That would seem to point to a problem with GWT itself or possibly Internet Explorer. If it is an IE issue, you could try to do a full reset of you browser settings (see your IE preferences).

Also, see this earlier thread.
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 Samuel » Tue May 22, 2007 10:34 am

Can you explain to me why there are several other complaints from other people seeing the exact same exception?
Samuel
 
Posts: 5
Joined: Tue Feb 27, 2007 1:16 pm

Postby Eric Clayberg » Tue May 22, 2007 11:05 am

Samuel wrote:Can you explain to me why there are several other complaints from other people seeing the exact same exception?

If you are asking why a couple of people out of more than 4,000 register users are having this specific problem, I have no idea. Maybe the same thing that changed or was corrupted in your environment was also changed or corrupted in their environments.

You yourself indicated that it initially worked fine and then at some point mysteriously stopped working. If you could identify what changed to cause GWT to fail in this way, this would be an easy problem to solve.

As it is, I sent you a list of solutions that are known to have each worked for other people in the past. One or more of them might work for you.

Keep in mind that we have never encountered this ourselves and have never been able to reproduce it locally. Any problem we can reproduce, we can easily fix. A problem like this that can't be reproduced and only affects a very small number of people, is very difficult to resolve. It really comes down to trying various things to see if they have any effect.

Unfortunately, there are a lot of complex, cooperating pieces of software here (GWT, Eclipse, Java, IE, JavaScript, Windows and GWT Designer), so there are a number of different possible failure points.

Note that we have added a new Designer FAQ entry that lists all of the possible solutions that we are aware of.
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 dcosio » Fri Jun 01, 2007 10:32 am

I just hit the same problem.. I'll tell you what I've been doing and maybe it will help someone help us fix it..

I could not get my application to work using desinger GWT application launcher(i submitted this to the forum .. no good answers yet) so i went looking for a way to run the app without using the designer launcher.

I also had issues with the embedded tomcat and from what I could find on the gwt forums.. many people don't use it because it can be flaky.
so here are the step I found to use(from gwt forum) to get my app to run
see

http://code.google.com/support/bin/answ ... opic=10454

I now can use the application and connect to my remote services.. but now designer doesn't work. so the only thing that has changes is i pretty much removed designer from launching the app becuase it doesn't seem to work
dcosio
 
Posts: 18
Joined: Wed May 30, 2007 10:32 am
Location: Boston, MA USA

Postby dcosio » Fri Jun 01, 2007 11:23 am

ok.. i fixed mine.. i removed my projects classpath entries
<classpathentry kind="var" path="GWT_HOME/gwt-dev-windows.jar"/>
<classpathentry kind="var" path="GWT_HOME/gwt-servlet.jar"/>

these were added when I switched to deploying to my eclispe tomcat server..
dcosio
 
Posts: 18
Joined: Wed May 30, 2007 10:32 am
Location: Boston, MA USA

Postby Konstantin.Scheglov » Fri Jun 01, 2007 11:39 pm

Keep gwt-servlet.jar after gwt-user.jar in classpath, if you need it at all...
Konstantin.Scheglov
Moderator
 
Posts: 186
Joined: Tue Oct 18, 2005 8:11 pm
Location: Russian Federation, Lipetsk

Postby Eric Clayberg » Sat Jun 02, 2007 5:15 am

In particular, gwt-servlet.jar includes many overlapping classes with gwt-user.jar, so it is important that gwt-user.jar is listed first.
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