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

NPE in sstable2json

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.2
    • Legacy/Tools
    • None
    • Low

    Description

      ./sstable2json /var/lib/cassandra/data/test/snapshots/1307649033076/User-g-4-Data.db
      {
      Exception in thread "main" java.lang.NullPointerException
      at org.apache.cassandra.db.ColumnFamily.<init>(ColumnFamily.java:82)
      at org.apache.cassandra.db.ColumnFamily.create(ColumnFamily.java:70)
      at org.apache.cassandra.io.sstable.SSTableIdentityIterator.<init>(SSTableIdentityIterator.java:142)
      at org.apache.cassandra.io.sstable.SSTableIdentityIterator.<init>(SSTableIdentityIterator.java:90)
      at org.apache.cassandra.io.sstable.SSTableIdentityIterator.<init>(SSTableIdentityIterator.java:74)
      at org.apache.cassandra.io.sstable.SSTableScanner$KeyScanningIterator.next(SSTableScanner.java:179)
      at org.apache.cassandra.io.sstable.SSTableScanner$KeyScanningIterator.next(SSTableScanner.java:144)
      at org.apache.cassandra.io.sstable.SSTableScanner.next(SSTableScanner.java:136)
      at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:313)
      at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:344)
      at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:357)
      at org.apache.cassandra.tools.SSTableExport.main(SSTableExport.java:415)

      Attachments

        1. 0001-cassandra-2760.patch
          6 kB
          Jason Brown
        2. User-g-4-Data.db
          0.1 kB
          Danny Wang

        Activity

          People

            jasobrown Jason Brown
            daningaddr Danny Wang
            Jason Brown
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: