SOLVED, it's just a read/write access problem on .basexperm.

 

Sorry for the spam,

Christophe

Le 2015-07-23 10:07, cmarchand@oxiane.com a écrit :

 

 

Hello !

 

I have an exception throw on BaseX 7.9

I've just installed it on a linux box, in /usr/local/basex-79, owned by root, chowned -R a+wr *, and run by another user.

Here is the problem :

 

$ /usr/local/basex/bin/basex -d
BaseX 7.9 [Standalone]
Try help to get more information.

> SHOW USERS
Exception in thread "main" java.lang.NullPointerException
at org.basex.core.Context.perm(Context.java:220)
at org.basex.core.Command.execute(Command.java:84)
at org.basex.server.LocalSession.execute(LocalSession.java:121)
at org.basex.server.Session.execute(Session.java:37)
at org.basex.core.CLI.execute(CLI.java:106)
at org.basex.core.CLI.execute(CLI.java:90)
at org.basex.BaseX.console(BaseX.java:197)
at org.basex.BaseX.<init>(BaseX.java:171)
at org.basex.BaseX.main(BaseX.java:42)

 

Any help will be appreciated to identify the problem...

 

Best regards,

Christophe