java.lang.RuntimeException: java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Cassandra crash at startup
    via GitHub by jfcoz
    ,
  • GitHub comment 226#249914115
    via GitHub by jfcoz
    ,
    • java.lang.RuntimeException: java.lang.NullPointerException at org.apache.cassandra.db.ColumnFamilyStore.runWithCompactionsDisabled(ColumnFamilyStore.java:2760)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2] at org.apache.cassandra.db.ColumnFamilyStore.truncateBlocking(ColumnFamilyStore.java:2721)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2] at org.apache.cassandra.db.SystemKeyspace.discardCompactionsInProgress(SystemKeyspace.java:405)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2] at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:218)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2] at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:488)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2] at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:595)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2] Caused by: java.lang.NullPointerException: null at org.apache.cassandra.db.Directories.getSnapshotDirectory(Directories.java:425)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2] at org.apache.cassandra.db.Directories.getSnapshotManifestFile(Directories.java:437)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2] at org.apache.cassandra.db.ColumnFamilyStore.writeSnapshotManifest(ColumnFamilyStore.java:2385)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2] at org.apache.cassandra.db.ColumnFamilyStore.snapshotWithoutFlush(ColumnFamilyStore.java:2375)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2] at org.apache.cassandra.db.ColumnFamilyStore.snapshot(ColumnFamilyStore.java:2492)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2] at org.apache.cassandra.db.ColumnFamilyStore.snapshot(ColumnFamilyStore.java:2482)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2] at org.apache.cassandra.db.ColumnFamilyStore$12.run(ColumnFamilyStore.java:2708)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_91] at org.apache.cassandra.db.ColumnFamilyStore.runWithCompactionsDisabled(ColumnFamilyStore.java:2756)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2] ... 5 more
    No Bugmate found.