Tuesday, September 26, 2017

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

For anyone else still having this issue, I thought it may be helpful to share that I encountered a similar exception when attempting to construct a json number with an NaN value

On Saturday, July 28, 2012 at 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 "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment