[ 
https://issues.apache.org/jira/browse/CASSANDRA-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis updated CASSANDRA-3059:
--------------------------------------

    Component/s: Tools
       Priority: Minor  (was: Major)

> sstable2json on an index sstable failed with NPE
> ------------------------------------------------
>
>                 Key: CASSANDRA-3059
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3059
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Jackson Chung
>            Priority: Minor
>
> $ ./bin/sstable2json 
> /var/lib/cassandra-trunk/data/Keyspace1/Standard1.Idx1-h-1-Data.db 
> {
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.cassandra.db.ColumnFamily.create(ColumnFamily.java:74)
>         at org.apache.cassandra.db.ColumnFamily.create(ColumnFamily.java:69)
>         at org.apache.cassandra.db.ColumnFamily.create(ColumnFamily.java:64)
>         at 
> org.apache.cassandra.io.sstable.SSTableIdentityIterator.<init>(SSTableIdentityIterator.java:147)
>         at 
> org.apache.cassandra.io.sstable.SSTableIdentityIterator.<init>(SSTableIdentityIterator.java:87)
>         at 
> org.apache.cassandra.io.sstable.SSTableIdentityIterator.<init>(SSTableIdentityIterator.java:71)
>         at 
> org.apache.cassandra.io.sstable.SSTableScanner$KeyScanningIterator.next(SSTableScanner.java:177)
>         at 
> org.apache.cassandra.io.sstable.SSTableScanner$KeyScanningIterator.next(SSTableScanner.java:142)
>         at 
> org.apache.cassandra.io.sstable.SSTableScanner.next(SSTableScanner.java:134)
>         at 
> org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:304)
>         at 
> org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:335)
>         at 
> org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:348)
>         at 
> org.apache.cassandra.tools.SSTableExport.main(SSTableExport.java:406)
> cfm is null for Index CF?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to