Point it to an empty directory You pointed it to a directory with a different neo4j version
Sent from mobile device Am 15.08.2014 um 23:49 schrieb Steve Pearlman <[email protected]>: > I'm only trying to do the following: > BatchInserter ins = BatchInserters.inserter("target/batchinserter-example"); > where "target/batchinserter-example" is a given store directory. It compiles > fine, but I get: > > Exception in thread "main" java.lang.ExceptionInInitializerError > at > org.neo4j.unsafe.batchinsert.BatchInserterImpl.rejectAutoUpgrade(BatchInserterImpl.java:556) > at > org.neo4j.unsafe.batchinsert.BatchInserterImpl.<init>(BatchInserterImpl.java:219) > at > org.neo4j.unsafe.batchinsert.BatchInserters.inserter(BatchInserters.java:94) > at > org.neo4j.unsafe.batchinsert.BatchInserters.inserter(BatchInserters.java:88) > at > org.neo4j.unsafe.batchinsert.BatchInserters.inserter(BatchInserters.java:63) > at > org.neo4j.unsafe.batchinsert.BatchInserters.inserter(BatchInserters.java:51) > at NeoBatchInserter.main(NeoBatchInserter.java:26) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.neo4j.graphdb.factory.GraphDatabaseSettings.<clinit>(GraphDatabaseSettings.java:69) > ... 7 more > I have no idea how to fix this, and I've been trying for hours with different > versions of Neo, and I just can't get it to work. I've tried with string > parameters that are arbitrary, I've tried with string parameters > that pointed absolutely/relatively to a graph.db, still to no avail. Any > help would be most appreciated. > > If there's an alternative approach, I'm more than happy to take it. I just > want to be able to use BatchInserter. > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
