Problem solved. A database file was corrupted. Re-creating the database
solved the problem.
Best,
Christophe
Le 10/05/2016 12:00, basex-talk-request(a)mailman.uni-konstanz.de a écrit :
> Message: 1
> Date: Mon, 09 May 2016 16:09:03 +0200
> From: cmarchand(a)oxiane.com
> To: basex-talk(a)mailman.uni-konstanz.de
> Subject: [basex-talk] Executing xq file from client fails
> Message-ID: <8eb5f02e745a4ce0f8cb6ff6dc587425(a)oxiane.com>
> Content-Type: text/plain; charset="us-ascii"
>
>
>
> Hello,
>
> while running a .xq file on a database generates this error.
>
> The error is database-content relative ; with some data I have the
> error, with other data, I do not have the error.
>
> my lanceClient.sh is just /usr/local/basex4/bin/basexclient
> -nFR003-D0659 -p4984 -Ubasex -Pbasex $*
>
> Any hint to help me find where I have to search ?
>
> I can provide the .xq* files but for data, it wil be complicated : I
> have more than 7Gb in one collection (which never changes) ; other
> filewhich generates the error is 1.8Mb and can be provided, if needed.
>
> Best regards,
>
> Christophe
>
> $ ./lanceClient4.sh -d
> -bp-repertoire-output=/home/efladm/webbuint/uaur/om-work/orders/
> /home/efladm/webbuint/uaur/om-work/xquery/create-orders-formulaires.xq
> org.basex.core.BaseXException: Improper use? Potential bug? Your
> feedback is welcome:
> Contact: basex-talk(a)mailman.uni-konstanz.de
> Version: BaseX 8.2.3
> Java: Oracle Corporation, 1.8.0_51
> OS: Linux, amd64
> Stack Trace:
> java.lang.NullPointerException
>
> at org.basex.api.client.ClientSession.receive(ClientSession.java:193)
> at org.basex.api.client.ClientSession.execute(ClientSession.java:162)
> at org.basex.api.client.ClientSession.execute(ClientSession.java:167)
> at org.basex.api.client.Session.execute(Session.java:36)
> at org.basex.core.CLI.execute(CLI.java:103)
> at org.basex.BaseX.<init>(BaseX.java:121)
> at org.basex.BaseXClient.<init>(BaseXClient.java:40)
> at org.basex.BaseXClient.main(BaseXClient.java:27)
> Improper use? Potential bug? Your feedback is welcome:
> Contact: basex-talk(a)mailman.uni-konstanz.de
> Version: BaseX 8.2.3
> Java: Oracle Corporation, 1.8.0_51
> OS: Linux, amd64
> Stack Trace:
> java.lang.NullPointerException
>