Neo4j在RC01中导入工具错误

时间:2015-03-14 10:59:04

标签: import neo4j

我已经使用批量导入工具在2.2M03上成功导入了一个大型Neo4j数据库。 但是现在我需要使用2.2RC01并且当我使用我用于上一次导入的相同文件时,不能使用相同的导入工具,我得到一个Import null错误。

message.log显示:

2015-03-14 08:36:19.670+0000 INFO  [org.neo4j]: Import starting
2015-03-14 08:36:19.732+0000 INFO  [org.neo4j]: Creating new db @ C:\neo4j\neo4j\data\test.db\neostore
2015-03-14 08:36:20.418+0000 INFO  [org.neo4j]: Missing counts store, rebuilding it.
2015-03-14 08:37:10.132+0000 ERROR [org.neo4j]: Error during import null
java.lang.NullPointerException
    at org.neo4j.unsafe.impl.batchimport.input.csv.InputGroupsDeserializer.position(InputGroupsDeserializer.java:95)
    at org.neo4j.unsafe.impl.batchimport.staging.IteratorBatcherStep.position(IteratorBatcherStep.java:70)
    at org.neo4j.unsafe.impl.batchimport.staging.IoProducerStep.stat(IoProducerStep.java:52)
    at org.neo4j.unsafe.impl.batchimport.stats.StepStats.stat(StepStats.java:90)
    at org.neo4j.unsafe.impl.batchimport.stats.StepStats.toString(StepStats.java:115)
    at org.neo4j.unsafe.impl.batchimport.staging.SpectrumExecutionMonitor.printSpectrum(SpectrumExecutionMonitor.java:138)
    at org.neo4j.unsafe.impl.batchimport.staging.SpectrumExecutionMonitor.check(SpectrumExecutionMonitor.java:105)
    at org.neo4j.unsafe.impl.batchimport.staging.MultiExecutionMonitor.check(MultiExecutionMonitor.java:106)
    at org.neo4j.unsafe.impl.batchimport.staging.ExecutionSupervisor.supervise(ExecutionSupervisor.java:65)
    at org.neo4j.unsafe.impl.batchimport.staging.ExecutionSupervisors.superviseDynamicExecution(ExecutionSupervisors.java:65)
    at org.neo4j.unsafe.impl.batchimport.ParallelBatchImporter.executeStages(ParallelBatchImporter.java:226)
    at org.neo4j.unsafe.impl.batchimport.ParallelBatchImporter.doImport(ParallelBatchImporter.java:151)
    at org.neo4j.tooling.ImportTool.main(ImportTool.java:263)

奇怪的是,在导入n个节点后导入失败,导入不同数量的节点后导入失败。

2.2RC01中的文件格式是否有变化?我已经阅读了手册,但没有发现任何差异。

1 个答案:

答案 0 :(得分:1)

此问题已得到修复,将包含在2.2的下一版本中。供您参考:https://github.com/neo4j/neo4j/pull/4128