Just for the record, I re-created all my databases in version 8.2.3 and the problem is not happening anymore.

Initially, I tried using the new sw version with the 8.1.1 data files. Although the sw didn't complain about it, something was not right, the problem was still happening. Re-create the database was my solution.

Thank you for the support.

BR,
Gabriel

On Tue, Jul 28, 2015 at 7:57 AM, Christian Grün <christian.gruen@gmail.com> wrote:
Hi Gabriel,

This seems to be an exception raised by Charles Foster's XQJ driver.
What happens if you run the same query with BaseX on command-line or
in the GUI? Which output on stdout/stderr do you get by activating the
BaseX debug mode?...

  XQConnection xqc = ...;
  XQExpression xqe = xqc.createExpression();
  xqe.executeCommand("set debug true");

Best,
Christian



On Mon, Jul 27, 2015 at 2:35 AM, Gabriel Tessarolli
<gabriel.tessarolli@gmail.com> wrote:
> Hi,
>
> I've been struggling with this error for quite a while now and still don't
> have a clue why it is raised.
>
> Caused by: javax.xml.xquery.XQException:
>   BXCE001 -
> at net.xqj.basex.bin.b.<init>(Unknown Source)
> at net.xqj.basex.bin.a.a(Unknown Source)
> at net.xqj.basex.bin.d.a(Unknown Source)
> at net.xqj.basex.bin.E.a(Unknown Source)
> at net.xqj.basex.bin.H.executeQuery(Unknown Source)
>
> There is no text description for this. First I thought it was something
> related to memory, but now I don't think this is the reason.
>
> As you can see, I am using BaseX XQJ, and it is version 1.4. BaseX is 8.1.
> It seems that my application receives this exception a little bit (4
> seconds) before server tries to send the response back. This is what I get
> from server side:
>
> 15:29:20.050 127.0.0.1:49514 admin REQUEST FULL[0] 5727205.52 ms
> 15:29:20.050 127.0.0.1:49514 admin ERROR Can't communicate with the server.
> 0.12 ms
>
> It is a complex query, and it takes a while to respond.
>
> Is there any place I can get a better description on this BXCE001 exception?
> I couldn't find any.
>
> Thank you in advance!
>
> Best Regards,
> Gabriel