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

Arie Fishler updated SOLR-1021:
-------------------------------

    Attachment: SolrResponse.java

Added an if statement to avoid the ctor of FieldStatsInfo

> NullPointerException in FieldStatsInfo
> --------------------------------------
>
>                 Key: SOLR-1021
>                 URL: https://issues.apache.org/jira/browse/SOLR-1021
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.4
>         Environment: Tomcat 6, Windows
>            Reporter: Arie Fishler
>            Priority: Minor
>         Attachments: SolrResponse.java
>
>
> A NullPointerException is thrown at line 51 of class FieldStatsInfo since the 
> returned stats information for the fname (ctor variable) is null and not 
> checked for being so.
> Seems like this occurs when the search returns with no results but there were 
> some setGetFieldStatistics defined for some fields.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to