Deferred binding failed for Images

20 views
Skip to first unread message

Allahbaksh

unread,
Oct 6, 2009, 7:20:20 PM10/6/09
to Google Web Toolkit
Hi,

I am trying Mosiac TabLayoutPanel. I am getting below exception for
the same. When I compile the code it works fine but I am not able to
debug the same in Hosted Mode (I am using Eclipse Plugin).

Expecting an early response from you.

TabLayoutPanel tabPanel= new TabLayoutPanel();

tabPanel.add(new HTML("HTML Content1), new TabLabelHTML("Tab1",
"1"));

I have also included <inherits name="org.gwt.mosaic.Mosaic" /> in
gwt.xml

Warm Regards,

Allahbaksh

Version of Software



GWT 1.7

Mosiac 03 rc1.


[ERROR] Unable to load module entry point class
com.infy.icode.client.ICode (see associated exception for details)

java.lang.RuntimeException: Deferred binding failed for
'org.gwt.mosaic.ui.client.CaptionImages' (did you forget to inherit a
required module?)

at com.google.gwt.dev.shell.GWTBridgeImpl.create
(GWTBridgeImpl.java:43)

at com.google.gwt.core.client.GWT.create(GWT.java:91)

at org.gwt.mosaic.ui.client.Caption.<clinit>(Caption.java:
72)

at org.gwt.mosaic.ui.client.ScrollTabBar.<init>
(ScrollTabBar.java:266)

at org.gwt.mosaic.ui.client.ScrollTabBar.<init>
(ScrollTabBar.java:184)

at org.gwt.mosaic.ui.client.TabLayoutPanel.<init>
(TabLayoutPanel.java:151)

at org.gwt.mosaic.ui.client.TabLayoutPanel.<init>
(TabLayoutPanel.java:121)

at com.infy.icode.client.ICode.onModuleLoad(ICode.java:37)

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:235)

at com.google.gwt.dev.HostedModeBase.pumpEventLoop
(HostedModeBase.java:558)

at com.google.gwt.dev.HostedModeBase.run
(HostedModeBase.java:405)

at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

Caused by: java.lang.NoSuchFieldError: component

at java.awt.Container.initIDs(Native Method)

at java.awt.Container.<clinit>(Unknown Source)

at sun.misc.Unsafe.ensureClassInitialized(Native Method)

at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor
(Unknown Source)

at sun.reflect.ReflectionFactory.newFieldAccessor(Unknown
Source)

at java.lang.reflect.Field.acquireFieldAccessor(Unknown
Source)

at java.lang.reflect.Field.getFieldAccessor(Unknown
Source)

at java.lang.reflect.Field.get(Unknown Source)

at sun.awt.SunToolkit$6.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native
Method)

at sun.awt.SunToolkit.<clinit>(Unknown Source)

at sun.awt.Win32GraphicsEnvironment.<clinit>(Unknown
Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment
(Unknown Source)

at java.awt.image.BufferedImage.createGraphics(Unknown
Source)

at
com.google.gwt.user.rebind.ui.ImageBundleBuilder.drawBundledImage
(ImageBundleBuilder.java:450)

at
com.google.gwt.user.rebind.ui.ImageBundleBuilder.writeBundledImage
(ImageBundleBuilder.java:319)

at
com.google.gwt.user.rebind.ui.ImageBundleGenerator.generateImplClass
(ImageBundleGenerator.java:305)

at
com.google.gwt.user.rebind.ui.ImageBundleGenerator.generate
(ImageBundleGenerator.java:159)

at com.google.gwt.dev.cfg.RuleGenerateWith.realize
(RuleGenerateWith.java:49)

at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.tryRebind(StandardRebindOracle.java:113)

at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.rebind(StandardRebindOracle.java:62)

at com.google.gwt.dev.shell.StandardRebindOracle.rebind
(StandardRebindOracle.java:172)

at com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind
(ShellModuleSpaceHost.java:114)

at com.google.gwt.dev.shell.ModuleSpace.rebind
(ModuleSpace.java:474)

at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate
(ModuleSpace.java:365)

at com.google.gwt.dev.shell.GWTBridgeImpl.create
(GWTBridgeImpl.java:39)

at com.google.gwt.core.client.GWT.create(GWT.java:91)

at org.gwt.mosaic.ui.client.Caption.<clinit>(Caption.java:
72)

at org.gwt.mosaic.ui.client.ScrollTabBar.<init>
(ScrollTabBar.java:266)

at org.gwt.mosaic.ui.client.ScrollTabBar.<init>
(ScrollTabBar.java:184)

at org.gwt.mosaic.ui.client.TabLayoutPanel.<init>
(TabLayoutPanel.java:151)

at org.gwt.mosaic.ui.client.TabLayoutPanel.<init>
(TabLayoutPanel.java:121)

at com.infy.icode.client.ICode.onModuleLoad(ICode.java:37)

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:235)

at com.google.gwt.dev.HostedModeBase.pumpEventLoop
(HostedModeBase.java:558)

at com.google.gwt.dev.HostedModeBase.run
(HostedModeBase.java:405)

at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)
Reply all
Reply to author
Forward
0 new messages