Bug: NPE in ConnectionBurnTest
Status: Resolved
Priority: Normal
Resolution: Fixed
Created: 04/Apr/20 09:22
Resolved: 04/Apr/20 18:51

https://ci-cassandra.apache.org/job/Cassandra-trunk-test-burn/30/testReport/org.apache.cassandra.net/ConnectionBurnTest/test/

{noformat}
java.lang.NullPointerException
	at org.apache.cassandra.db.commitlog.AbstractCommitLogSegmentManager.getCurrentPosition(AbstractCommitLogSegmentManager.java:515)
	at org.apache.cassandra.db.commitlog.CommitLog.getCurrentPosition(CommitLog.java:223)
	at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:403)
	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:602)
	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:576)
	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:567)
	at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:445)
	at org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:340)
	at org.apache.cassandra.db.Keyspace.open(Keyspace.java:138)
	at org.apache.cassandra.db.Keyspace.open(Keyspace.java:115)
	at org.apache.cassandra.db.Keyspace.openAndGetStore(Keyspace.java:173)
	at org.apache.cassandra.index.IndexRegistry.obtain(IndexRegistry.java:251)
	at org.apache.cassandra.cql3.restrictions.StatementRestrictions.<init>(StatementRestrictions.java:154)
	at org.apache.cassandra.cql3.restrictions.StatementRestrictions.<init>(StatementRestrictions.java:134)
	at org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepareRestrictions(SelectStatement.java:1084)
	at org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepare(SelectStatement.java:958)
	at org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepare(SelectStatement.java:948)
	at org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepare(SelectStatement.java:923)
	at org.apache.cassandra.cql3.QueryProcessor.getStatement(QueryProcessor.java:523)
	at org.apache.cassandra.cql3.QueryProcessor.parseStatement(QueryProcessor.java:252)
	at org.apache.cassandra.cql3.QueryProcessor.prepareInternal(QueryProcessor.java:297)
	at org.apache.cassandra.cql3.QueryProcessor.executeInternal(QueryProcessor.java:307)
	at org.apache.cassandra.db.SystemKeyspace.getPreferredIP(SystemKeyspace.java:857)
	at org.apache.cassandra.net.OutboundConnectionSettings.connectTo(OutboundConnectionSettings.java:448)
	at org.apache.cassandra.net.OutboundConnectionSettings.withDefaults(OutboundConnectionSettings.java:470)
	at org.apache.cassandra.net.OutboundConnection.<init>(OutboundConnection.java:291)
	at org.apache.cassandra.net.Connection.<init>(Connection.java:81)
	at org.apache.cassandra.net.ConnectionBurnTest$Test.<init>(ConnectionBurnTest.java:216)
	at org.apache.cassandra.net.ConnectionBurnTest$Test.<init>(ConnectionBurnTest.java:144)
	at org.apache.cassandra.net.ConnectionBurnTest$Test$Builder.build(ConnectionBurnTest.java:179)
	at org.apache.cassandra.net.ConnectionBurnTest.test(ConnectionBurnTest.java:640)
	at org.apache.cassandra.net.ConnectionBurnTest.test(ConnectionBurnTest.java:658)
{noformat}

Test History:
https://ci-cassandra.apache.org/job/Cassandra-trunk-test-burn/lastCompletedBuild/testReport/org.apache.cassandra.net/ConnectionBurnTest/test/history/