java.lang.RuntimeException: java.lang.NullPointerException

GitHub | jfcoz | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Cassandra crash at startup

    GitHub | 6 months ago | jfcoz
    java.lang.RuntimeException: java.lang.NullPointerException
  2. 0

    GitHub comment 226#249914115

    GitHub | 6 months ago | jfcoz
    java.lang.RuntimeException: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.apache.cassandra.db.Directories.getSnapshotDirectory()
    2. org.apache.cassandra
      ColumnFamilyStore$12.run
      1. org.apache.cassandra.db.Directories.getSnapshotDirectory(Directories.java:425)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2]
      2. org.apache.cassandra.db.Directories.getSnapshotManifestFile(Directories.java:437)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2]
      3. org.apache.cassandra.db.ColumnFamilyStore.writeSnapshotManifest(ColumnFamilyStore.java:2385)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2]
      4. org.apache.cassandra.db.ColumnFamilyStore.snapshotWithoutFlush(ColumnFamilyStore.java:2375)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2]
      5. org.apache.cassandra.db.ColumnFamilyStore.snapshot(ColumnFamilyStore.java:2492)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2]
      6. org.apache.cassandra.db.ColumnFamilyStore.snapshot(ColumnFamilyStore.java:2482)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2]
      7. org.apache.cassandra.db.ColumnFamilyStore$12.run(ColumnFamilyStore.java:2708)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2]
      7 frames
    3. Java RT
      Executors$RunnableAdapter.call
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_91]
      1 frame
    4. org.apache.cassandra
      CassandraDaemon.main
      1. org.apache.cassandra.db.ColumnFamilyStore.runWithCompactionsDisabled(ColumnFamilyStore.java:2756)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2]
      2. org.apache.cassandra.db.ColumnFamilyStore.truncateBlocking(ColumnFamilyStore.java:2721)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2]
      3. org.apache.cassandra.db.SystemKeyspace.discardCompactionsInProgress(SystemKeyspace.java:405)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2]
      4. org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:218)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2]
      5. org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:488)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2]
      6. org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:595)[apache-cassandra-2.2.1.redhat-2.jar:2.2.1.redhat-2]
      6 frames