jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edgar Vonk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3481) NullPointerException in DescendantSelfAxisScorer#nextDoc
Date Tue, 11 Dec 2012 13:55:21 GMT

    [ https://issues.apache.org/jira/browse/JCR-3481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13528971#comment-13528971

Edgar Vonk commented on JCR-3481:

Ah clear. I guess I could make a quick patch then which checks if the scorer is null or not.

In the meantime it would be great if this could be fixed in a future Jackrabbit version.
> NullPointerException in DescendantSelfAxisScorer#nextDoc
> --------------------------------------------------------
>                 Key: JCR-3481
>                 URL: https://issues.apache.org/jira/browse/JCR-3481
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.4.2
>         Environment: Magnolia CMS 4.4.9-jr24, Jackrabbit 2.4.2, Lucene 3.0.3, XPath
>            Reporter: Edgar Vonk
>         Attachments: error-log.txt
> For certain XPath search queries we get nullpointerexceptions in the DescendantSelfAxisScorer#nextDoc
method because the 'subScorer' var is null.
> It seems other people have the issue as well:
> http://jackrabbit.510166.n4.nabble.com/JCR-SQL2-query-NullPointerException-in-DescendantSelfAxisQuery-td4657009.html
> It seems a bit arbitrary when it occurs. It seems to occur only when we search using
certain short search terms. Also it occurs on stem words when we configure to use a different
Lucene analyzer in Jackrabbit (e.g. the DutchAnalyzer and searching on 'een' or 'het').
> We use a custom Jackrabbit indexing-configuration.xml but I even tried without using
a indexing-configuration and also then the problem occurs. 
> Any ideas on what could cause this?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message