BaseX 7.9 problem

Thursday, 23 July 2015 · 2 messages
C
cmarchand23 Jul 2015 10:07 #
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.
Quoted text · 1 line
> 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
C
cmarchand23 Jul 2015 10:13 #
SOLVED, it's just a read/write access problem on .basexperm. Sorry for the spam, Christophe
Quoted text · cmarchand at oxiane.com · 30 lines
Le 2015-07-23 10:07, cmarchand at 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

⚡Generated with XQuery