The bad news is that I get the exception also while executing a plain export. I've noticed anyway that the output folder is created but how I cannot be sure that everything is exported. Is there any way to recover from the backup of the DB which is created without exceptions?
Thanks, Marco.
This is the exception:
Improper use? Potential bug? Your feedback is welcome: Contact:basex-talk@mailman.uni-konstanz.de Version: BaseX 7.7.2 Java: Oracle Corporation, 1.7.0_45 OS: Linux, i386 Stack Trace: java.lang.ArrayIndexOutOfBoundsException: 48 at org.basex.util.hash.TokenSet.key(TokenSet.java:128) at org.basex.data.Data.name(Data.java:376) at org.basex.io.serial.Serializer.serialize(Serializer.java:415) at org.basex.io.serial.Serializer.serialize(Serializer.java:295) at org.basex.io.serial.Serializer.serialize(Serializer.java:94) at org.basex.core.cmd.Export.export(Export.java:109) at org.basex.core.cmd.Export.run(Export.java:44) at org.basex.core.Command.run(Command.java:345) at org.basex.core.Command.exec(Command.java:321) at org.basex.core.Command.execute(Command.java:78) at org.basex.server.LocalSession.execute(LocalSession.java:122) at org.basex.server.Session.execute(Session.java:37) at org.basex.core.Main.execute(Main.java:146) at org.basex.core.Main.execute(Main.java:130) at org.basex.core.Main.console(Main.java:90) at org.basex.BaseX.<init>(BaseX.java:168) at org.basex.BaseX.main(BaseX.java:38)
On 07/22/2014 01:11 PM, Christian GrĂ¼n wrote:
optimize all is the operation that fails. I've noticed that it produces a folder named like the database plus a random number. Maybe I should check whether the failure occurs after the export phase (by executing an export alone) in which case I could proceed with the recreation of DB through import.
Exactly; just try to export your data first.