3 Replies Latest reply on Jun 20, 2012 9:47 PM by Jervis Liu

    Error parsing JSON: SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data

    Jervis Liu Apprentice

      Hi, we started to get following SyntaxError: JSON.parse exception since today or yesterday. As guvnorng depends on errai snapshot, I guess it must be sth introduced in Errai in the last 1 or 2 days. Any ideas?

       

      Thanks,

      Jervis

       

      200 - GET /org.drools.guvnor.GuvnorNGShowcase/in.52938-24082.erraiBus?z=99 (127.0.0.1) 2 bytes

      PAGEY!

      200 - GET /org.drools.guvnor.GuvnorNGShowcase/in.52938-24082.erraiBus?z=100 (127.0.0.1) 4 bytes

      com.google.gwt.json.client.JSONException: Error parsing JSON: SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data

          at com.google.gwt.json.client.JSONParser.throwJSONException(JSONParser.java:91)

          at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)

          at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)

          at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)

          at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)

          at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)

          at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)

          at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)

          at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)

          at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)

          at com.google.gwt.json.client.JSONParser.evaluate(JSONParser.java)

          at com.google.gwt.json.client.JSONParser.parse(JSONParser.java:218)

          at com.google.gwt.json.client.JSONParser.parseStrict(JSONParser.java:87)

          at org.jboss.errai.bus.client.json.JSONUtilCli.decodePayload(JSONUtilCli.java:61)

          at org.jboss.errai.bus.client.framework.ClientMessageBusImpl.procPayload(ClientMessageBusImpl.java:1467)

          at org.jboss.errai.bus.client.framework.ClientMessageBusImpl.procIncomingPayload(ClientMessageBusImpl.java:1461)

          at org.jboss.errai.bus.client.framework.ClientMessageBusImpl.access$7(ClientMessageBusImpl.java:1460)

          at org.jboss.errai.bus.client.framework.ClientMessageBusImpl$LongPollRequestCallback.onResponseReceived(ClientMessageBusImpl.java:1280)

          at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)

          at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)

          at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)

          at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)

          at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)

          at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)

          at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)

          at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)

          at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)

          at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)

          at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)

          at com.google.gwt.core.client.impl.Impl.apply(Impl.java)

          at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)

          at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)

          at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)

          at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)

          at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)

          at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)

          at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)

          at java.lang.Thread.run(Unknown Source)

      com.google.gwt.json.client.JSONException: Error parsing JSON: SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data

          at com.google.gwt.json.client.JSONParser.throwJSONException(JSONParser.java:91)

          at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)

          at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)

          at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)

          at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)

          at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)

          at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)

          at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)

          at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)

          at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)

          at com.google.gwt.json.client.JSONParser.evaluate(JSONParser.java)

          at com.google.gwt.json.client.JSONParser.parse(JSONParser.java:218)

          at com.google.gwt.json.client.JSONParser.parseStrict(JSONParser.java:87)

          at org.jboss.errai.bus.client.json.JSONUtilCli.decodePayload(JSONUtilCli.java:61)

          at org.jboss.errai.bus.client.framework.ClientMessageBusImpl.procPayload(ClientMessageBusImpl.java:1467)

          at org.jboss.errai.bus.client.framework.ClientMessageBusImpl.procIncomingPayload(ClientMessageBusImpl.java:1461)

          at org.jboss.errai.bus.client.framework.ClientMessageBusImpl.access$7(ClientMessageBusImpl.java:1460)

          at org.jboss.errai.bus.client.framework.ClientMessageBusImpl$LongPollRequestCallback.onResponseReceived(ClientMessageBusImpl.java:1280)

          at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)

          at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)

          at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)

          at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)

          at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)

          at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)

          at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)

          at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)

          at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)

          at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)

          at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)

          at com.google.gwt.core.client.impl.Impl.apply(Impl.java)

          at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)

          at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)

          at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)

          at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)

          at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)

          at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)

          at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)

          at java.lang.Thread.run(Unknown Source)