[
https://issues.apache.org/jira/browse/LUCENE-6627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14603998#comment-14603998
]
ASF GitHub Bot commented on LUCENE-6627:
----------------------------------------
GitHub user rmp91 opened a pull request:
https://github.com/apache/lucene-solr/pull/173
LUCENE-6627: Checking for null returned by getChild
https://issues.apache.org/jira/browse/LUCENE-6627
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rmp91/lucene-solr LUCENE-6627
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/173.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #173
----
commit f589e22d12f2c94c80cdd9a9efd5b659ea4b16b4
Author: Rishabh Patel <[email protected]>
Date: 2015-06-27T05:58:41Z
LUCENE-6627: Checking for null returned by getChild
----
> Null dereference
> ----------------
>
> Key: LUCENE-6627
> URL: https://issues.apache.org/jira/browse/LUCENE-6627
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/queryparser
> Affects Versions: Trunk
> Reporter: Rishabh Patel
> Priority: Minor
> Labels: github-pullrequest
> Fix For: Trunk
>
>
> In the file {{PhraseSlopQueryNode.java}}, calls to {{getChild()}} and
> {{getChildren()}} might return null. Further operations on them might cause
> null pointer exceptions.
> These can be fixed by checking for null in returned values.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]