I'm having an issue with my GWT/GAE app. Whenever it returns one specific kind of serialized object from the backend via RPC, I get this exception and a failure. I know the code is working on the backend (it'll be included under the stack trace). (Exception)
com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot call method 'nullMethod' of null arguments: nullMethod, type: non_object_property_call stack: TypeError: Cannot call method 'nullMethod' of null at Object.ClientPlayer_1 (http://rpstag.appspot.com/ com.MES.Tap2/A37A2E2E9A65DB1BAAE2BFA42572F7F8.cache.html:993:89) at Object.ClientPlayer_0 (http://rpstag.appspot.com/ com.MES.Tap2/A37A2E2E9A65DB1BAAE2BFA42572F7F8.cache.html:984:18) at Array.instantiate_1 [as 0] (http://rpstag.appspot.com/ com.MES.Tap2/A37A2E2E9A65DB1BAAE2BFA42572F7F8.cache.html:1031:10) at $instantiate_0 (http://rpstag.appspot.com/com.MES.Tap2/ A37A2E2E9A65DB1BAAE2BFA42572F7F8.cache.html:10660:34) at $instantiate (http://rpstag.appspot.com/com.MES.Tap2/ A37A2E2E9A65DB1BAAE2BFA42572F7F8.cache.html:1948:10) at $readObject (http://rpstag.appspot.com/com.MES.Tap2/ A37A2E2E9A65DB1BAAE2BFA42572F7F8.cache.html:10148:95) at Object.read_8 [as read] (http://rpstag.appspot.com/ com.MES.Tap2/A37A2E2E9A65DB1BAAE2BFA42572F7F8.cache.html:10608:10) at $onResponseReceived (http://rpstag.appspot.com/com.MES.Tap2/ A37A2E2E9A65DB1BAAE2BFA42572F7F8.cache.html:10352:247) at $fireOnResponseReceived (http://rpstag.appspot.com/ com.MES.Tap2/A37A2E2E9A65DB1BAAE2BFA42572F7F8.cache.html:5002:5) at Object.onReadyStateChange (http://rpstag.appspot.com/ com.MES.Tap2/A37A2E2E9A65DB1BAAE2BFA42572F7F8.cache.html:5222:5) (Code) @Override public ClientPlayer login(String uid) { PersistenceManager pm=PMF.get().getPersistenceManager(); log.warning(Player.class.getName()); log.warning(uid); Key k=KeyFactory.createKey(Player.class.getSimpleName(), uid); Player p; List<List<Integer>> stats; try{ p=pm.getObjectById(Player.class, k); } catch (JDOObjectNotFoundException e){ p=new Player(uid); p.setKey(k); pm.makePersistent(p); } finally { pm.close(); } stats=p.getStats(); return new ClientPlayer(p.getUID(),p.getPerm(), p.getDecks(),stats.get(0), stats.get(1), stats.get(2)); } If you have anything else you want me to post, I'll be happy to provide it. Thanks! -Sam -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.