Did you try to check the server logs? Can you attach the outgoing jsons and incoming?
2011/4/22 Patrick Jennings <[email protected]> > I am using the following method in my robot to process the list > of JsonRpcResponse objects > returned from a call to com.google.wave.api.AbstractRobot.submit: > > private String getParam(List<JsonRpcResponse> response, ParamsProperty p) { > for(JsonRpcResponse jsonRpcResponse : response) { > Map<ParamsProperty, Object> data = jsonRpcResponse.getData(); > String param = (String) data.get(p); > if(param != null) > return param; > } > return null; > } > (from: > http://www.mail-archive.com/[email protected]/msg04969.html > ) > > This is very useful since I can do something like: > String newwaveid = getParam(submit(newwave, > rpcserverurl), ParamsProperty.WAVE_ID); > to get back the id of the newly created wave from the WIAB server. > > This was working fine until a few days ago when I started getting > a NullPointerException > from the line: > Map<ParamsProperty, Object> data = jsonRpcResponse.getData(); > > It seems that the submit call is now returning an empty > list of JsonRpcResponse objects. > Has anything changing in the last couple of days that could have caused > this? > > Any help would be greatly appreciated. I have to give a demo of my robot > tomorrow > so I am in desperate need of some assistance. > > Thank you, > Patrick Jennings >
