You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2009/02/20 00:04:01 UTC

[jira] Commented: (SOLR-1021) NullPointerException in FieldStatsInfo

    [ https://issues.apache.org/jira/browse/SOLR-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675171#action_12675171 ] 

Hoss Man commented on SOLR-1021:
--------------------------------

Arie: I'm not sure that i really understand the problem you're describing, and it looks like perhaps you didn't attach the file you ment to attach.  

Can you post a stack trace showing the NPE you're describing?

Also: If you haven't already seen it http://wiki.apache.org/solr/HowToContribute has some info on generating patches with bug fixes.


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