I'm running devmode through maven plugin (only mention because I'm not sure it is related) and I can't seem to get
Integer i = null;
i.intValue();
-- any stack traces of errors encountered from the client code.
When I run my GWT app, I don't see any third tab appearing like example here:
Source
http://www.gwtproject.org/doc/latest/images/DevelopmentShell2.png
(see it has a Hello (FF) tab).
Nor, any nice stack traces like this:
Source:
Everything is hidden or behind a javascript error, for example I put this in my code:
i.intValue();
Which should obviously generate a null pointer, but rather than a nice stack trace, I see this in the Chrome console but nothing in devmode window or on the terminal console.
[15:32:37.971] "Wed Jul 22 15:32:37 GMT-400 2015 com.google.gwt.logging.client.LogConfiguration
SEVERE: (TypeError) : i_0_g$ is nullcom.google.gwt.core.client.JavaScriptException: (TypeError) : i_0_g$ is null
at Unknown.onModuleLoad2_0_g$(http://127.0.0.1)
at Unknown.execute_64_g$(http://127.0.0.1)
at Unknown.doExecuteCommands_0_g$(http://127.0.0.1)
at Unknown.run_7_g$(http://127.0.0.1)
at Unknown.fire_0_g$(http://127.0.0.1)
at Unknown.createCallback_0_g$/<(http://127.0.0.1)
at Unknown.apply_0_g$(http://127.0.0.1)
at Unknown.entry0_0_g$(http://127.0.0.1)
at Unknown.entry_1_g$/<(http://127.0.0.1)
at Unknown.anonymous(Unknown)
"
Any idea what I'm doing wrong, why can't I see stack traces anymore. I'm using GWT 2.7 with chrome and would really appreciate any help. It is difficult to debug without nice stack traces!
Chris
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment