Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
-
Low
Description
Steps to reproduce:
Execute system_update_column_family without passing in column_metadata in CfDef object.
Error:
java.lang.NullPointerException
at org.apache.cassandra.config.CFMetaData.convertToAvro(CFMetaData.java:827)
at org.apache.cassandra.thrift.CassandraServer.system_update_column_family(CassandraServer.java:882)
at org.apache.cassandra.thrift.Cassandra$Processor$system_update_column_family.process(Cassandra.java:4518)
at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:3227)
at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:167)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)