You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/27 06:11:04 UTC
[jira] [Commented] (LUCENE-6625) Potential null pointer exception
[ https://issues.apache.org/jira/browse/LUCENE-6625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14603960#comment-14603960 ]
ASF GitHub Bot commented on LUCENE-6625:
----------------------------------------
GitHub user rmp91 opened a pull request:
https://github.com/apache/lucene-solr/pull/171
LUCENE-6625: Fixed potential null pointer exceptions
https://issues.apache.org/jira/browse/LUCENE-6625
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rmp91/lucene-solr LUCENE-6625
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/171.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 #171
----
commit f27471db6366a671008a945ddcb3bcae4fc52a34
Author: Rishabh Patel <ri...@gmail.com>
Date: 2015-06-27T04:06:01Z
Fixed potential null pointer exceptions
----
> Potential null pointer exception
> --------------------------------
>
> Key: LUCENE-6625
> URL: https://issues.apache.org/jira/browse/LUCENE-6625
> 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 {{GroupQueryNode.java}}, there are several calls to {{getChild()}} and {{getChildren()}} whose results could be null. Further operations on them would lead to null pointer exceptions.
> Fix by checking for null
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org