Thursday, February 29, 2024

InvocationTargetException with null cause?

Hi

I am afraid this is probably more a general Java question than a pure GWT question. But I am suspecting the problem somewhere in GWT server-side hence asking here.

I am looking for help to read my stack trace around GWT RPC and InvocationTargetException Btw the system recovered after a server restart, without changing anything.

Stack trace was:
...
    at java.lang.Thread.run(Thread.java:748)
Caused by: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract xx.webapp.shared.domain.xxDTO xx.share>
     at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:416)
     at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:605)
     at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:571)
     at xxx.server.spring.SpringGwtRemoteServiceServlet.processCall(SpringGwtRemoteServiceServlet.java:120)
      ... 101 common frames omitted
Caused by: java.lang.NullPointerException: null

{call stack log ends here}

Relevant GWT code from RPC class:



RPC class checks for cause==null so that's not it. But then why is it not showing the actual line of code where the causing exception is thrown?

Regards,
Alex


--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAHcNM3LsXyzksUv2i7BE8Nee%2By9abiah7UZqTqqsuq2v5-WxcQ%40mail.gmail.com.

No comments:

Post a Comment