The stack looks like this one:
https://issues.apache.org/jira/browse/CASSANDRA-2863

On Fri, Feb 24, 2012 at 9:12 AM, Jahangir Mohammed <md.jahangir27@gmail.com> wrote:

Hi All,


Minor compaction throws NPE. Any ideas? Bug?


Cassandra version: 0.8.7


Stack Trace:

ERROR [Thread-220] 2012-02-24 16:35:34,404 AbstractCassandraDaemon.java (line 139) Fatal exception in thread Thread[Thread-220,5,main]

java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.NullPointerException

at org.apache.cassandra.streaming.StreamInSession.closeIfFinished(StreamInSession.java:154)

at org.apache.cassandra.streaming.IncomingStreamReader.read(IncomingStreamReader.java:63)

at org.apache.cassandra.net.IncomingTcpConnection.stream(IncomingTcpConnection.java:189)

at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:117)

Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException

at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

at java.util.concurrent.FutureTask.get(FutureTask.java:83)

at org.apache.cassandra.streaming.StreamInSession.closeIfFinished(StreamInSession.java:138)

... 3 more

Caused by: java.lang.NullPointerException

at org.apache.cassandra.io.sstable.SSTableWriter$RowIndexer.close(SSTableWriter.java:382)

at org.apache.cassandra.io.sstable.SSTableWriter$RowIndexer.index(SSTableWriter.java:370)

at org.apache.cassandra.io.sstable.SSTableWriter$Builder.build(SSTableWriter.java:315)

at org.apache.cassandra.db.compaction.CompactionManager$9.call(CompactionManager.java:1118)

at org.apache.cassandra.db.compaction.CompactionManager$9.call(CompactionManager.java:1109)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:662)


Thanks,
Jahangir.