org.xerial.snappy.SnappyError: [NOT_A_DIRECT_BUFFER] destination is not a direct buffer

Stack Overflow | itstata | 3 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cassandra destination is not a direct buffer

    Stack Overflow | 3 months ago | itstata
    org.xerial.snappy.SnappyError: [NOT_A_DIRECT_BUFFER] destination is not a direct buffer
  2. 0

    Cassandra 3.6: Compaction/Write Requests fail with org.xerial.snappy.SnappyError: [NOT_A_DIRECT_BUFFER] destination is not a direct buffer

    Google Groups | 11 months ago | Nimi Wariboko Jr
    org.xerial.snappy.SnappyError: [NOT_A_DIRECT_BUFFER] destination is not a direct buffer
  3. 0

    Odd ArrayIndexOutofBounds

    GitHub | 1 year ago | nheitz
    java.lang.ArrayIndexOutOfBoundsException: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/tracing/Tracer when used in OSGI container

    GitHub | 2 years ago | alexander-riss
    java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/tracing/Tracer

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xerial.snappy.SnappyError

      [NOT_A_DIRECT_BUFFER] destination is not a direct buffer

      at org.xerial.snappy.Snappy.uncompress()
    2. snappy-java
      Snappy.uncompress
      1. org.xerial.snappy.Snappy.uncompress(Snappy.java:509)[snappy-java-1.1.1.7.jar:na]
      1 frame
    3. org.apache.cassandra
      ChunkCache.load
      1. org.apache.cassandra.io.compress.SnappyCompressor.uncompress(SnappyCompressor.java:102)[apache-cassandra-3.7.jar:3.7]
      2. org.apache.cassandra.io.util.CompressedSegmentedFile$Mmap.readChunk(CompressedSegmentedFile.java:323)[apache-cassandra-3.7.jar:3.7]
      3. org.apache.cassandra.cache.ChunkCache.load(ChunkCache.java:137)[apache-cassandra-3.7.jar:3.7]
      4. org.apache.cassandra.cache.ChunkCache.load(ChunkCache.java:19)[apache-cassandra-3.7.jar:3.7]
      4 frames
    4. com.github.benmanes
      BoundedLocalCache.lambda$doComputeIfAbsent$15
      1. com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalLoadingCache.lambda$new$0(BoundedLocalCache.java:2949)[caffeine-2.2.6.jar:na]
      2. com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$15(BoundedLocalCache.java:1807)[caffeine-2.2.6.jar:na]
      2 frames
    5. Java RT
      ConcurrentHashMap.compute
      1. java.util.concurrent.ConcurrentHashMap.compute(Unknown Source)[na:1.8.0_112]
      1 frame
    6. com.github.benmanes
      LocalLoadingCache.get
      1. com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:1805)[caffeine-2.2.6.jar:na]
      2. com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:1788)[caffeine-2.2.6.jar:na]
      3. com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:97)[caffeine-2.2.6.jar:na]
      4. com.github.benmanes.caffeine.cache.LocalLoadingCache.get(LocalLoadingCache.java:66)[caffeine-2.2.6.jar:na]
      4 frames
    7. org.apache.cassandra
      BigTableScanner$KeyScanningIterator.computeNext
      1. org.apache.cassandra.cache.ChunkCache$CachingRebufferer.rebuffer(ChunkCache.java:215)[apache-cassandra-3.7.jar:3.7]
      2. org.apache.cassandra.cache.ChunkCache$CachingRebufferer.rebuffer(ChunkCache.java:193)[apache-cassandra-3.7.jar:3.7]
      3. org.apache.cassandra.io.util.RandomAccessReader.reBufferAt(RandomAccessReader.java:78)[apache-cassandra-3.7.jar:3.7]
      4. org.apache.cassandra.io.util.RandomAccessReader.seek(RandomAccessReader.java:220)[apache-cassandra-3.7.jar:3.7]
      5. org.apache.cassandra.io.sstable.format.big.BigTableScanner.seekToCurrentRangeStart(BigTableScanner.java:186)[apache-cassandra-3.7.jar:3.7]
      6. org.apache.cassandra.io.sstable.format.big.BigTableScanner.access$200(BigTableScanner.java:51)[apache-cassandra-3.7.jar:3.7]
      7. org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator.computeNext(BigTableScanner.java:285)[apache-cassandra-3.7.jar:3.7]
      8. org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator.computeNext(BigTableScanner.java:265)[apache-cassandra-3.7.jar:3.7]
      8 frames
    8. Apache Cassandra
      AbstractIterator.hasNext
      1. org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47)[apache-cassandra-3.7.jar:3.7]
      1 frame
    9. org.apache.cassandra
      BigTableScanner.hasNext
      1. org.apache.cassandra.io.sstable.format.big.BigTableScanner.hasNext(BigTableScanner.java:245)[apache-cassandra-3.7.jar:3.7]
      1 frame
    10. Apache Cassandra
      AbstractIterator.hasNext
      1. org.apache.cassandra.utils.MergeIterator$Candidate.advance(MergeIterator.java:374)[apache-cassandra-3.7.jar:3.7]
      2. org.apache.cassandra.utils.MergeIterator$ManyToOne.advance(MergeIterator.java:186)[apache-cassandra-3.7.jar:3.7]
      3. org.apache.cassandra.utils.MergeIterator$ManyToOne.computeNext(MergeIterator.java:155)[apache-cassandra-3.7.jar:3.7]
      4. org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47)[apache-cassandra-3.7.jar:3.7]
      4 frames
    11. org.apache.cassandra
      StorageProxy$DroppableRunnable.run
      1. org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$4.hasNext(UnfilteredPartitionIterators.java:216)[apache-cassandra-3.7.jar:3.7]
      2. org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:72)[apache-cassandra-3.7.jar:3.7]
      3. org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:289)[apache-cassandra-3.7.jar:3.7]
      4. org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:134)[apache-cassandra-3.7.jar:3.7]
      5. org.apache.cassandra.db.ReadResponse$LocalDataResponse.<init>(ReadResponse.java:127)[apache-cassandra-3.7.jar:3.7]
      6. org.apache.cassandra.db.ReadResponse$LocalDataResponse.<init>(ReadResponse.java:123)[apache-cassandra-3.7.jar:3.7]
      7. org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:65)[apache-cassandra-3.7.jar:3.7]
      8. org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:292)[apache-cassandra-3.7.jar:3.7]
      9. org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1799)[apache-cassandra-3.7.jar:3.7]
      10. org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2466)[apache-cassandra-3.7.jar:3.7]
      10 frames
    12. Java RT
      Executors$RunnableAdapter.call
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[na:1.8.0_112]
      1 frame
    13. org.apache.cassandra
      SEPWorker.run
      1. org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164)[apache-cassandra-3.7.jar:3.7]
      2. org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136)[apache-cassandra-3.7.jar:3.7]
      3. org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105)[apache-cassandra-3.7.jar:3.7]
      3 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[na:1.8.0_112]
      1 frame