jexp / batch-import

generic csv file neo4j batch importer
https://neo4j.com/docs/operations-manual/current/tools/import/
385 stars 157 forks source link

Getting java.lang.NullPointerException #105

Closed sisodiakaran closed 9 years ago

sisodiakaran commented 9 years ago
Usage: Importer data/dir nodes.csv relationships.csv [node_index node-index-name fulltext|exact nodes_index.csv rel_index rel-index-name fulltext|exact rels_index.csv ....]
Using: Importer batch.properties graph.db nodes.csv rels.csv

Using Existing Configuration File

Importing 18852 Nodes took 0 seconds 

Total import time: 4 seconds 
Exception in thread "main" java.lang.NullPointerException
    at org.neo4j.batchimport.importer.RelType.update(RelType.java:9)
    at org.neo4j.batchimport.Importer.importRelationships(Importer.java:153)
    at org.neo4j.batchimport.Importer.doImport(Importer.java:232)
    at org.neo4j.batchimport.Importer.main(Importer.java:83)
sisodiakaran commented 9 years ago

Figured out the issue. This was due to empty relation type.