Hi,
When I use basex, SessionInfo output error log. I sent query to BaseXServer from ClientApplication(C#) repeatedly.
-------error log------- Potential bug? Improper use? Your feedback is welcome:
Usually, this problem occurs if you are using the BaseX GUI and Client/Server Architecture at the same time (see [1] for some information). As this has got quite a frequent issue, we might have to clarify this on our download page as well. We're also thinking about globally locking databases across multiple JVMs [2], but that's sometime trickier than you'd initally expect.
Hope this helps, feel free to ask for more, Christian
[1] http://docs.basex.org/wiki/Startup#GUI.2FStandalone_vs._Client.2FServer [2] https://github.com/BaseXdb/basex/issues/168
Contact: basex-talk@mailman.uni-konstanz.de Version: BaseX 7.0.1 Java: Oracle Corporation, 1.7.0_01 OS: Linux, i386 Stack Trace: java.lang.RuntimeException: Not expected: Data Access out of bounds [pre:7081866, indexSize:16184, access:16184 > 16183]. org.basex.util.Util.notexpected(Util.java:67) org.basex.io.random.TableDiskAccess.cursor(TableDiskAccess.java:394) org.basex.io.random.TableDiskAccess.read1(TableDiskAccess.java:107) org.basex.data.Data.kind(Data.java:319) org.basex.query.item.DBNode.parent(DBNode.java:218) org.basex.query.item.DBNode$9.next(DBNode.java:410) org.basex.query.path.IterStep$1.next(IterStep.java:46) org.basex.query.iter.NodeIter.next(NodeIter.java:1) org.basex.query.path.IterPath$1.next(IterPath.java:67) org.basex.query.iter.NodeIter.next(NodeIter.java:1) org.basex.query.expr.For$1.next(For.java:91) org.basex.query.expr.FLWR$1.next(FLWR.java:62) org.basex.core.cmd.AQuery.query(AQuery.java:101) org.basex.core.cmd.XQuery.run(XQuery.java:22) org.basex.core.Command.run(Command.java:328) org.basex.core.Command.exec(Command.java:309) org.basex.core.Command.execute(Command.java:77) org.basex.server.ClientListener.run(ClientListener.java:200)
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk