java.lang.ClassCastException: java.nio.HeapByteBufferR cannot be cast to sun.nio.ch.DirectBuffer

GitHub | robertroeser | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ClassCastException in Unsafe buffer wrapping a HeapByteBufferR

    GitHub | 8 months ago | robertroeser
    java.lang.ClassCastException: java.nio.HeapByteBufferR cannot be cast to sun.nio.ch.DirectBuffer

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.nio.HeapByteBufferR cannot be cast to sun.nio.ch.DirectBuffer

      at org.agrona.concurrent.UnsafeBuffer.putBytes()
    2. org.agrona.concurrent
      UnsafeBuffer.putBytes
      1. org.agrona.concurrent.UnsafeBuffer.putBytes(UnsafeBuffer.java:891)
      2. org.agrona.concurrent.UnsafeBuffer.putBytes(UnsafeBuffer.java:869)
      2 frames