Error encountered while trying to connect Neo4j using Talend tNeo4jInp
Trying to connect Neo4j from Talend to export a subset of data out of it based on the Cypher query passed as an parameter using tNeo4jInput api. During this process when I invoke the Talend job it fails with the below error logs.
Exception in component tNeo4jInput_1
java.lang.RuntimeException: Error reading as JSON ''
at org.neo4j.rest.graphdb.util.JsonHelper.readJson(JsonHelper.java:57)
at org.neo4j.rest.graphdb.util.JsonHelper.jsonToSingleValue(JsonHelper.java:62)
at org.neo4j.rest.graphdb.RequestResult.toEntity(RequestResult.java:114)
at org.neo4j.rest.graphdb.RequestResult.toMap(RequestResult.java:120)
at org.neo4j.rest.graphdb.batch.CypherResult.<init>(CypherResult.java:43)
at org.neo4j.rest.graphdb.ExecutingRestAPI.query(ExecutingRestAPI.java:548)
at org.neo4j.rest.graphdb.ExecutingRestAPI.query(ExecutingRestAPI.java:568)
at org.neo4j.rest.graphdb.RestAPIFacade.query(RestAPIFacade.java:235)
at org.neo4j.rest.graphdb.query.RestCypherQueryEngine.query(RestCypherQueryEngine.java:50)
at local_project.neo4jimportjob_0_1.Neo4jImportJob.tNeo4jInput_1Process(Neo4jImportJob.java:535)
at local_project.neo4jimportjob_0_1.Neo4jImportJob.runJobInTOS(Neo4jImportJob.java:1054)
at local_project.neo4jimportjob_0_1.Neo4jImportJob.main(Neo4jImportJob.java:911)
Any help to make this connection work will be much appreciated.
Regards
Ranjan