Based on the exception the problem occurs when the login page (a
Composite) is being added to the RootLayoutPanel.


On Feb 16, 10:17 am, Nick Apperley <napper...@gmail.com> wrote:
> Not in offline mode. Anyway I have recreated the project as a new Web
> Application (the Google one) project in Eclipse. Compilation works
> normally but now I have an exception appearing in development mode,
> which didn't occur previously with the old project type (GWT Java).
>
> -------------------------------------------------------------------------------------------------------------------
> 10:11:55.193 [ERROR] [autohome_automator] Unable to load module entry
> point class com.darc.autohome.automatortool.client.AutohomeAutomator
> (see associated exception for details)
>
> java.lang.AssertionError: This UIObject's element is not set; you may
> be missing a call to either Composite.initWidget() or
> UIObject.setElement()
>     at com.google.gwt.user.client.ui.UIObject.getElement(UIObject.java:
> 528)
>     at
> com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:94)
>     at
> com.google.gwt.user.client.ui.AbsolutePanel.add(AbsolutePanel.java:97)
>     at
> com.darc.autohome.automatortool.client.Controller.showLoginPage(Controller.java:
> 28)
>     at
> com.darc.autohome.automatortool.client.AutohomeAutomator.onModuleLoad(AutohomeAutomator.java:
> 17)
>     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 com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
> 396)
>     at
> com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
> 183)
>     at
> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
> 510)
>     at
> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
> 352)
>     at java.lang.Thread.run(Thread.java:619)
> -------------------------------------------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to