2 Replies Latest reply on Nov 1, 2013 11:55 AM by Pieter Delmee

    Error parsing JSON: SyntaxError: Unexpected token T

    Pieter Delmee Newbie

      I'm trying out the errai-cdi-demo-mvp 3.0-SNAPSHOT

      When I click around in it, adding a contact for example.

      I always get the following error:

       

      com.google.gwt.json.client.JSONException: Error parsing JSON: SyntaxError: Unexpected token T

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

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:606)

      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:338)

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

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

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

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

      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:213)

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

      at org.jboss.errai.bus.client.util.BusToolsCli.decodePayload(BusToolsCli.java:62)

      at org.jboss.errai.bus.client.util.BusToolsCli.decodeToCallback(BusToolsCli.java:50)

      at org.jboss.errai.bus.client.framework.transports.HttpPollingHandler$LongPollRequestCallback.onResponseReceived(HttpPollingHandler.java:399)

      at org.jboss.errai.bus.client.framework.transports.HttpPollingHandler$2.onResponseReceived(HttpPollingHandler.java:524)

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

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

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

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:606)

      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:338)

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

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

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

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

      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:242)

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

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:606)

      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:293)

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

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

      at java.lang.Thread.run(Thread.java:724)