incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Jaquith <>
Subject Re: Priha QueryResult returning nulls?
Date Mon, 12 Oct 2009 03:30:08 GMT
Stack trace:


The NPE is caused by a null element present in the list of Nodes
returned by QueryResult qr = q.execute();

The actual query that generates the results is: /jcr:root/pages/*/*

(I'm patched ContentManager locally: in the current version in HEAD,
the query for getAllPages(null) is /jcr:root/pages/*, which seems
wrong and seems to be the root cause of several unit test failures...)


On Sun, Oct 11, 2009 at 5:27 PM, Janne Jalkanen
<> wrote:
> On Oct 11, 2009, at 21:14 , Andrew Jaquith wrote:
>> Hey Janne,
>> I''ve been pounding out some bugs. We have some failing tests where the
>> list of nodes returned by QueryResult.execute() has some null elements. Not
>> sure why, and I can't reliably reproduce the bug. But it does seem to be
>> happening. Any insights?
> Can you tell me the query you're using?
> /janne

View raw message