cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mateusz Kornaik (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-1889) Cassandra throws java.lang.NullPointerException during start.
Date Tue, 21 Dec 2010 12:48:01 GMT
Cassandra throws java.lang.NullPointerException during start.
-------------------------------------------------------------

                 Key: CASSANDRA-1889
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1889
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.7.0 rc 2
         Environment: Linux
            Reporter: Mateusz Kornaik


After stopping running 
apache-cassandra-0.7.0-rc2]$ ./bin/cassandra -f
by hitting CTRL+c
cassandra refuses to start again:


var/local/cassandra/MyCluster/apache-cassandra-0.7.0-rc2]$ ./bin/cassandra -f
 INFO 13:37:15,852 Heap size: 1580007424/1580007424
 INFO 13:37:15,857 JNA not found. Native methods will be disabled.
 INFO 13:37:15,868 Loading settings from file:/var/local/cassandra/MyCluster/apache-cassandra-0.7.0-rc2/conf/cassandra.yaml
 INFO 13:37:16,022 DiskAccessMode 'auto' determined to be standard, indexAccessMode is standard
 INFO 13:37:16,112 Creating new commitlog segment /var/local/cassandra/MyCluster/commitlog/CommitLog-1292935036112.log
 INFO 13:37:16,177 reading saved cache /var/local/cassandra/MyCluster/saved_caches/system-IndexInfo-KeyCache
 INFO 13:37:16,183 reading saved cache /var/local/cassandra/MyCluster/saved_caches/system-Schema-KeyCache
 INFO 13:37:16,188 Opening /var/local/cassandra/MyCluster/data/system/Schema-e-12
 INFO 13:37:16,209 reading saved cache /var/local/cassandra/MyCluster/saved_caches/system-Migrations-KeyCache
 INFO 13:37:16,210 Opening /var/local/cassandra/MyCluster/data/system/Migrations-e-12
 INFO 13:37:16,213 reading saved cache /var/local/cassandra/MyCluster/saved_caches/system-LocationInfo-KeyCache
 INFO 13:37:16,215 Opening /var/local/cassandra/MyCluster/data/system/LocationInfo-e-3
 INFO 13:37:16,220 reading saved cache /var/local/cassandra/MyCluster/saved_caches/system-HintsColumnFamily-KeyCache
 INFO 13:37:16,262 Loading schema version 7ccfce96-0c52-11e0-be3b-e700f669bcfc
 WARN 13:37:16,518 Schema definitions were defined both locally and in cassandra.yaml. Definitions
in cassandra.yaml were ignored.
 INFO 13:37:16,532 Replaying /var/local/cassandra/MyCluster/commitlog/CommitLog-1292858599849.log,
/var/local/cassandra/MyCluster/commitlog/CommitLog-1292935011242.log
 INFO 13:37:16,664 Finished reading /var/local/cassandra/MyCluster/commitlog/CommitLog-1292858599849.log
ERROR 13:37:16,665 Exception encountered during startup.
java.lang.NullPointerException
        at org.apache.cassandra.db.Table.createReplicationStrategy(Table.java:307)
        at org.apache.cassandra.db.Table.<init>(Table.java:247)
        at org.apache.cassandra.db.Table.open(Table.java:114)
        at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:302)
        at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:193)
        at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:142)
        at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:55)
        at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:216)
        at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:134)
Exception encountered during startup.
java.lang.NullPointerException
        at org.apache.cassandra.db.Table.createReplicationStrategy(Table.java:307)
        at org.apache.cassandra.db.Table.<init>(Table.java:247)
        at org.apache.cassandra.db.Table.open(Table.java:114)
        at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:302)
        at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:193)
        at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:142)
        at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:55)
        at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:216)
        at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:134)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message