Hello to the BaseX Team ! I am new to BaseX and exploring its functionalities. I have created an empty database named 'NBS' and I have got a script in which I have the following lines :
OPEN NBS SHOW USERS ADD nbs_1Chr.xml
When I am trying to run it in the basexclient, it raises an error and does not want to add the document. Here is the output.
Do you have any idea where the problem comes from ? The XML file nbs_1Chr.xml is in the current working directory. Thank you very much !
---
RUN insert_nbs_test.bxs
Username Read Write Create Admin ------------------------------------ admin X X X X
1 Users. Database 'NBS' was opened in 1.93 ms. Improper use? Potential bug? Your feedback is welcome: Contact: basex-talk@mailman.uni-konstanz.de Version: BaseX 7.6 Java: Sun Microsystems Inc., 1.6.0_22 OS: Linux, i386 Stack Trace: java.lang.RuntimeException: Data Access out of bounds: - pre value: 0 - #used blocks: 0 - #total locks: 0 - access: -1 (0 > -1] org.basex.util.Util.notexpected(Util.java:53) org.basex.io.random.TableDiskAccess.cursor(TableDiskAccess.java:488) org.basex.io.random.TableDiskAccess.read5(TableDiskAccess.java:211) org.basex.data.Data.textOff(Data.java:422) org.basex.data.DiskData.text(DiskData.java:234) org.basex.index.resource.Docs.paths(Docs.java:107) org.basex.index.resource.Docs.insert(Docs.java:142) org.basex.index.resource.Resources.insert(Resources.java:73) org.basex.data.Data.insert(Data.java:676) org.basex.core.cmd.Add.run(Add.java:118) org.basex.core.Command.run(Command.java:342) org.basex.core.cmd.Execute.run(Execute.java:49) org.basex.core.Command.run(Command.java:342) org.basex.core.Command.exec(Command.java:321) org.basex.core.Command.execute(Command.java:78) org.basex.server.ClientListener.run(ClientListener.java:145)
Hi Toko,
thanks for your mail. Is the NBS database empty? Could you provide us with the document that causes the problem?
Christian ___________________________
I am new to BaseX and exploring its functionalities. I have created an empty database named 'NBS' and I have got a script in which I have the following lines :
OPEN NBS SHOW USERS ADD nbs_1Chr.xml
When I am trying to run it in the basexclient, it raises an error and does not want to add the document. Here is the output.
Do you have any idea where the problem comes from ? The XML file nbs_1Chr.xml is in the current working directory. Thank you very much !
RUN insert_nbs_test.bxs
Username Read Write Create Admin
admin X X X X
1 Users. Database 'NBS' was opened in 1.93 ms. Improper use? Potential bug? Your feedback is welcome: Contact: basex-talk@mailman.uni-konstanz.de Version: BaseX 7.6 Java: Sun Microsystems Inc., 1.6.0_22 OS: Linux, i386 Stack Trace: java.lang.RuntimeException: Data Access out of bounds:
- pre value: 0
- #used blocks: 0
- #total locks: 0
- access: -1 (0 > -1] org.basex.util.Util.notexpected(Util.java:53) org.basex.io.random.TableDiskAccess.cursor(TableDiskAccess.java:488) org.basex.io.random.TableDiskAccess.read5(TableDiskAccess.java:211) org.basex.data.Data.textOff(Data.java:422) org.basex.data.DiskData.text(DiskData.java:234) org.basex.index.resource.Docs.paths(Docs.java:107) org.basex.index.resource.Docs.insert(Docs.java:142) org.basex.index.resource.Resources.insert(Resources.java:73) org.basex.data.Data.insert(Data.java:676) org.basex.core.cmd.Add.run(Add.java:118) org.basex.core.Command.run(Command.java:342) org.basex.core.cmd.Execute.run(Execute.java:49) org.basex.core.Command.run(Command.java:342) org.basex.core.Command.exec(Command.java:321) org.basex.core.Command.execute(Command.java:78) org.basex.server.ClientListener.run(ClientListener.java:145)
-- Tojo Rakotoarison @tojo_rs
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Thanks for the reply ! Unluckily (or luckily), I dropped the database and created a new one, and now it works fine. But I shall send the data if I can reproduce the problem.
2013/12/3 Christian Grün christian.gruen@gmail.com
Hi Toko,
thanks for your mail. Is the NBS database empty? Could you provide us with the document that causes the problem?
Christian ___________________________
I am new to BaseX and exploring its functionalities. I have created an empty database named 'NBS' and I have got a script in which I have the following lines :
OPEN NBS SHOW USERS ADD nbs_1Chr.xml
When I am trying to run it in the basexclient, it raises an error and
does
not want to add the document. Here is the output.
Do you have any idea where the problem comes from ? The XML file nbs_1Chr.xml is in the current working directory. Thank you very much !
RUN insert_nbs_test.bxs
Username Read Write Create Admin
admin X X X X
1 Users. Database 'NBS' was opened in 1.93 ms. Improper use? Potential bug? Your feedback is welcome: Contact: basex-talk@mailman.uni-konstanz.de Version: BaseX 7.6 Java: Sun Microsystems Inc., 1.6.0_22 OS: Linux, i386 Stack Trace: java.lang.RuntimeException: Data Access out of bounds:
- pre value: 0
- #used blocks: 0
- #total locks: 0
- access: -1 (0 > -1] org.basex.util.Util.notexpected(Util.java:53) org.basex.io.random.TableDiskAccess.cursor(TableDiskAccess.java:488) org.basex.io.random.TableDiskAccess.read5(TableDiskAccess.java:211) org.basex.data.Data.textOff(Data.java:422) org.basex.data.DiskData.text(DiskData.java:234) org.basex.index.resource.Docs.paths(Docs.java:107) org.basex.index.resource.Docs.insert(Docs.java:142) org.basex.index.resource.Resources.insert(Resources.java:73) org.basex.data.Data.insert(Data.java:676) org.basex.core.cmd.Add.run(Add.java:118) org.basex.core.Command.run(Command.java:342) org.basex.core.cmd.Execute.run(Execute.java:49) org.basex.core.Command.run(Command.java:342) org.basex.core.Command.exec(Command.java:321) org.basex.core.Command.execute(Command.java:78) org.basex.server.ClientListener.run(ClientListener.java:145)
-- Tojo Rakotoarison @tojo_rs
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de