I am using the gwt-dnd and gwt-diagrams. My web application is running
well even I got the error message below.

Can anyone explain to me why I got this error??


[ERROR] Unable to load module entry point class
com.testing.customwidget.client.Customwidget (see associated exception
for details)
java.lang.IllegalStateException: Should only call onAttach when the
widget is detached from the browser's document
        at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:246)
        at
pl.balon.gwt.diagrams.client.connection.pointwidget.MoveablePointWidgetImpl.onAttach
(MoveablePointWidgetImpl.java:29)
        at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:
165)
        at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:259)
        at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:
165)
        at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:259)
        at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:
165)
        at
com.testing.customwidget.client.AbstractConnectionsExample.doAttachChildren
(AbstractConnectionsExample.java:165)
        at
com.testing.customwidget.client.AbstractConnectionsExample.initializeIfNecessary
(AbstractConnectionsExample.java:153)
        at com.testing.customwidget.client.AbstractConnectionsExample.update
(AbstractConnectionsExample.java:140)
        at com.testing.customwidget.client.Customwidget.onModuleLoad
(Customwidget.java:55)
        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 com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:326)
        at com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace
(BrowserWidget.java:343)
        at com.google.gwt.dev.shell.ie.BrowserWidgetIE6.access$300
(BrowserWidgetIE6.java:37)
        at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad
(BrowserWidgetIE6.java:77)
        at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.invoke
(BrowserWidgetIE6.java:161)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
(IDispatchImpl.java:294)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
(IDispatchImpl.java:194)
        at org.eclipse.swt.internal.ole.win32.COMObject.callback6
(COMObject.java:117)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
        at com.google.gwt.dev.SwtHostedModeBase.processEvents
(SwtHostedModeBase.java:264)
        at com.google.gwt.dev.HostedModeBase.pumpEventLoop
(HostedModeBase.java:557)
        at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405)
        at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

--

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


Reply via email to