cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donal Zang <zan...@ihep.ac.cn>
Subject NullPointerException with 0.7.4
Date Sun, 03 Apr 2011 19:32:09 GMT
Hi,

I'm doing a stress test, and cassandra crashed with this Exception:
ERROR [MutationStage:9] 2011-04-03 21:11:50,152
DebuggableThreadPoolExecutor.java (line 103) Error in ThreadPoolExecutor
java.lang.NullPointerException
         at
org.apache.cassandra.io.sstable.IndexSummary$KeyPosition.compareTo(IndexSummary.java:100)
         at
org.apache.cassandra.io.sstable.IndexSummary$KeyPosition.compareTo(IndexSummary.java:87)
         at java.util.Collections.indexedBinarySearch(Collections.java:232)
         at java.util.Collections.binarySearch(Collections.java:218)
         at
org.apache.cassandra.io.sstable.SSTableReader.getIndexScanPosition(SSTableReader.java:333)
         at
org.apache.cassandra.io.sstable.SSTableReader.getPosition(SSTableReader.java:459)
         at
org.apache.cassandra.io.sstable.SSTableReader.getFileDataInput(SSTableReader.java:563)
         at
org.apache.cassandra.db.columniterator.SSTableNamesIterator.<init>(SSTableNamesIterator.java:61)
         at
org.apache.cassandra.db.filter.NamesQueryFilter.getSSTableColumnIterator(NamesQueryFilter.java:58)
         at
org.apache.cassandra.db.filter.QueryFilter.getSSTableColumnIterator(QueryFilter.java:80)
         at
org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1353)
         at
org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1245)
         at
org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1173)
         at
org.apache.cassandra.db.Table.readCurrentIndexedColumns(Table.java:459)
         at org.apache.cassandra.db.Table.apply(Table.java:394)
         at
org.apache.cassandra.db.RowMutationVerbHandler.doVerb(RowMutationVerbHandler.java:76)
         at
org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:72)
         at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
         at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
         at java.lang.Thread.run(Thread.java:636)

-- 

Donal Zang
CERN PH-ADP-DDM 40-3-D16
CH-1211 Geneve 23
donal.zang@cern.ch
+41 22 76 71268




Mime
View raw message