Wednesday, September 28, 2011

UiBinder errors not very helpful -- am i missing a compiler option?

Hi,

I'm starting a new gwt project, and I've decided to use UiBinder
instead of pure java. I'm starting to regret this decision. In fact,
I'm starting to think that maybe I should switch to pure java. But
before that, I thought I post a question and get your feedback.

In my limited experience, UiBinder is all great, until something goes
wrong. Then there is no indication of how to solve the problem. All
I get from eclipse is "Failed to create an instance of <the ui-binder
class> vai deferred binding." Followed by a null pointer stacktrace.
Not very useful. And if I want to figure out what's going on, I guess
I'll have to figure out where the compiled <ui-binder-impl.java> is
stored and scan through that...which defeats the point of having a
compiler.

Am I missing a compiler option or something that would generate better
error messages?

Thanks in advance.

--
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.

No comments:

Post a Comment