You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Andy Webb (Jira)" <ji...@apache.org> on 2020/02/10 11:33:00 UTC

[jira] [Created] (SOLR-14252) NullPointerException in AggregateMetric

Andy Webb created SOLR-14252:
--------------------------------

             Summary: NullPointerException in AggregateMetric
                 Key: SOLR-14252
                 URL: https://issues.apache.org/jira/browse/SOLR-14252
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: metrics
            Reporter: Andy Webb


The {{getMax}} and {{getMin}} methods in [AggregateMetric|https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/metrics/AggregateMetric.java] can throw an NPE if non-{{Number}} values are present in {{values}}, when it tries to cast a {{null}} {{Double}} to a {{double}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org