It does exist.  One of our employees ran in on 9.2.2, they were the first to discover the issue.  Then I tried it on 9.2.0.

 

Buddy Kresge

buddy.kresge@known2u.com

o: 860-800-6677  ext: 501

c: 860-986-4830

 

From: Christian Grün <christian.gruen@gmail.com>
Sent: Tuesday, June 4, 2019 8:53 AM
To: Buddy Kresge <buddy.kresge@known2u.com>
Cc: Michael Seiferle <ms@basex.org>; BaseX <basex-talk@mailman.uni-konstanz.de>
Subject: Re: [basex-talk] Improper Use? Potential bug?

 

Hi Buddy,

 

The stack trace indicates that you are using BaseX 9.2.

 

Could you please check if the bug persists with the latest version 9.2.2?

 

Thanks in advance,

Christian

 

 

 

Buddy Kresge <buddy.kresge@known2u.com> schrieb am Di., 4. Juni 2019, 14:07:

Do you want me to share the entire stack trace?  Or what is the best way to get you the information you need?

 

Buddy Kresge

buddy.kresge@known2u.com

o: 860-800-6677  ext: 501

c: 860-986-4830

 

From: Michael Seiferle <ms@basex.org>
Sent: Tuesday, June 4, 2019 6:15 AM
To: Buddy Kresge <buddy.kresge@known2u.com>
Cc: basex-talk@mailman.uni-konstanz.de
Subject: Re: [basex-talk] Improper Use? Potential bug?

 

Hi Buddy, 

 

that looks like a bug. 

 

Would you mind sharing your XQuery or a SSCE?

I think this is definitely something we might want to have a look at :-)

 

Best from Konstanz

 

Michael 

 

Am 03.06.2019 um 13:12 schrieb Buddy Kresge <buddy.kresge@known2u.com>:

 

I am all of a sudden getting the below error (and things were working just fine – weird).  Works fine in 9.1.2 but not in 9.2.X.  Any guidance would be greatly appreciated.

 

Note:  I tried to send you an email with the full stack trace, but the moderator rejected it because the email was too long.  I’ve cut down the size, but you now no longer have the full stack trace.  If you need the full stack trace, please let me know how you’d like that shared with you.

 

Thanks,

Buddy

 

Error:

Improper use? Potential bug? Your feedback is welcome:

Version: BaseX 9.2

Java: AdoptOpenJdk, 1.8.0_202

OS: Windows 10, amd64

Stack Trace: 

java.lang.ArrayIndexOutOfBoundsException: 1

               at org.basex.query.expr.Preds.simplify(Preds.java:215)

               at org.basex.query.expr.Filter.optimize(Filter.java:82)

               at org.basex.query.expr.Filter.inline(Filter.java:260)

               at org.basex.query.expr.gflwor.ForLet.inline(ForLet.java:66)

               at org.basex.query.expr.gflwor.GFLWOR.inline(GFLWOR.java:804)

               at org.basex.query.expr.gflwor.GFLWOR.inlineLets(GFLWOR.java:339)

               at org.basex.query.expr.gflwor.GFLWOR.optimize(GFLWOR.java:106)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:98)

               at org.basex.query.expr.If.compile(If.java:63)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.expr.gflwor.ForLet.compile(ForLet.java:43)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:88)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncCall.compile(StaticFuncCall.java:64)

               at org.basex.query.expr.gflwor.GFLWOR.compile(GFLWOR.java:94)

               at org.basex.query.func.StaticFunc.comp(StaticFunc.java:69)

               at org.basex.query.func.StaticFuncs.compile(StaticFuncs.java:184)

               at org.basex.query.func.fn.FnFunctionLookup.opt(FnFunctionLookup.java:34)

               at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:77)

               at org.basex.query.expr.Arr.compile(Arr.java:43)