On Monday, June 20, 2011 10:42:56 AM UTC+2, saurabh saurabh wrote:
>
>
> Caused by: java.lang.RuntimeException: Server Error: null 
>

Your code is throwing a NullPointerException on the server-side.

To trace it further, I'd suggest setting a breakpoint in 
com.google.web.bindery.requestfactory.server.DefaultExceptionHandler, where 
you'll have the full stack-trace for the exception. You can also subclass 
RequestFactoryServlet to pass an ExceptionHandler of your own (that will log 
using java.util.logging, log4j, slf4j, or whatever you're using to log on 
the server-side)

But it really is best to unit-test your locators and services code to find 
those bugs early!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/LB21SmiVWc0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to