cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Jirsa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9332) NPE when creating column family via thrift
Date Tue, 12 Dec 2017 05:27:01 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-9332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16287140#comment-16287140
] 

Jeff Jirsa commented on CASSANDRA-9332:
---------------------------------------

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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message