Brandon Williams created CASSANDRA-5802:
-------------------------------------------
Summary: NPE in HH metrics
Key: CASSANDRA-5802
URL: https://issues.apache.org/jira/browse/CASSANDRA-5802
Project: Cassandra
Issue Type: Bug
Affects Versions: 2.0 beta 2
Reporter: Brandon Williams
Assignee: Tyler Hobbs
Fix For: 2.0
{noformat}
[junit] Testcase:
testCompactionOfHintsCF(org.apache.cassandra.db.HintedHandOffTest):
Caused an ERROR
[junit] null
[junit] java.lang.NullPointerException
[junit] at
com.google.common.base.Preconditions.checkNotNull(Preconditions.java:191)
[junit] at com.google.common.cache.LocalCache.get(LocalCache.java:3989)
[junit] at
com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3994)
[junit] at
com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4878)
[junit] at
com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4884)
[junit] at
org.apache.cassandra.metrics.HintedHandoffMetrics.incrCreatedHints(HintedHandoffMetrics.java:67)
[junit] at
org.apache.cassandra.db.HintedHandOffManager.hintFor(HintedHandOffManager.java:125)
[junit] at
org.apache.cassandra.db.HintedHandOffTest.testCompactionOfHintsCF(HintedHandOffTest.java:68)
[junit]
[junit]
[junit] Test org.apache.cassandra.db.HintedHandOffTest FAILED
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira