cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-5516) java.lang.NullPointerException at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1582)
Date Fri, 26 Apr 2013 04:10:16 GMT

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

Jonathan Ellis resolved CASSANDRA-5516.
---------------------------------------

    Resolution: Invalid

This looks like a JVM bug, in particular around the compressed oop feature.  If you see it
regularly, try running with -XX:-UseCompressedOops and report the bug to Sun.
                
> java.lang.NullPointerException at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1582)
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5516
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5516
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>         Environment: Linux XYZ 3.5.0-27-generic #46~precise1-Ubuntu SMP Tue Mar 26 19:33:21
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Jouni Kontinen
>              Labels: exception
>
> ERROR 13:42:10,467 Exception in thread Thread[ReadStage:12,5,main]
> java.lang.RuntimeException: java.lang.NullPointerException
>         at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1582)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.NullPointerException
>         at org.apache.cassandra.db.DecoratedKey.compareTo(DecoratedKey.java:85)
>         at org.apache.cassandra.db.DecoratedKey.compareTo(DecoratedKey.java:36)
>         at java.util.Collections.indexedBinarySearch(Unknown Source)
>         at java.util.Collections.binarySearch(Unknown Source)
>         at org.apache.cassandra.io.sstable.SSTableReader.getIndexScanPosition(SSTableReader.java:482)
>         at org.apache.cassandra.io.sstable.SSTableReader.getPosition(SSTableReader.java:755)
>         at org.apache.cassandra.io.sstable.SSTableReader.getPosition(SSTableReader.java:717)
>         at org.apache.cassandra.db.columniterator.SSTableSliceIterator.<init>(SSTableSliceIterator.java:43)
>         at org.apache.cassandra.db.filter.SliceQueryFilter.getSSTableColumnIterator(SliceQueryFilter.java:101)
>         at org.apache.cassandra.db.filter.QueryFilter.getSSTableColumnIterator(QueryFilter.java:68)
>         at org.apache.cassandra.db.CollationController.collectAllData(CollationController.java:275)
>         at org.apache.cassandra.db.CollationController.getTopLevelColumns(CollationController.java:65)
>         at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1363)
>         at org.apache.cassandra.db.ColumnFamilyStore.getThroughCache(ColumnFamilyStore.java:1176)
>         at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1209)
>         at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1132)
>         at org.apache.cassandra.db.Table.getRow(Table.java:355)
>         at org.apache.cassandra.db.SliceFromReadCommand.getRow(SliceFromReadCommand.java:70)
>         at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1052)
>         at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1578)
>         ... 3 more
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x00007f367e28b14e, pid=7843, tid=139871526840064
> #
> # JRE version: 6.0_38-b05
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.13-b02 mixed mode linux-amd64 compressed
oops)
> # Problematic frame:
> # V  [libjvm.so+0x35514e]  ciObjectFactory::find_non_perm(oopDesc*)+0x4e
> #
> # An error report file with more information is saved as:
> # /var/lib/cassandra/hs_err_1365567530.log
> #
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> #
> -----------------------------------
> That caused Cassandra to shutdown. I believe it corrupted my data as I started getting
this: 
> "java.lang.RuntimeException: org.apache.cassandra.io.sstable.CorruptSSTableException:
org.apache.cassandra.io.compress.CorruptBlockException"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message