cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Podkowinski (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CASSANDRA-11961) Nonfatal NPE in CompactionMetrics
Date Wed, 29 Jun 2016 11:20:37 GMT

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

Stefan Podkowinski reassigned CASSANDRA-11961:
----------------------------------------------

    Assignee: Stefan Podkowinski  (was: Achal Shah)

> 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: Stefan Podkowinski
>            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