lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6626) Potential null pointer exception
Date Sat, 27 Jun 2015 04:41:04 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-6626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14603972#comment-14603972
] 

ASF GitHub Bot commented on LUCENE-6626:
----------------------------------------

GitHub user rmp91 opened a pull request:

    https://github.com/apache/lucene-solr/pull/172

    LUCENE-6626: Added checks for null returned by getChild

    https://issues.apache.org/jira/browse/LUCENE-6626

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rmp91/lucene-solr LUCENE-6626

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/172.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 #172
    
----
commit 155c08fdbe97c0197bdec0c2cfcbd95693bd38b5
Author: Rishabh Patel <rishabh.mahendra.patel@gmail.com>
Date:   2015-06-27T04:38:07Z

    LUCENE-6626: Added checks for null returned by getChild

----


> Potential null pointer exception
> --------------------------------
>
>                 Key: LUCENE-6626
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6626
>             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 {{ModifierQueryNode.java}},  {{getChild()}} and {{getChildren}} could return
null. Checks need to be made for the same to avoid null pointer exceptions.



--
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


Mime
View raw message