Improper use? Potential bug?

Saturday, 4 February 2017 · 8 messages · last reply 25 Feb 2017
RS
Rob Stapper4 Feb 2017 11:11 #
Hi Christian, I encountered this error-message. I have a strong feeling that this error is related to previous reports, see . my email dd 13-05-2013 and 03-12-2014 My program is heavily recursive so it is hard to create a running snippet but I will try. Hopefully in the mean time you can have a look at the error. TIA, Rob Stapper ===================================== Error: Improper use? Potential bug? Your feedback is welcome: Contact: basex-talk at mailman.uni-konstanz.de Version: BaseX 8.6.1 beta 855f949 Java: Oracle Corporation, 1.8.0_31 OS: Windows Vista, x86 Stack Trace: java.lang.RuntimeException: $seq_1644 as (function(*))? index: 87, slot: 9 at org.basex.util.Util.notExpected(Util.java:62) at org.basex.query.var.QueryStack.pos(QueryStack.java:101) at org.basex.query.var.QueryStack.set(QueryStack.java:123) at org.basex.query.QueryContext.set(QueryContext.java:756) at org.basex.query.expr.gflwor.Let$LetEval.next(Let.java:184) at org.basex.query.expr.gflwor.GFLWOR.item(GFLWOR.java:58) at org.basex.query.expr.ParseExpr.toItem(ParseExpr.java:488) at org.basex.query.expr.ParseExpr.toArray(ParseExpr.java:663) at org.basex.query.func.fn.FnApply.value(FnApply.java:32) at org.basex.query.func.Closure.item(Closure.java:288) at org.basex.query.func.Closure.value(Closure.java:321) at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) at org.basex.query.func.FuncCall.invoke(FuncCall.java:87) at org.basex.query.func.FuncCall.value(FuncCall.java:159) at org.basex.query.value.item.FItem.invokeValue(FItem.java:44) at org.basex.query.func.fn.FnApply.value(FnApply.java:38) at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) at org.basex.query.func.FuncCall.invoke(FuncCall.java:87) at org.basex.query.func.FuncCall.value(FuncCall.java:159) at org.basex.query.value.item.FItem.invokeValue(FItem.java:44) at org.basex.query.func.fn.FnApply.value(FnApply.java:38) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.expr.If.value(If.java:128) at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) at org.basex.query.func.FuncCall.invokeTail(FuncCall.java:123) at org.basex.query.func.FuncCall.value(FuncCall.java:60) at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) at org.basex.query.func.FuncCall.invokeTail(FuncCall.java:123) at org.basex.query.func.FuncCall.value(FuncCall.java:60) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.expr.If.value(If.java:128) at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) at org.basex.query.func.FuncCall.invokeTail(FuncCall.java:123) at org.basex.query.func.FuncCall.value(FuncCall.java:60) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.expr.If.value(If.java:128) at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) at org.basex.query.func.FuncCall.invokeTail(FuncCall.java:123) at org.basex.query.func.FuncCall.value(FuncCall.java:60) at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) at org.basex.query.func.FuncCall.invokeTail(FuncCall.java:123) at org.basex.query.func.FuncCall.value(FuncCall.java:60) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.expr.If.value(If.java:128) at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) at org.basex.query.func.FuncCall.invokeTail(FuncCall.java:123) at org.basex.query.func.FuncCall.value(FuncCall.java:60) at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.func.StaticFunc.invValue(StaticFunc.java:182) at org.basex.query.func.FuncCall.invoke(FuncCall.java:87) at org.basex.query.func.FuncCall.value(FuncCall.java:61) at org.basex.query.expr.TypeCheck.value(TypeCheck.java:131) at org.basex.query.func.Closure.item(Closure.java:288) at org.basex.query.func.Closure.value(Closure.java:321) at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) at org.basex.query.func.FuncCall.invoke(FuncCall.java:87) at org.basex.query.func.FuncCall.value(FuncCall.java:159) at org.basex.query.value.item.FItem.invokeValue(FItem.java:44) at org.basex.query.func.fn.FnApply.value(FnApply.java:38) at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) at org.basex.query.func.FuncCall.invoke(FuncCall.java:87) at org.basex.query.func.FuncCall.value(FuncCall.java:159) at org.basex.query.value.item.FItem.invokeValue(FItem.java:44) at org.basex.query.func.fn.FnApply.value(FnApply.java:38) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.expr.gflwor.Let$LetEval.next(Let.java:182) at org.basex.query.expr.gflwor.GFLWOR$1.next(GFLWOR.java:95) at org.basex.query.expr.ParseExpr.item(ParseExpr.java:51) at org.basex.query.expr.ParseExpr.value(ParseExpr.java:65) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) at org.basex.query.func.FuncCall.invoke(FuncCall.java:87) at org.basex.query.func.FuncCall.value(FuncCall.java:159) at org.basex.query.value.item.FItem.invokeValue(FItem.java:44) at org.basex.query.func.fn.FnFoldLeft.value(FnFoldLeft.java:22) at org.basex.query.QueryContext.value(QueryContext.java:405) at org.basex.query.expr.gflwor.Let$LetEval.next(Let.java:182) at org.basex.query.expr.gflwor.GFLWOR$1.next(GFLWOR.java:95) at org.basex.query.scope.MainModule$1.next(MainModule.java:121) at org.basex.query.QueryContext.cache(QueryContext.java:635) at org.basex.query.QueryProcessor.cache(QueryProcessor.java:113) at org.basex.core.cmd.AQuery.query(AQuery.java:86) at org.basex.core.cmd.XQuery.run(XQuery.java:22) at org.basex.core.Command.run(Command.java:257) at org.basex.core.Command.execute(Command.java:95) at org.basex.gui.GUI.exec(GUI.java:471) at org.basex.gui.GUI.access$3(GUI.java:425) at org.basex.gui.GUI$6.run(GUI.java:413)
CG
Christian Grün4 Feb 2017 11:14 #
Quoted text · Rob Stapper · 4 lines
> My program is heavily recursive so it is hard to create a running snippet > but I will try. > > Hopefully in the mean time you can have a look at the error.
We definitely need some code to track this down. Thanks in advance.
RS
Rob Stapper5 Feb 2017 13:04 #
Hi Christian, While stripping down my program I tumbled over an issue with the use hof:id-function. See attachment: "test hofID.xq". Shouldn't this work? I don't know if of how it is related to the error-message but it could has something to do with it. Rob -----Oorspronkelijk bericht-----
Quoted text · Christian Grün · 10 lines
Van: Christian Grün [mailto:christian.gruen at gmail.com] Verzonden: zaterdag 4 februari 2017 11:14 Aan: Rob Stapper CC: BaseX Onderwerp: Re: [basex-talk] Improper use? Potential bug? > My program is heavily recursive so it is hard to create a running > snippet but I will try. > > Hopefully in the mean time you can have a look at the error. We definitely need some code to track this down. Thanks in advance.
CG
Christian Grün5 Feb 2017 14:56 #
Quoted text · Rob Stapper · 1 line
> Shouldn't this work?
I don’t think so. What result would you expect? Your query does quite a lot, and I can only guess what you think of it. Please reduce it further and tell us a) what you think goes wrong and b) which result you would expect.
Quoted text · Rob Stapper · 13 lines
> -----Oorspronkelijk bericht----- > Van: Christian Grün [mailto:christian.gruen at gmail.com] > Verzonden: zaterdag 4 februari 2017 11:14 > Aan: Rob Stapper > CC: BaseX > Onderwerp: Re: [basex-talk] Improper use? Potential bug? > >> My program is heavily recursive so it is hard to create a running >> snippet but I will try. >> >> Hopefully in the mean time you can have a look at the error. > > We definitely need some code to track this down. Thanks in advance.
RS
Rob Stapper5 Feb 2017 16:26 #
a) I've reduced it to its essence. b) I would expect both versions behave the same. Thus: ( 1,2) as result -----Oorspronkelijk bericht-----
Quoted text · Christian Grün · 21 lines
Van: Christian Grün [mailto:christian.gruen at gmail.com] Verzonden: zondag 5 februari 2017 14:57 Aan: Rob Stapper CC: BaseX Onderwerp: Re: [basex-talk] Improper use? Potential bug? > Shouldn't this work? I don’t think so. What result would you expect? Your query does quite a lot, and I can only guess what you think of it. Please reduce it further and tell us a) what you think goes wrong and b) which result you would expect. > -----Oorspronkelijk bericht----- > Van: Christian Grün [mailto:christian.gruen at gmail.com] > Verzonden: zaterdag 4 februari 2017 11:14 > Aan: Rob Stapper > CC: BaseX > Onderwerp: Re: [basex-talk] Improper use? Potential bug? > >> My program is heavily recursive so it is hard to create a running >> snippet but I will try. >> >> Hopefully in the mean time you can have a look at the error. > > We definitely need some code to track this down. Thanks in advance.
CG
Christian Grün5 Feb 2017 18:25 #
Hi Rob, Your queries are not equivalent. The hof:id function simply returns its argument (see [1]). In your example, it returns a function with two arguments ($v1,$2v), which is then passed on to local:exists and bound to $exec. Later on, $exec is evaluated with a single argument, so this cannot work out (see the error message "1 argument supplied, 2 expected: $exec"). Christian [1] http://docs.basex.org/wiki/Higher-Order_Functions_Module#hof:id
Quoted text · Rob Stapper · 32 lines
On Sun, Feb 5, 2017 at 4:26 PM, Rob Stapper <r.stapper at lijbrandt.nl> wrote: > a) I've reduced it to its essence. > b) I would expect both versions behave the same. Thus: ( 1,2) as result > > -----Oorspronkelijk bericht----- > Van: Christian Grün [mailto:christian.gruen at gmail.com] > Verzonden: zondag 5 februari 2017 14:57 > Aan: Rob Stapper > CC: BaseX > Onderwerp: Re: [basex-talk] Improper use? Potential bug? > >> Shouldn't this work? > > I don’t think so. What result would you expect? > > Your query does quite a lot, and I can only guess what you think of it. Please reduce it further and tell us a) what you think goes wrong and b) which result you would expect. > > > >> -----Oorspronkelijk bericht----- >> Van: Christian Grün [mailto:christian.gruen at gmail.com] >> Verzonden: zaterdag 4 februari 2017 11:14 >> Aan: Rob Stapper >> CC: BaseX >> Onderwerp: Re: [basex-talk] Improper use? Potential bug? >> >>> My program is heavily recursive so it is hard to create a running >>> snippet but I will try. >>> >>> Hopefully in the mean time you can have a look at the error. >> >> We definitely need some code to track this down. Thanks in advance.
RS
Rob Stapper6 Feb 2017 18:01 #
Hi Christian, Thank you for the explanation. I interpreted what would happen obviously in a wrong way. But since I have a working solution I'll use that one. Rob. -----Oorspronkelijk bericht-----
Quoted text · Christian Grün · 43 lines
Van: Christian Grün [mailto:christian.gruen at gmail.com] Verzonden: zondag 5 februari 2017 18:26 Aan: Rob Stapper CC: BaseX Onderwerp: Re: [basex-talk] Improper use? Potential bug? Hi Rob, Your queries are not equivalent. The hof:id function simply returns its argument (see [1]). In your example, it returns a function with two arguments ($v1,$2v), which is then passed on to local:exists and bound to $exec. Later on, $exec is evaluated with a single argument, so this cannot work out (see the error message "1 argument supplied, 2 expected: $exec"). Christian [1] http://docs.basex.org/wiki/Higher-Order_Functions_Module#hof:id On Sun, Feb 5, 2017 at 4:26 PM, Rob Stapper <r.stapper at lijbrandt.nl> wrote: > a) I've reduced it to its essence. > b) I would expect both versions behave the same. Thus: ( 1,2) as > result > > -----Oorspronkelijk bericht----- > Van: Christian Grün [mailto:christian.gruen at gmail.com] > Verzonden: zondag 5 februari 2017 14:57 > Aan: Rob Stapper > CC: BaseX > Onderwerp: Re: [basex-talk] Improper use? Potential bug? > >> Shouldn't this work? > > I don’t think so. What result would you expect? > > Your query does quite a lot, and I can only guess what you think of it. Please reduce it further and tell us a) what you think goes wrong and b) which result you would expect. > > > >> -----Oorspronkelijk bericht----- >> Van: Christian Grün [mailto:christian.gruen at gmail.com] >> Verzonden: zaterdag 4 februari 2017 11:14 >> Aan: Rob Stapper >> CC: BaseX >> Onderwerp: Re: [basex-talk] Improper use? Potential bug? >> >>> My program is heavily recursive so it is hard to create a running >>> snippet but I will try. >>> >>> Hopefully in the mean time you can have a look at the error. >> >> We definitely need some code to track this down. Thanks in advance.
CG
Christian Grünin reply to Rob Stapper, 4 Feb 2017, 11:1125 Feb 2017 17:39 #
Hi Rob, Our functional mastermind Leo has fixed a bug that may also fix your runtime exception [1]. Your feedback on the latest snapshot is welcome [2]. If the problem persists, you could set INLINELIMIT to 0 and report back to us what happens. Cheers, and a big thank you to Leo, Christian [1] https://github.com/BaseXdb/basex/issues/1424 [2] http://files.basex.org/releases/latest/
Quoted text · Rob Stapper · 297 lines
On Sat, Feb 4, 2017 at 11:11 AM, Rob Stapper <r.stapper at lijbrandt.nl> wrote: > Hi Christian, > > > > I encountered this error-message. > > I have a strong feeling that this error is related to previous reports, see > > · my email dd 13-05-2013 and 03-12-2014 > > > > My program is heavily recursive so it is hard to create a running snippet > but I will try. > > Hopefully in the mean time you can have a look at the error. > > > > TIA, > > > > Rob Stapper > > > > > > ===================================== > > Error: > > Improper use? Potential bug? Your feedback is welcome: > > Contact: basex-talk at mailman.uni-konstanz.de > > Version: BaseX 8.6.1 beta 855f949 > > Java: Oracle Corporation, 1.8.0_31 > > OS: Windows Vista, x86 > > Stack Trace: > > java.lang.RuntimeException: $seq_1644 as (function(*))? index: 87, slot: 9 > > at org.basex.util.Util.notExpected(Util.java:62) > > at org.basex.query.var.QueryStack.pos(QueryStack.java:101) > > at org.basex.query.var.QueryStack.set(QueryStack.java:123) > > at org.basex.query.QueryContext.set(QueryContext.java:756) > > at > org.basex.query.expr.gflwor.Let$LetEval.next(Let.java:184) > > at org.basex.query.expr.gflwor.GFLWOR.item(GFLWOR.java:58) > > at org.basex.query.expr.ParseExpr.toItem(ParseExpr.java:488) > > at > org.basex.query.expr.ParseExpr.toArray(ParseExpr.java:663) > > at org.basex.query.func.fn.FnApply.value(FnApply.java:32) > > at org.basex.query.func.Closure.item(Closure.java:288) > > at org.basex.query.func.Closure.value(Closure.java:321) > > at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at > org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) > > at org.basex.query.func.FuncCall.invoke(FuncCall.java:87) > > at org.basex.query.func.FuncCall.value(FuncCall.java:159) > > at > org.basex.query.value.item.FItem.invokeValue(FItem.java:44) > > at org.basex.query.func.fn.FnApply.value(FnApply.java:38) > > at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at > org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) > > at org.basex.query.func.FuncCall.invoke(FuncCall.java:87) > > at org.basex.query.func.FuncCall.value(FuncCall.java:159) > > at > org.basex.query.value.item.FItem.invokeValue(FItem.java:44) > > at org.basex.query.func.fn.FnApply.value(FnApply.java:38) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at org.basex.query.expr.If.value(If.java:128) > > at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at > org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) > > at > org.basex.query.func.FuncCall.invokeTail(FuncCall.java:123) > > at org.basex.query.func.FuncCall.value(FuncCall.java:60) > > at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at > org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) > > at > org.basex.query.func.FuncCall.invokeTail(FuncCall.java:123) > > at org.basex.query.func.FuncCall.value(FuncCall.java:60) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at org.basex.query.expr.If.value(If.java:128) > > at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at > org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) > > at > org.basex.query.func.FuncCall.invokeTail(FuncCall.java:123) > > at org.basex.query.func.FuncCall.value(FuncCall.java:60) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at org.basex.query.expr.If.value(If.java:128) > > at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at > org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) > > at > org.basex.query.func.FuncCall.invokeTail(FuncCall.java:123) > > at org.basex.query.func.FuncCall.value(FuncCall.java:60) > > at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at > org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) > > at > org.basex.query.func.FuncCall.invokeTail(FuncCall.java:123) > > at org.basex.query.func.FuncCall.value(FuncCall.java:60) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at org.basex.query.expr.If.value(If.java:128) > > at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at > org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) > > at > org.basex.query.func.FuncCall.invokeTail(FuncCall.java:123) > > at org.basex.query.func.FuncCall.value(FuncCall.java:60) > > at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at > org.basex.query.func.StaticFunc.invValue(StaticFunc.java:182) > > at org.basex.query.func.FuncCall.invoke(FuncCall.java:87) > > at org.basex.query.func.FuncCall.value(FuncCall.java:61) > > at org.basex.query.expr.TypeCheck.value(TypeCheck.java:131) > > at org.basex.query.func.Closure.item(Closure.java:288) > > at org.basex.query.func.Closure.value(Closure.java:321) > > at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) > > at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at > org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) > > at org.basex.query.func.FuncCall.invoke(FuncCall.java:87) > > at org.basex.query.func.FuncCall.value(FuncCall.java:159) > > at > org.basex.query.value.item.FItem.invokeValue(FItem.java:44) > > at org.basex.query.func.fn.FnApply.value(FnApply.java:38) > > at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:72) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at > org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) > > at org.basex.query.func.FuncCall.invoke(FuncCall.java:87) > > at org.basex.query.func.FuncCall.value(FuncCall.java:159) > > at > org.basex.query.value.item.FItem.invokeValue(FItem.java:44) > > at org.basex.query.func.fn.FnApply.value(FnApply.java:38) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at > org.basex.query.expr.gflwor.Let$LetEval.next(Let.java:182) > > at org.basex.query.expr.gflwor.GFLWOR$1.next(GFLWOR.java:95) > > at org.basex.query.expr.ParseExpr.item(ParseExpr.java:51) > > at org.basex.query.expr.ParseExpr.value(ParseExpr.java:65) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at > org.basex.query.value.item.FuncItem.invValue(FuncItem.java:117) > > at org.basex.query.func.FuncCall.invoke(FuncCall.java:87) > > at org.basex.query.func.FuncCall.value(FuncCall.java:159) > > at > org.basex.query.value.item.FItem.invokeValue(FItem.java:44) > > at > org.basex.query.func.fn.FnFoldLeft.value(FnFoldLeft.java:22) > > at org.basex.query.QueryContext.value(QueryContext.java:405) > > at > org.basex.query.expr.gflwor.Let$LetEval.next(Let.java:182) > > at org.basex.query.expr.gflwor.GFLWOR$1.next(GFLWOR.java:95) > > at > org.basex.query.scope.MainModule$1.next(MainModule.java:121) > > at org.basex.query.QueryContext.cache(QueryContext.java:635) > > at > org.basex.query.QueryProcessor.cache(QueryProcessor.java:113) > > at org.basex.core.cmd.AQuery.query(AQuery.java:86) > > at org.basex.core.cmd.XQuery.run(XQuery.java:22) > > at org.basex.core.Command.run(Command.java:257) > > at org.basex.core.Command.execute(Command.java:95) > > at org.basex.gui.GUI.exec(GUI.java:471) > > at org.basex.gui.GUI.access$3(GUI.java:425) > > at org.basex.gui.GUI$6.run(GUI.java:413)

⚡Generated with XQuery