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] [Comment Edited] (CASSANDRA-5513) java.lang.ClassCastException: org.apache.cassandra.db.DeletedColumn cannot be cast to java.math.BigInteger
Date Wed, 01 May 2013 13:52:16 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-5513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646586#comment-13646586
] 

Jonathan Ellis edited comment on CASSANDRA-5513 at 5/1/13 1:50 PM:
-------------------------------------------------------------------

# Can you provide instructions to reproduce the ClassCastException?
# The JVM crash is its way of telling you, "quit using openjdk."  If you are already using
the latest version of Oracle Java6, add -XX:-UseCompressedOops to the JVM options in cassandra-env.sh.
                
      was (Author: jbellis):
    # Can you provide instructions to reproduce the ClassCastException?
# The JVM crash is its way of telling you, "quit using openjdk."  If you are already using
the Oracle JDK, add -XX:-UseCompressedOops to the JVM options in cassandra-env.sh.
                  
> java.lang.ClassCastException: org.apache.cassandra.db.DeletedColumn cannot be cast to
java.math.BigInteger
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5513
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5513
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    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
>
> ERROR 18:30:16,044 Exception in thread Thread[ReplicateOnWriteStage:24,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.dht.BigIntegerToken.compareTo(BigIntegerToken.java:38)
>         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.SliceByNamesReadCommand.getRow(SliceByNamesReadCommand.java:64)
>         at org.apache.cassandra.db.CounterMutation.makeReplicationMutation(CounterMutation.java:90)
>         at org.apache.cassandra.service.StorageProxy$7$1.runMayThrow(StorageProxy.java:796)
>         at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1578)
>         ... 3 more
> ERROR 18:30:16,044 Exception in thread Thread[ReadStage:77,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.dht.BigIntegerToken.compareTo(BigIntegerToken.java:38)
>         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:1164)
>         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
> ERROR 18:30:26,006 Exception in thread Thread[ReadStage:78,5,main]
> java.lang.RuntimeException: java.lang.ClassCastException: org.apache.cassandra.db.DeletedColumn
cannot be cast to java.math.BigInteger
>         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.ClassCastException: org.apache.cassandra.db.DeletedColumn cannot
be cast to java.math.BigInteger
>         at org.apache.cassandra.dht.BigIntegerToken.compareTo(BigIntegerToken.java:38)
>         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:1164)
>         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
> ERROR 18:31:05,072 Exception in thread Thread[ReadStage:92,5,main]
> java.lang.RuntimeException: java.lang.ClassCastException: java.nio.HeapByteBuffer cannot
be cast to java.math.BigInteger
>         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.ClassCastException: java.nio.HeapByteBuffer cannot be cast to java.math.BigInteger
>         at org.apache.cassandra.dht.BigIntegerToken.compareTo(BigIntegerToken.java:38)
>         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:1164)
>         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=5755, 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
> #

--
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