lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1021) NullPointerException(s) in SolrJ when using stats and result set is empty
Date Wed, 29 Apr 2009 11:51:30 GMT

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

Shalin Shekhar Mangar commented on SOLR-1021:
---------------------------------------------

This might have been fixed by Ryan in revision r763791.

Can somebody use a recent nightly (or trunk) and confirm?

> NullPointerException(s) in SolrJ when using stats and result set is empty
> -------------------------------------------------------------------------
>
>                 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
>             Fix For: 1.4
>
>         Attachments: QueryResponse.java, SOLR-1021.patch
>
>
> 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.


Mime
View raw message