[
https://issues.apache.org/jira/browse/CASSANDRA-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763716#action_12763716
]
Michael Greene commented on CASSANDRA-481:
------------------------------------------
k, +1 on commit with assertions
> describe_keyspace fails on the system table
> -------------------------------------------
>
> Key: CASSANDRA-481
> URL: https://issues.apache.org/jira/browse/CASSANDRA-481
> Project: Cassandra
> Issue Type: Bug
> Environment: debian lenny amd64, openjdk 6b11-9.1
> Reporter: Brandon Williams
> Assignee: Jonathan Ellis
> Priority: Minor
> Attachments: 481.patch, stub_system_keyspace.patch,
> test_describe_keyspace.patch
>
>
> When the thrift call describe_keyspace is called on the system table, an NPE
> is raised:
> ERROR - Error occurred during processing of message.
> java.lang.NullPointerException
> at
> org.apache.thrift.protocol.TBinaryProtocol.writeString(TBinaryProtocol.java:174)
> at
> org.apache.cassandra.service.Cassandra$describe_keyspace_result.write(Cassandra.java:11109)
> at
> org.apache.cassandra.service.Cassandra$Processor$describe_keyspace.process(Cassandra.java:959)
> at
> org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:627)
> at
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:253)
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.