Lynch Lee created CASSANDRA-12806: ------------------------------------- Summary: NullPointerException thrown in org.apache.cassandra.client.TestRingCache Key: CASSANDRA-12806 URL: https://issues.apache.org/jira/browse/CASSANDRA-12806 Project: Cassandra Issue Type: Bug Components: Testing Reporter: Lynch Lee Fix For: 3.0.x
While I run testing org.apache.cassandra.client.TestRingCache in my Idea, I got this exception: Exception in thread "main" java.lang.NullPointerException at org.apache.cassandra.hadoop.ConfigHelper.setOutputKeyspace(ConfigHelper.java:119) at org.apache.cassandra.hadoop.ConfigHelper.setOutputColumnFamily(ConfigHelper.java:142) at org.apache.cassandra.client.TestRingCache.<init>(TestRingCache.java:50) at org.apache.cassandra.client.TestRingCache.main(TestRingCache.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) Code shown: in Constructor of TestRingCache: ConfigHelper.setOutputColumnFamily(conf, keyspace, "Standard1"); when varible conf haven't be initialized. Could we fire a pr to fix it into branch trunk ?? -- This message was sent by Atlassian JIRA (v6.3.4#6332)