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

Robert Stupp commented on CASSANDRA-7590:
-----------------------------------------

Eh - even worse - DROP INDEX on a non-existing KS produces NPE...
{noformat}
cqlsh> DROP INDEX IF EXISTS test.fake_index;
<ErrorMessage code=0000 [Server error] message="java.lang.NullPointerException">
{noformat}

Fix is simple - some minutes until patch :)

> java.lang.AssertionError when using DROP INDEX IF EXISTS on non-existing index
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-7590
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7590
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Hanh Dang
>              Labels: cql
>             Fix For: 2.1.0
>
>
> To reproduce: 
> cqlsh> CREATE KEYSPACE test WITH REPLICATION = {'class':'SimpleStrategy', 
> 'replication_factor':1};
> cqlsh> USE test;
> cqlsh:test> DROP INDEX IF EXISTS fake_index;
> <ErrorMessage code=0000 [Server error] message="java.lang.AssertionError">



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to