cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Jake Luciani (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-2718) NPE in SSTableWriter when no ReplayPosition availible
Date Fri, 27 May 2011 14:01:48 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

T Jake Luciani resolved CASSANDRA-2718.
---------------------------------------

    Resolution: Fixed
      Reviewer: slebresne

committed

> NPE in SSTableWriter when no ReplayPosition availible
> -----------------------------------------------------
>
>                 Key: CASSANDRA-2718
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2718
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.1
>            Reporter: T Jake Luciani
>            Assignee: T Jake Luciani
>            Priority: Trivial
>             Fix For: 0.8.1
>
>         Attachments: v1-0001-CASSANDRA-2718-avoide-NPE-when-bypassing-commitlog.txt
>
>
> The following NPE occurs when durable_writes is set to false
> {noformat}
> ERROR 09:20:30,378 Fatal exception in thread Thread[FlushWriter:11,5,main]
> java.lang.RuntimeException: java.lang.NullPointerException
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
> 	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:619)
> Caused by: java.lang.NullPointerException
> 	at org.apache.cassandra.db.commitlog.ReplayPosition$ReplayPositionSerializer.serialize(ReplayPosition.java:127)
> 	at org.apache.cassandra.io.sstable.SSTableWriter.writeMetadata(SSTableWriter.java:209)
> 	at org.apache.cassandra.io.sstable.SSTableWriter.closeAndOpenReader(SSTableWriter.java:187)
> 	at org.apache.cassandra.io.sstable.SSTableWriter.closeAndOpenReader(SSTableWriter.java:173)
> 	at org.apache.cassandra.db.Memtable.writeSortedContents(Memtable.java:253)
> 	at org.apache.cassandra.db.Memtable.access$400(Memtable.java:49)
> 	at org.apache.cassandra.db.Memtable$3.runMayThrow(Memtable.java:270)
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
> 	... 3 more
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message