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] [Commented] (CASSANDRA-11961) Nonfatal NPE in CompactionMetrics
Date Wed, 15 Jun 2016 10:10:09 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-11961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15331484#comment-15331484
] 

Robert Stupp commented on CASSANDRA-11961:
------------------------------------------

No, will review (and probably commit) in the next days. (I'm off this week)

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