You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andrés de la Peña (JIRA)" <ji...@apache.org> on 2013/12/17 11:24:07 UTC

[jira] [Created] (CASSANDRA-6498) Null pointer exception in custom secondary indexes

Andrés de la Peña created CASSANDRA-6498:
--------------------------------------------

             Summary: Null pointer exception in custom secondary indexes
                 Key: CASSANDRA-6498
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6498
             Project: Cassandra
          Issue Type: Bug
            Reporter: Andrés de la Peña


StorageProxy#estimateResultRowsPerRange raises a null pointer exception when using a custom 2i implementation that not uses a column family as underlying storage:
{code}
resultRowsPerRange = highestSelectivityIndex.getIndexCfs().getMeanColumns();
{code}
According to the documentation, the method SecondaryIndex#getIndexCfs should return null when no column family is used.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)