I am running basexhttp in service mode.
At the same time I was using base client to add/delete some documents.
I got this error suddenly.
>add /root/policy_testdata/policy_template_6.xml
Improper use? Potential bug? Your feedback is welcome:
Contact: basex-talk(a)mailman.uni-konstanz.de
Version: BaseX 7.7.2
Java: Oracle Corporation, 1.7.0_40
OS: Linux, amd64
Stack Trace:
java.lang.ArrayIndexOutOfBoundsException: 3
at org.basex.io.random.TableDiskAccess.flush(TableDiskAccess.java:124)
at org.basex.data.DiskData.finishUpdate(DiskData.java:212)
at org.basex.core.cmd.Add.run(Add.java:109)
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.ClientListener.run(ClientListener.java:145)
Then I got this when I exited the basexclient
>open neuhub_pdp_store
Improper use? Potential bug? Your feedback is welcome:
Contact: basex-talk(a)mailman.uni-konstanz.de
Version: BaseX 7.7.2
Java: Oracle Corporation, 1.7.0_40
OS: Linux, amd64
Stack Trace:
java.nio.channels.OverlappingFileLockException
at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255)
at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152)
at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1056)
at org.basex.io.random.TableDiskAccess.lck(TableDiskAccess.java:183)
at
org.basex.io.random.TableDiskAccess.sharedLock(TableDiskAccess.java:170)
at org.basex.io.random.TableDiskAccess.<init>(TableDiskAccess.java:83)
at org.basex.data.DiskData.init(DiskData.java:122)
at org.basex.data.DiskData.<init>(DiskData.java:92)
at org.basex.core.cmd.Open.open(Open.java:68)
at org.basex.core.cmd.Open.run(Open.java:35)
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.ClientListener.run(ClientListener.java:145)
Then I stopped the server
OPTIMIZE
Improper use? Potential bug? Your feedback is welcome:
Contact: basex-talk(a)mailman.uni-konstanz.de
Version: BaseX 7.7.2
Java: Oracle Corporation, 1.7.0_40
OS: Linux, amd64
Stack Trace:
java.lang.RuntimeException: Data Access out of bounds:
- pre value: 0
- #used blocks: 0
- #total locks: 0
- access: -1 (0 > -1]
at org.basex.util.Util.notexpected(Util.java:53)
at org.basex.io.random.TableDiskAccess.cursor(TableDiskAccess.java:488)
at org.basex.io.random.TableDiskAccess.read1(TableDiskAccess.java:189)
at org.basex.data.Data.kind(Data.java:282)
at org.basex.index.resource.Docs.docs(Docs.java:87)
at org.basex.index.resource.Docs.init(Docs.java:75)
at org.basex.index.resource.Resources.init(Resources.java:64)
at org.basex.core.cmd.Optimize.optimize(Optimize.java:80)
at org.basex.core.cmd.Optimize.run(Optimize.java:42)
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.ClientListener.run(ClientListener.java:145)
> INSPECT
Improper use? Potential bug? Your feedback is welcome:
Contact: basex-talk(a)mailman.uni-konstanz.de
Version: BaseX 7.7.2
Java: Oracle Corporation, 1.7.0_40
OS: Linux, amd64
Stack Trace:
java.lang.RuntimeException: Data Access out of bounds:
- pre value: 0
- #used blocks: 0
- #total locks: 0
- access: -1 (0 > -1]
at org.basex.util.Util.notexpected(Util.java:53)
at org.basex.io.random.TableDiskAccess.cursor(TableDiskAccess.java:488)
at org.basex.io.random.TableDiskAccess.read1(TableDiskAccess.java:189)
at org.basex.data.Data.kind(Data.java:282)
at org.basex.core.cmd.Inspect.inspect(Inspect.java:50)
at org.basex.core.cmd.Inspect.run(Inspect.java:27)
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.ClientListener.run(ClientListener.java:145)
Thanks
Raj Kamineni
[T] +1 571 434 5463 [M] +1 703 342 9358