public User authenticate(String sessionKey, Integer offset) throws NotLoggedInException;
GWT 2.7:
GWT-2.8, 2.9:
The request encoding sent to server is identical here except the last two items have changed to 'undefined'.
This causes decoding to fail with:
WARN 16:40:14.014 [qtp756508433-309] / - Exception while dispatching incoming RPC call
java.lang.NumberFormatException: Expected type 'int' but received a non-numerical value: undefined
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.getNumberFormatException(ServerSerializationStreamReader.java:1027)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.readInt(ServerSerializationStreamReader.java:551)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.readString(ServerSerializationStreamReader.java:607)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:286)
Another illustrative example:
void setParam(String sessionKey, String val) throws NotLoggedInException;
Again, one of the fields in the request is not set right.
Does anyone have any ideas what's wrong here or how to fix it?
I would log a bug but I cannot reproduce this when I make a small test project and copy an individual RPC example.
And there you have it... absolutely no idea why it's malfunctioning in this way. Any help is greatly appreciated!
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/e6492c9f-e3e1-4933-b1eb-5bbaca5e1866n%40googlegroups.com.
function intValue__I__devirtual$_0_g$(this$static_0_g$){ $clinit_Number_0_g$(); return instanceOfDouble_0_g$(this$static_0_g$)?$intValue_0_g$(this$static_0_g$):this$static_0_g$.intValue_20_g$();}intValue__I__devirtual$_0_g$.displayName = 'Number.intValue__I__devirtual$';
_.intValue_20_g$ = function intValue_4_g$(){ return this.value_73_g$;}_.intValue_20_g$.displayName = 'Integer.intValue';