Tuesday, March 26, 2013

Re: RequestFactory Could not parse payload: payload[0] = N

I ran into the same problem. With a bit of debugging I found out that I was trying to send NaN in one of my Float attributes to the GWT Client. 

Dňa streda, 6. februára 2013 23:07:19 UTC+1 Sydney napísal(-a):
If you have a test case to reproduce that issue, you can provide it to that issue on google app engine: https://code.google.com/p/googleappengine/issues/detail?id=8471

On Friday, January 18, 2013 9:23:52 PM UTC+1, El Mentecato Mayor wrote:
I should have thought of that, sorry. Unfortunately (fortunately for me), I don't see the error anymore. Lots of things changed in the mean time (source code and db schema) as this project is under heavy development. Yes, I could go back-trace using my repository and maybe make it fail again, but time is a scarce commodity, so I choose to continue development.

I did notice one anomaly the day it happened, not sure it's related to the issue; I had a copy of a src directory under my WEB-INF folder, (I blame eclipse, but who knows, could have been user-error; me), which I deleted. I'll make sure to capture the payload if I see this again.


On Wednesday, January 16, 2013 1:47:11 PM UTC-5, Thomas Broyer wrote:
Would be great if any of you could log the request payload when this error happens.
In the mean time, we might want to modify the RequestFactoryServlet to log the payload when there's an unrecoverable error, in addition to the exception.
Could you please open an issue? (if there's none already)

On Wednesday, January 16, 2013 7:08:44 PM UTC+1, El Mentecato Mayor wrote:
Just saw this error myself as well, slightly different message:

Unexpected error: java.lang.RuntimeException: Could not parse payload: payload[0] = I

using GWT 2.5 and no GAE. Stacktrace is exactly the same though. Don't know why or what it means, just that I get it so far when a specific request is made. Has anybody found out what this means?

On Monday, January 14, 2013 11:17:27 AM UTC-5, Nick Siderakis wrote:
Hey Sydney, I've been seeing the same error message recently. Did you figure it out?


On Saturday, July 28, 2012 3:46:00 PM UTC-4, Sydney wrote:

After deploying my app on appengine, I get the following exception:

com.google.web.bindery.requestfactory.server.RequestFactoryServlet doPost: Unexpected error  java.lang.RuntimeException: Could not parse payload: payload[0] = N      at com.google.web.bindery.autobean.vm.impl.JsonSplittable.create(JsonSplittable.java:70)      at com.google.web.bindery.autobean.shared.impl.StringQuoter.create(StringQuoter.java:46)      at com.google.web.bindery.autobean.shared.ValueCodex$Type$7.encode(ValueCodex.java:122)      at com.google.web.bindery.autobean.shared.ValueCodex.encode(ValueCodex.java:315)      at com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$ValueCoder.extractSplittable(AutoBeanCodexImpl.java:500)      at com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.setProperty(AbstractAutoBean.java:277)      at com.google.web.bindery.autobean.vm.impl.ProxyAutoBean.setProperty(ProxyAutoBean.java:253)      at com.google.web.bindery.autobean.vm.impl.BeanPropertyContext.set(BeanPropertyContext.java:44)      at com.google.web.bindery.requestfactory.server.Resolver$PropertyResolver.visitValueProperty(Resolver.java:154)      at com.google.web.bindery.autobean.vm.impl.ProxyAutoBean.traverseProperties(ProxyAutoBean.java:289)      at com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.traverse(AbstractAutoBean.java:166)      at com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.accept(AbstractAutoBean.java:101)      at com.google.web.bindery.requestfactory.server.Resolver.resolveClientValue(Resolver.java:395)      at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.processInvocationMessages(SimpleRequestProcessor.java:483)      at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:225)      at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:127)      at com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:133)      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

Any idea of what the exception means? Thanks

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment