[ https://issues.apache.org/jira/browse/CASSANDRA-9216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14503495#comment-14503495 ]
Philip Thompson edited comment on CASSANDRA-9216 at 4/20/15 7:47 PM: --------------------------------------------------------------------- Could you possibly attach the entire system.log file? Do you know what table this was compacting when the exception occurred? Could you give us the schema for that table, especially the compaction strategy/options? was (Author: philipthompson): Could you possibly attack the entire system.log file? Do you know what table this was compacting when the exception occurred? Could you give us the schema for that table, especially the compaction strategy/options? > NullPointerException (NPE) during Compaction Cache Serialization > ---------------------------------------------------------------- > > Key: CASSANDRA-9216 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9216 > Project: Cassandra > Issue Type: Bug > Environment: Debian linux wheezy patch current > Reporter: Jason Kania > Labels: Compaction, NPE > Fix For: 2.1.5 > > > In case this hasn't been reported (I looked but did not see it), a null > pointer exception is occurring during compaction. The stack track is as > follows: > {code} > ERROR [CompactionExecutor:50] 2015-04-20 13:42:43,827 > CassandraDaemon.java:223 - Exception in thread > Thread[CompactionExecutor:50,1,main] > java.lang.NullPointerException: null > at > org.apache.cassandra.service.CacheService$KeyCacheSerializer.serialize(CacheService.java:475) > ~[apache-cassandra-2.1.4.jar:2.1.4] > at > org.apache.cassandra.service.CacheService$KeyCacheSerializer.serialize(CacheService.java:463) > ~[apache-cassandra-2.1.4.jar:2.1.4] > at > org.apache.cassandra.cache.AutoSavingCache$Writer.saveCache(AutoSavingCache.java:274) > ~[apache-cassandra-2.1.4.jar:2.1.4] > at > org.apache.cassandra.db.compaction.CompactionManager$11.run(CompactionManager.java:1152) > ~[apache-cassandra-2.1.4.jar:2.1.4] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > ~[na:1.7.0_75] > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > ~[na:1.7.0_75] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > ~[na:1.7.0_75] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > [na:1.7.0_75] > at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)