Hi,
Playing with the nice new async and client library together to generate asynchronous remote query I got randomly the following exception:
java.lang.ClassCastException: org.basex.query.value.seq.tree.BigSeq cannot be cast to org.basex.query.value.item.Item at org.basex.query.value.ValueBuilder.concat(ValueBuilder.java:37) at org.basex.query.expr.List.value(List.java:147) at org.basex.query.QueryContext.value(QueryContext.java:420) at org.basex.query.expr.If.value(If.java:131) at org.basex.query.expr.gflwor.GFLWOR.value(GFLWOR.java:78) at org.basex.query.QueryContext.value(QueryContext.java:420) at org.basex.query.value.item.FuncItem.invValue(FuncItem.java:129) 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:45) at org.basex.query.func.hof.HofUntil.value(HofUntil.java:27) at org.basex.query.func.hof.HofUntil.iter(HofUntil.java:18) at org.basex.query.QueryContext.iter(QueryContext.java:409) at org.basex.query.expr.List$1.next(List.java:134) at org.basex.query.MainModule$1.next(MainModule.java:123) at org.basex.core.cmd.AQuery.query(AQuery.java:92) at org.basex.core.cmd.XQuery.run(XQuery.java:22) at org.basex.core.Command.run(Command.java:398) at org.basex.core.Command.execute(Command.java:100) at org.basex.server.ClientListener.run(ClientListener.java:136)
This happen with the attached code where 10.0.0.5 is another basexserver than the current one. The code is a preliminary test on launching system command on another basexserver asynchronously.
Have a nice evening.
Pablo