I started getting the same error after upgrading to 2.3. The error occurs when a client receives response and attempts to create a proxy from the data encoded in the response string. The stack up to the point of failure is at the bottom of the message.
When a response from the server is received, this method in JsniCreaterMap is called twice with the same proxy type (clazz). First time the get() method succeeds, the second time it returns a null JsArray assigned to arr local variable. <https://lh6.googleusercontent.com/-iCiSLwruozA/Tiz8mPvJOaI/AAAAAAAAAQI/FhN5Ti_3eWc/Screenshot.png> The get() method is a simple java script lookup: <https://lh4.googleusercontent.com/-nykVn7JA4r0/Tiz9YB2PEVI/AAAAAAAAAQM/leL2tA3wv5U/Screenshot-1.png> Not sure what's going on here, but it all worked fine before upgrading to GWT 2.3. Once create() returns null, AbstractRequestFactory$2(AbstractRequestContext).createProxy(Class<T>, SimpleProxyId<T>) fails: <https://lh6.googleusercontent.com/-Xr4tIa-dO18/Tiz-OtorU_I/AAAAAAAAAQQ/etTefIk7EXc/Screenshot-2.png> It looks like I'm not alone with this error and it started to occur in GWT 2.3. Any help would be greatly appreciated. Thanks! 6afUkn4PPdS7L*m[] (Suspended) JsniCreatorMap$.create$(Class<T>, AbstractAutoBeanFactory) line: 50 AppRequestFactoryImpl_FactoryImpl(AbstractAutoBeanFactory).create(Class<T>) line: 44 AbstractRequestFactory$2(AbstractRequestContext).createProxy(Class<T>, SimpleProxyId<T>) line: 426 AbstractRequestFactory$2(AbstractRequestContext).getProxyForReturnPayloadGraph(SimpleProxyId<Q>) line: 673 AbstractRequestFactory$2(AbstractRequestContext).processReturnOperation(SimpleProxyId<Q>, OperationMessage, WriteOperation...) line: 757 AbstractRequestFactory$2(AbstractRequestContext).processReturnOperations(ResponseMessage) line: 1067 AbstractRequestContext.access$5(AbstractRequestContext, ResponseMessage) line: 1037 AbstractRequestContext$StandardPayloadDialect.processPayload(Receiver<Void>, String) line: 276 AbstractRequestContext$4.onTransportSuccess(String) line: 959 DefaultRequestTransport$1.onResponseReceived(Request, Response) line: 141 Request.fireOnResponseReceived(RequestCallback) line: 287 RequestBuilder$1.onReadyStateChange(XMLHttpRequest) line: 395 GeneratedMethodAccessor67.invoke(Object, Object[]) line: not available DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object...) line: 597 MethodAdaptor.invoke(Object, Object...) line: 103 MethodDispatch.invoke(JsValue, JsValue[], JsValue) line: 71 OophmSessionHandler.invoke(BrowserChannelServer, BrowserChannel$Value, int, BrowserChannel$Value[]) line: 167 BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer$SessionHandlerServer) line: 326 BrowserChannelServer.invokeJavascript(CompilingClassLoader, JsValueOOPHM, String, JsValueOOPHM[], JsValueOOPHM) line: 207 ModuleSpaceOOPHM.doInvoke(String, Object, Class<?>[], Object[]) line: 132 ModuleSpaceOOPHM(ModuleSpace).invokeNative(String, Object, Class<?>[], Object[]) line: 561 ModuleSpaceOOPHM(ModuleSpace).invokeNativeObject(String, Object, Class<?>[], Object[]) line: 269 JavaScriptHost.invokeNativeObject(String, Object, Class<?>[], Object[]) line: 91 Impl.apply(Object, Object, Object) line: not available Impl.entry0(Object, Object, Object) line: 214 GeneratedMethodAccessor59.invoke(Object, Object[]) line: not available DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object...) line: 597 MethodAdaptor.invoke(Object, Object...) line: 103 MethodDispatch.invoke(JsValue, JsValue[], JsValue) line: 71 OophmSessionHandler.invoke(BrowserChannelServer, BrowserChannel$Value, int, BrowserChannel$Value[]) line: 167 BrowserChannelServer.reactToMessages(BrowserChannelServer$SessionHandlerServer) line: 281 BrowserChannelServer.processConnection() line: 531 BrowserChannelServer.run() line: 352 Thread.run() line: 662 -- 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/-/bIXifgOcQU8J. 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.
