Getting com.google.gwt.user.client.rpc.StatusCodeException: 0 in GWT

前端 未结 4 590
清酒与你
清酒与你 2021-02-14 21:29

I sometimes/often get this Exception in GWT but don\'t know why:

SEVERE: com.google.gwt.user.client.rpc.StatusCodeException: 0 
java.lang.RuntimeException: com.g         


        
4条回答
  •  有刺的猬
    2021-02-14 21:55

    I have found that if you hang an rpc call on the server (Thread.wait()) and the browser is refreshed then on the client side just before it loads the page again it will call the onFailure method of the waiting callback with the above mentioned status code which suggests it orginates in the client or that it is a generic error code for non-specific caught exceptions.

提交回复
热议问题