java.lang.RuntimeException: Scalar response queries must only return one column. Make sure your cypher query only returns one item.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by sachin2411
, 1 year ago
Scalar response queries must only return one column. Make sure your cypher query only returns one item.
via GitHub by sachin2411
, 1 year ago
Scalar response queries must only return one column. Make sure your cypher query only returns one item.
java.lang.RuntimeException: Scalar response queries must only return one column. Make sure your cypher query only returns one item.
at org.neo4j.ogm.context.EntityRowModelMapper.map(EntityRowModelMapper.java:38)
at org.neo4j.ogm.session.delegates.ExecuteQueriesDelegate.executeAndMap(ExecuteQueriesDelegate.java:116)
at org.neo4j.ogm.session.delegates.ExecuteQueriesDelegate.query(ExecuteQueriesDelegate.java:83)
at org.neo4j.ogm.session.Neo4jSession.query(Neo4jSession.java:384)
at com.digitate.ignio.studio.neo4j.services.EntityNodeService.getRootEntityWithAssociations(EntityNodeService.java:521)
at com.digitate.ignio.studio.neo4j.services.EntityNodeService.getEffectiveEntities(EntityNodeService.java:153)
at com.digitate.ignio.studio.service.model.ERModelService.getERModelForResource(ERModelService.java:217)
at com.digitate.ignio.studio.rest.ResourceRestService.getErDiagramXML(ResourceRestService.java:255)
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:483)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.