I'm pretty sure I can (in fact I did at least three times), though with the recent virtualbox guest additions running the vm seems a pain in the back... Actually I had no other exceptions and db creation (a collection) was just fine and the db works too afterwards - if I have the time I'll try to decrease the amount of imported files and see if I can find a particular xml file and will send that.
Szabolcs
On Fri, Jun 25, 2010 at 4:54 PM, Christian Grün christian.gruen@gmail.com wrote:
I'm not 100% sure if it is a bug in BaseX or it's just me, but maybe it's better to post it. The error below happens after importing lots of xml files (~100mb) and then calling Optimize - on Arch linux, inside Virtualbox. The same process finishes without problems on Windows XP.
Hm, can you reproduce this case? Did something go wrong while creating the db?
Thanks, Christian
0 [SwingWorker-pool-3-thread-1] ERROR com.rosamez.jdvdkat.DbManager - Could not optimize the db. Possible bug? Feedback is welcome: info@basex.org BaseX 6.1.7: java.lang.ArrayIndexOutOfBoundsException: 0 org.basex.util.Num.size(Num.java:84) org.basex.index.ValueBuilder.writeWithNum(ValueBuilder.java:176) org.basex.index.ValueBuilder.merge(ValueBuilder.java:125) org.basex.index.ValueBuilder.build(ValueBuilder.java:75) org.basex.index.ValueBuilder.build(ValueBuilder.java:1) org.basex.core.proc.ACreate.index(ACreate.java:116) org.basex.core.proc.ACreate.index(ACreate.java:91) org.basex.core.proc.Optimize.stats(Optimize.java:90) org.basex.core.proc.Optimize.run(Optimize.java:35) org.basex.core.Proc.run(Proc.java:140) org.basex.core.Proc.exec(Proc.java:110) org.basex.core.Proc.execute(Proc.java:67) com.rosamez.jdvdkat.DbManager.optimize(DbManager.java:240) com.rosamez.jdvdkat.AddAllFilesWorker.doInBackground(AddAllFilesWorker.java:34) com.rosamez.jdvdkat.AddAllFilesWorker.doInBackground(AddAllFilesWorker.java:14) javax.swing.SwingWorker$1.call(SwingWorker.java:277) java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) java.util.concurrent.FutureTask.run(FutureTask.java:138) javax.swing.SwingWorker.run(SwingWorker.java:316) java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) java.lang.Thread.run(Thread.java:619)
Thanks!
Szabolcs _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk