You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Edgar Vonk (JIRA)" <ji...@apache.org> on 2012/12/11 12:57:21 UTC
[jira] [Created] (JCR-3481) NullPointerException in
DescendantSelfAxisScorer#nextDoc
Edgar Vonk created JCR-3481:
-------------------------------
Summary: 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
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