Hi,
I am trying to import one million documents within a directory to basex using the console as described on the faq-page.
The command I am using is: java -cp BaseX61.jar org.basex.BaseXClient -vc "create DB /home/tuscreen/cml tuscreen "
Immediately after execution the server throws an exception: Exception in thread "Thread-6" java.lang.NullPointerException at org.basex.build.DiskBuilder.close(DiskBuilder.java:102) at org.basex.build.DiskBuilder.abort(DiskBuilder.java:88) at org.basex.core.Progress.abort(Progress.java:98) at org.basex.core.Proc.run(Proc.java:146) at org.basex.core.Proc.exec(Proc.java:109) at org.basex.server.ServerProcess.run(ServerProcess.java:128)
When importing a small fraction of the data, everything works fine. Is there any way to import all documents?
Thank you
Patrick
Patrick,
thanks for your report. Have you managed to reproduce the bug (i.e., has it occurred a second time?) As a shorthand, I'd suggest to try the latest, stable version of BaseX, which you find at:
http://www.inf.uni-konstanz.de/dbis/basex/maven/org/basex/basex/6.1.9/
Looking forward to your feedback, Christian
On Wed, Jul 7, 2010 at 5:05 PM, Patrick Schäfer patrick.schaefer@zib.de wrote:
Hi,
I am trying to import one million documents within a directory to basex using the console as described on the faq-page.
The command I am using is: java -cp BaseX61.jar org.basex.BaseXClient -vc "create DB /home/tuscreen/cml tuscreen "
Immediately after execution the server throws an exception: Exception in thread "Thread-6" java.lang.NullPointerException at org.basex.build.DiskBuilder.close(DiskBuilder.java:102) at org.basex.build.DiskBuilder.abort(DiskBuilder.java:88) at org.basex.core.Progress.abort(Progress.java:98) at org.basex.core.Proc.run(Proc.java:146) at org.basex.core.Proc.exec(Proc.java:109) at org.basex.server.ServerProcess.run(ServerProcess.java:128)
When importing a small fraction of the data, everything works fine. Is there any way to import all documents?
Thank you Patrick
basex-talk@mailman.uni-konstanz.de