Saturday, May 24, 2014

Re: SuperDevMode (SDM) and catch basic Exception in Anonymous Classes

  Now i'm using GWT 2.6.1, but the trouble is the some. Still no useful exception error. Any idea how can I catch the describe problem? Right now I have only two strategies :
1) use Chrome debug / GWT.log, to narrow down the place where error occur. 
2) use Hosted mode with FF. 

Thank you,

On Friday, April 11, 2014 10:21:39 PM UTC+2, maticpetek wrote:
   I have created "Hello World" with one button and click handler that throws NPE. Simple code :

final Button sendButton = new Button("Send");
sendButton.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
String str = null;
str.length(); // BUG. NullPointerException
I have check :
1) Chrome Console - no useful information with class and line number (see screenshot)
2) Chrome Source tab + turn on breakpoint on exception - the some. (see screenshot)

Any idea how can I get Java source name and line number? Af course the real problem is our 200k LOC of client code project in GWT and usage of SDM. I'm using GWT 2.6. 
Thank you for your help

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment