org.neo4j.server.rest.repr.BadInputException: Unexpected character ('T' (code 84)): was expecting comma to separate OBJECT entries [line: 1, column: 41]


Solutions on the web

Solution icon of stackoverflow
Unexpected character ('T' (code 84)): was expecting comma to separate OBJECT entries [line: 1, column: 41]

Solution icon of googlegroups
via Google Groups by Unknown author, 3 months ago
Unexpected character ('b' (code 98)): was expecting comma to separate OBJECT entries at [Source: java.io.StringReader@3fa43ae9; line: 1, column: 35]

Solution icon of github
java.lang.String cannot be cast to java.util.Map

Stack trace

org.neo4j.server.rest.repr.BadInputException: Unexpected character ('T' (code 84)): was expecting comma to separate OBJECT entries [line: 1, column: 41]
	at org.neo4j.server.rest.repr.formats.JsonFormat.readMap(JsonFormat.java:94)
	at org.neo4j.server.rest.web.CypherService.cypher(CypherService.java:89)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
Caused by: org.neo4j.server.rest.domain.JsonParseException: Unexpected character ('T' (code 84)): was expecting comma to separate OBJECT entries [line: 1, column: 41]
	at org.neo4j.server.rest.domain.JsonHelper.readJson(JsonHelper.java:73)
	at org.neo4j.server.rest.domain.JsonHelper.jsonToMap(JsonHelper.java:54)
	at org.neo4j.server.rest.repr.formats.JsonFormat.readMap(JsonFormat.java:90)
	... 8 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.