[ https://issues.apache.org/jira/browse/CASSANDRA-5446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremiah Jordan updated CASSANDRA-5446: --------------------------------------- Affects Version/s: 1.1.10 > Invalid delete statement causes NPE in CQL2 > ------------------------------------------- > > Key: CASSANDRA-5446 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5446 > Project: Cassandra > Issue Type: Bug > Affects Versions: 1.1.10 > Reporter: Jeremiah Jordan > Priority: Minor > > A bad delete, (no WHERE), causes an NPE in CQL2 > {noformat} > cqlsh> use cfs_archive; > cqlsh:cfs_archive> select * from rules; > cqlsh:cfs_archive> delete from rules; > TSocket read 0 bytes > {noformat} > system.log > {noformat} > ERROR [Thrift:6] 2013-04-09 13:18:29,167 CustomTThreadPoolServer.java (line > 210) Error occurred during processing of message. > java.lang.NullPointerException > at > org.apache.cassandra.cql.CqlParser.deleteStatement(CqlParser.java:2034) > at org.apache.cassandra.cql.CqlParser.query(CqlParser.java:303) > at com.datastax.bdp.server.Cql2Handler.parseQuery(Cql2Handler.java:298) > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira