Perhaps the problem has a link with my xml file.this is my xml file:
<module>
<!-- Inherit the core Web Toolkit stuff.
-->
<inherits name='com.google.gwt.user.User'/>
<!-- Inherit the default GWT style sheet. You can change
-->
<!-- the theme of your GWT application by uncommenting
-->
<!-- any one of the following lines.
-->
<inherits name='com.google.gwt.user.theme.standard.Standard'/>
<inherits name='com.google.gwt.user.theme.chrome.Chrome'/>
<inherits name='com.google.gwt.user.theme.dark.Dark'/>
<inherits name='com.gwtext.GwtExt'/>
<!-- Other module inherits
-->
<!-- Specify the app entry point class.
-->
<entry-point class='com.gwt.client.MyApplication'/>
<!-- Specify the application specific style sheet.
-->
<stylesheet src='MyApplication.css' />
</module>
[EMAIL PROTECTED] a écrit :
> Hello,
> i've built a gwt project with projectCreator and applicationCreator.I
> have the default page when i try to run my project.It works
> correctly.But when i modify the application class MyApplication and i
> write this code
>
> package com.gwt.client;
>
> import com.google.gwt.core.client.EntryPoint;
> import com.google.gwt.user.client.ui.RootPanel;
> import com.gwtext.client.widgets.Panel;
>
> /**
> * Entry point classes define <code>onModuleLoad()</code>.
> */
> public class MyApplication implements EntryPoint {
>
> /**
> * This is the entry point method.
> */
> private LoginApplicationWindow window;
> public void onModuleLoad() {
> Panel panel = new Panel();
> RootPanel.get().add(panel);
>
> }
> } and i run it i have this error
>
> [ERROR] Unable to load module entry point class
> com.gwt.client.MyApplication (see associated exception for details)
> com.google.gwt.core.client.JavaScriptException: (TypeError):
> '$wnd.Ext.StatusBar' a la valeur Null ou n'est pas un objet.
> number: -2146823281
> description: '$wnd.Ext.StatusBar' a la valeur Null ou n'est pas un
> objet.
> at com.gwtext.client.widgets.Component.checkExtVer(Native Method)
> at com.gwtext.client.widgets.Component.<clinit>(Component.java:108)
> at com.gwt.client.MyApplication.onModuleLoad(MyApplication.java:17)
> Can you explain me why i have this error and what can i resolve it?
>
> Arnaud
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---