[ https://issues.apache.org/jira/browse/CASSANDRA-9332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Jirsa updated CASSANDRA-9332: ---------------------------------- Labels: thrift (was: proposed-cantrepro thrift) > NPE when creating column family via thrift > ------------------------------------------ > > Key: CASSANDRA-9332 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9332 > Project: Cassandra > Issue Type: Bug > Environment: Oracle JDK 1.7.0_79 > Casandra 2.0.6 in single node > Ubuntu 14.04 > Reporter: Colin Kuo > Assignee: Ryan McGuire > Priority: Minor > Labels: thrift > Fix For: 3.0.x > > > When triggering unit test "testAddDropColumnFamily()" in > https://github.com/hector-client/hector/blob/master/core/src/test/java/me/prettyprint/cassandra/service/CassandraClusterTest.java > > It occurs NPE when using *Cassandra 2.0.6* or later version. > {noformat} > 11:42:39,173 [Thrift:1] ERROR CustomTThreadPoolServer:212 - Error occurred > during processing of message. > java.lang.NullPointerException > at org.apache.cassandra.db.RowMutation.add(RowMutation.java:112) > at > org.apache.cassandra.service.MigrationManager.addSerializedKeyspace(MigrationManager.java:265) > at > org.apache.cassandra.service.MigrationManager.announceNewColumnFamily(MigrationManager.java:213) > at > org.apache.cassandra.thrift.CassandraServer.system_add_column_family(CassandraServer.java:1521) > at > org.apache.cassandra.thrift.Cassandra$Processor$system_add_column_family.getResult(Cassandra.java:4300) > at > org.apache.cassandra.thrift.Cassandra$Processor$system_add_column_family.getResult(Cassandra.java:4284) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > at > org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:194) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > {noformat} > It seems that was introduced by fix of CASSANDRA-5631. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org