I am using gwt-servlet-2.8 RC1 jar on server too. I get 500 Internal Server Error in Throwable. Also I have not tried Gwt 2.8 RC2, I just updated to Rc1 for now. Is this issue fixed in Rc2 ? Also I just discovered that issue goes away if I stop using gwt jackson library which I have started using after upgrading the gwt version. We are using gwt-jackson, because we wnat to serialize/deserialize the objects to be used in local storage, this is the code that I have in one of my DTO(bean) :
public class ResourceBundleBean implements LocallyStorable {
private String someString;
public interface ResourceBundleBeanMapper extends ObjectMapper<ResourceBundleBean> {};
@Override
public ObjectMapper getMapper() {
if(resourceBundleBeanMapper == null) {
resourceBundleBeanMapper = GWT.create( ResourceBundleBeanMapper.class );
}
return resourceBundleBeanMapper;
}
}
I get exception when the above class "ResourceBundleBean" is returned from RPC call, and I get "500 Internal Server Error". If I remove the code of "ResourceBundleBeanMapper " and the getMapper method from this class, then it starts working and I get the response correctly from RPC call without any issue. But I need the above code for serialization as I said above. So I am not sure, why gwt-jackson code is causing the RPC to tjrow 500 Internal server error. Any suggestion would be of great help to me to nail down this issue. Thanks so much for your response.
Thanks,
Nishant