Error encountered while trying to connect Neo4j using Talend tNeo4jInp

One Star

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
Moderator

Re: Error encountered while trying to connect Neo4j using Talend tNeo4jInp

Hi Ranjan,
 
Could you please show us the component setting screenshot of tNeo4jInput? What does your input subset of data look like?
 
 
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Error encountered while trying to connect Neo4j using Talend tNeo4jInp

any news on this as i am now having the same problem after re-installing talend.  had a package working fine , but now get the same error

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads