Thats odd, the line before line 68 has an assertion that should have kicked in. Are you on the release version of 0.7.0 ? 

Does the "test" CF exist in the keyspace "test" in your cluster ? 

Aaron

On 19 Jan, 2011,at 11:37 AM, ruslan usifov <ruslan.usi...@gmail.com> wrote:

Hello

I have problem when use json2sstable (in cassandra 0.7). When i invoke:

json2sstable -K test -c test D:\apache-cassandra-0.7.0\bin\test-e-1-Data.json F:\cassandra\test\test\test-e-1-Data.db

I got NPE:

 WARN 01:31:38,750 Schema definitions were defined both locally and in cassandra.yaml. Definitions in cassan
a.yaml were ignored.
Exception in thread "main" java.lang.NullPointerException
        at org.apache.cassandra.db.ColumnFamily.create(ColumnFamily.java:68)
        at org.apache.cassandra.db.ColumnFamily.create(ColumnFamily.java:62)
        at org.apache.cassandra.tools.SSTableImport.importJson(SSTableImport.java:174)
        at org.apache.cassandra.tools.SSTableImport.main(SSTableImport.java:251)

Reply via email to