Re: How to troubleshoot NPE during UIBinder component initialization
Thanks,
adding "-gen <folder>" compiler argument (and adding the <folder> to
classpath when running in dev.mode) helped with both generated code
and more informative error messages. I was missing inherited modules
in the application gwt.xml file.
On Mar 23, 11:35 am, Thomas Broyer <t.bro...@gmail.com> wrote:
> To debug generated code: pass the -gen argument to DevMode (e.g. -gen gen)
> so you can look at the generated code (will be emitted to the given folder).
> Here, you could then have access to the generated createAndBindUi method and
> the line 18 where the error occurs.
> You can also add the folder to the Sources tab in your Eclipse launcher
> (assuming you're using Eclipse) and Eclipse will now allow you to step into
> the generated class.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home