Hi Ronald,
This is a bug in community commons. Either upgrade to community commons 2.4.2 or apply the following patch:
At line 358 of javascource/communitycommons/XPath, replace line 358
for(int i = 0; i < args.length; i++)
with
for(int i = 0; i < keysAndValues.length; i++)