You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2020/08/28 10:56:00 UTC

[jira] [Closed] (JCR-3481) NullPointerException in DescendantSelfAxisScorer#nextDoc

     [ https://issues.apache.org/jira/browse/JCR-3481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke closed JCR-3481.
-------------------------------

> 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
>            Priority: Major
>         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 was sent by Atlassian Jira
(v8.3.4#803005)