View Full Version : No errors in GWT Development Mode but error on page without Development mode

10 Dec 2010, 4:04 AM

When we use GWT Development mode, there are no errors in the browser and evertyhing works fine, but if we don't use the development mode there is an error in the browser but the only information we receive is this:

Detaljerad information om felet på webbsidan
Användaragent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; .NET4.0C; .NET4.0E)
Tidsstämpling: Fri, 10 Dec 2010 11:57:56 UTC

Meddelande: 'a' is null or not an object
Rad: 8972
Tecken: 88
Kod: 0

How can I find out what a is?


10 Dec 2010, 4:18 AM
Try to compile your application in pretty mode and look into the code where it happens. Than look at the same place in the real ajva code.

13 Dec 2010, 7:42 AM
Thank you! It helped me. If anyone else wants to know how you compile in detailed or pretty mode you add these values in your build.xml-file:

<!-- Additional arguments like -style PRETTY or -logLevel DEBUG -->
<arg value="-style"/>
<arg value="DETAILED"/>