Btw, everything works perfectly, when being in the Development-Mode. Any ideas?
On 9 Feb., 23:29, Nicolas Gramlich <[email protected]> wrote: > Hi guys, > > I have a pretty strange problem. I have a rather simply GAE-App, > located here:http://3.latest.honstatslogger.appspot.com/(I'll try to > keep that version so the bug can be inspected in the future) > > There are two methods on the RPC-Class and one is performing > normally: > ############# > void addPlayer(final String pPlayerName, final AsyncCallback<Boolean> > pCallback); > ############# > > The signature of the RPC that causes the _problem_ is this one: > ############# > void getPlayerStats(final String pPlayerName, final > AsyncCallback<Collection<PlayerStatsEntry>> pCallback); > ############# > [PlayerStatsEntry is persisted using JDO what worked perfectly fine > and still is working perfectly fine (see bottom).] > > The exception I get on the _client_ side is (due to the GAE-Logs, > nothing is crashing on the _server_ side): > ############# > com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: > "The response could not be deserialized" > ############# > > I can verify that the problem occuring is not related to a change of > the code. (I was asleep when it occurred first) > > The implementation of the above RPC ends with (Its Scala code but as > it worked before it's not a Scala issue): > ############# > LOG.warning("Result: " + result.toString) > return result > ############# > > To narrow the problem-scope I added a new single dataset to the > server, (usually more than one gets returned) with very simple data, > so I could easily see a failure in the data-strucutre, but there was > none. > This is what gets logged to the server (simple generated toString of > the class): > ############# > Result: [PlayerStatsEntry [AP=1, APEM=1, AR=1, AREM=1, acc_actions=1, > acc_amm_solo_count=1, acc_amm_solo_rating=1, acc_amm_team_count=1, > acc_amm_team_rating=1, acc_avg_score=1.0, acc_bdmg=1, acc_bdmgexp=1, > acc_bgold=1, acc_buybacks=1, acc_concedes=1, acc_concedevotes=1, > acc_consumables=1, acc_deaths=1, acc_denies=1, acc_discos=1, > acc_em_played=1, acc_exp=1, acc_exp_denied=1, acc_games_played=1, > acc_gold=1, acc_gold_spent=1, acc_goldlost2death=1, acc_heroassists=1, > acc_herodmg=1, acc_heroexp=1, acc_herokills=1, acc_herokillsgold=1, > acc_kicked=1, acc_losses=1, acc_neutralcreepdmg=1, > acc_neutralcreepexp=1, acc_neutralcreepgold=1, > acc_neutralcreepkills=1, acc_pub_count=1, acc_pub_skill=1, > acc_razed=1, acc_secs=1, acc_secs_dead=1, acc_teamcreepdmg=1, > acc_teamcreepexp=1, acc_teamcreepgold=1, acc_teamcreepkills=1, > acc_wards=1, acc_wins=1, aid=0, key=PlayerStatsEntry(11001), level=1, > nickname=xxxyyyxxx, timestamp=1265314522272]] > ############# > Perfectly valid data as I can tell you. > > So I have absolutely no idea what is going wrong here and it would be > great if someone could help me on this as there are currently a couple > of hundred people waiting on this to be fixed =( > > Big Thanks in advance! > > Best Regards, > Nicolas -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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.
