[ https://issues.apache.org/jira/browse/CASSANDRA-12806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lynch Lee updated CASSANDRA-12806: ---------------------------------- Description: {panel:title=While I run testing org.apache.cassandra.client.TestRingCache in my Idea, I got this exception:|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#FFFFCE} {noformat} 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) {noformat} Code shown: in Constructor of TestRingCache: {noformat} ConfigHelper.setOutputColumnFamily(conf, keyspace, "Standard1"); {noformat} when varible conf haven't be initialized. [~jbl] *Could we fire a pr to fix it into branch trunk ??* was: {panel:title=While I run testing org.apache.cassandra.client.TestRingCache in my Idea, I got this exception:|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#FFFFCE} {noformat} 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) {noformat} Code shown: in Constructor of TestRingCache: {noformat} ConfigHelper.setOutputColumnFamily(conf, keyspace, "Standard1"); {noformat} when varible conf haven't be initialized. *Could we fire a pr to fix it into branch trunk ??* > 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 > > > {panel:title=While I run testing org.apache.cassandra.client.TestRingCache in > my Idea, I got this > exception:|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#FFFFCE} > > {noformat} > 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) > {noformat} > Code shown: > in Constructor of TestRingCache: > {noformat} > ConfigHelper.setOutputColumnFamily(conf, keyspace, "Standard1"); > {noformat} > when varible conf haven't be initialized. > [~jbl] > *Could we fire a pr to fix it into branch trunk ??* -- This message was sent by Atlassian JIRA (v6.3.4#6332)