Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-6498

Null pointer exception in custom secondary indexes

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Low

    Description

      StorageProxy#estimateResultRowsPerRange raises a null pointer exception when using a custom 2i implementation that not uses a column family as underlying storage:

      resultRowsPerRange = highestSelectivityIndex.getIndexCfs().getMeanColumns();
      

      According to the documentation, the method SecondaryIndex#getIndexCfs should return null when no column family is used.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mafernandez Miguel Angel Fernandez Diaz Assign to me
            adelapena Andres de la Peña
            Miguel Angel Fernandez Diaz
            Sam Tunnicliffe
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment