Error Java ArrayIndexOutOfBoundsException
Wednesday, 6 January 2016 · 2 messages
K
kleist6 Jan 2016 12:24 #
Hello again,
I got the following error:
Error:
Improper use? Potential bug? Your feedback is welcome:
Contact: basex-talk at mailman.uni-konstanz.de
Version: BaseX 8.3.1
Java: Oracle Corporation, 1.8.0_45
OS: Mac OS X, x86_64
Stack Trace:
java.lang.ArrayIndexOutOfBoundsException
after running:
xquery version "3.0";
declare namespace tei = "http://www.tei-c.org/ns/1.0";
db:create('kleist_index', for $item in db:open('kleist-data') return $item update delete node .//(tei:note|tei:rdg|tei:lb|tei:del|tei:reg|tei:sic), db:open('kleist-data')/db:path(.))This error only appears on my second computer (both MacBooks). The one, which works, runs java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
the other, where my xq is not working java version "1.8.0_45" (Java 8-Update 66).
Any ideas, what's the problem?
Best, Günter
CG
Christian Grün6 Jan 2016 14:46 #
Quoted text · kleist · 7 lines
> Improper use? Potential bug? Your feedback is welcome: > Contact: basex-talk at mailman.uni-konstanz.de > Version: BaseX 8.3.1 > Java: Oracle Corporation, 1.8.0_45 > OS: Mac OS X, x86_64 > Stack Trace: > java.lang.ArrayIndexOutOfBoundsException
Hm… Could you provide us with the full stack trace?
Quoted text · kleist · 17 lines
> > after running: > > xquery version "3.0"; > declare namespace tei = "http://www.tei-c.org/ns/1.0"; > db:create('kleist_index', for $item in db:open('kleist-data') return $item update delete node .//(tei:note|tei:rdg|tei:lb|tei:del|tei:reg|tei:sic), db:open('kleist-data')/db:path(.)) > > This error only appears on my second computer (both MacBooks). The one, which works, runs > java version "1.8.0_31" > Java(TM) SE Runtime Environment (build 1.8.0_31-b13) > Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode) > > the other, where my xq is not working java version "1.8.0_45" (Java 8-Update 66). > > Any ideas, what's the problem? > > Best, Günter
Written for BaseX 8.3. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery