Bob, Another bug for you in deRPC. Please ping me if you want me to file an issue.
*Test case : * domain model Order -> n Clients (ArrayList<Client>) getOrders() RPC service is supposed to return the Order with its Clients collection (initially empty). That works in DevMode and hangs in ProdMode with the current trunk When I call the rpc I get in ProdMode --------------------------------------------------- java.lang.NullPointerException at com.google.gwt.rpc.server.WebModePayloadSink.getBytes(WebModePayloadSink.java:860) at com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.constructorFunction(WebModePayloadSink.java:607) at com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:260) at com.google.gwt.rpc.client.ast.InstantiateCommand.traverse(InstantiateCommand.java:54) at com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320) at com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42) at com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:285) at com.google.gwt.rpc.client.ast.InstantiateCommand.traverse(InstantiateCommand.java:54) at com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320) at com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42) at com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:237) at com.google.gwt.rpc.client.ast.ArrayValueCommand.traverse(ArrayValueCommand.java:53) at com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320) at com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42) Client side I get a "cannot read Property '0' for undefined bla bla...." Don't know why "x" would be null in this case and don't get time to dig further ... I can post the json streams with gwt.rpc.pretty activated if u want. Sami -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
