cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-11961) Nonfatal NPE in CompactionMetrics
Date Fri, 17 Jun 2016 18:21:05 GMT

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

Robert Stupp updated CASSANDRA-11961:
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.8
           Status: Resolved  (was: Patch Available)

+1

Thanks!
Committed as 4754cddfb980226326994b60383ef83baed06714 to trunk

Test results:
||trunk|[branch|https://github.com/apache/cassandra/compare/trunk...snazy:11961-trunk]|[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-11961-trunk-testall/lastSuccessfulBuild/]|[dtest|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-11961-trunk-dtest/lastSuccessfulBuild/]



> Nonfatal NPE in CompactionMetrics
> ---------------------------------
>
>                 Key: CASSANDRA-11961
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11961
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Robert Stupp
>            Assignee: Achal Shah
>            Priority: Minor
>              Labels: lhf
>             Fix For: 3.8
>
>
> Just saw the following NPE on trunk. Means, that {{metaData}} from {{CFMetaData metaData
= compaction.getCompactionInfo().getCFMetaData();}} is {{null}}. A simple {{if (metaData ==
null) continue;}} should fix this.
> {code}
> Caused by: java.lang.NullPointerException: null
> 	at org.apache.cassandra.metrics.CompactionMetrics$2.getValue(CompactionMetrics.java:103)
~[main/:na]
> 	at org.apache.cassandra.metrics.CompactionMetrics$2.getValue(CompactionMetrics.java:78)
~[main/:na]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message