[jira] [Comment Edited] (CASSANDRA-9332) NPE when creating column family via thrift
[ https://issues.apache.org/jira/browse/CASSANDRA-9332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16287140#comment-16287140 ] Jeff Jirsa edited comment on CASSANDRA-9332 at 12/12/17 5:26 AM: - There's been no activity on this for 2 years, and the repro is on (EOL) 2.0. Does anyone believe this exists in 2.1 / 2.2 / 3.0? If not, I propose closing as cant-repro / wontfix. was (Author: jjirsa): There's been no activity on this for 2 years, and the repro is on (EOL) 2.0. Does anyone believe this exists in 2.1 / 2.2 / 3.0? If not, I propose closing as wontfix. > 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: proposed-cantrepro, 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 (v6.4.14#64029) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Comment Edited] (CASSANDRA-9332) NPE when creating column family via thrift
[ https://issues.apache.org/jira/browse/CASSANDRA-9332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14544377#comment-14544377 ] Tyler Hobbs edited comment on CASSANDRA-9332 at 5/14/15 9:22 PM: - I can't reproduce this with either the Hector test or with a basic Thrift-based test that does the same operations in a loop. Can you reproduce this reliably? Perhaps there's a specific way to run the Hector test that reproduces it? Just looking at the stacktrace, it seems like the NPE is due to trying to call {{modifications.put()}} with a null key, which would require that the existing row's {{CFMetadata}} has a null {{cfId}}, and I'm not sure how that can happen. was (Author: thobbs): I can't reproduce this with either the Hector test or with a basic Thrift-based test that does the same operations in a loop. Can you reproduce this reliably? Just looking at the stacktrace, it seems like the NPE is due to trying to call {{modifications.put()}} with a null key, which would require that the existing row's {{CFMetadata}} has a null {{cfId}}, and I'm not sure how that can happen. NPE when creating column family via thrift -- Key: CASSANDRA-9332 URL: https://issues.apache.org/jira/browse/CASSANDRA-9332 Project: Cassandra Issue Type: Bug Components: Core Environment: Oracle JDK 1.7.0_79 Casandra 2.0.6 in single node Ubuntu 14.04 Reporter: Colin Kuo Assignee: Tyler Hobbs Priority: Minor Labels: thrift Fix For: 2.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 (v6.3.4#6332)