Hi all,
I have installed gwt-ext through Maven plugin for eclipse. I am using
gwtext version 2.0.5.
I have added the following to MyApplication.gwt.xml:
<inherits name='com.gwtext.GwtExt' />
<stylesheet src="GwtExt.css" />
<script src="js/GwtExt.js"></script>
I have also added the following to MyApplication.html:
<script type="text/javascript" src="js/GwtExt.js"
charset="utf-8"></script>
I am using some getext windgets and everything passes compilation.
When I run my application, I get the following error pointing to the
first line of code where I am using the gwtext widget:
[ERROR] Failed to create an instance of 'MyApplication' via
deferred binding
java.lang.ExceptionInInitializerError: null
at MyApplication.<init>(MyApplication.java:66)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate
(ModuleSpace.java:367)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:312)
at com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace
(BrowserWidget.java:345)
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:76)
at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.invoke
(BrowserWidgetIE6.java:153)
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:237)
at com.google.gwt.dev.HostedModeBase.pumpEventLoop
(HostedModeBase.java:555)
at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:402)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:140)
Caused by: com.google.gwt.core.client.JavaScriptException:
(TypeError): '$wnd.Ext.StatusBar' is null or not an object
number: -2146823281
description: '$wnd.Ext.StatusBar' is null or not an object
at com.gwtext.client.widgets.Component.checkExtVer(Native Method)
at com.gwtext.client.widgets.Component.<clinit>(Component.java:108)
at MyApplication.<init>(MainView.java:66)
Any ideas as to what I am missing and/or how I can fix this? Any help
would be greatly appreciated.
Thanks,
Payam
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---