java.lang.IllegalAccessError: tried to access field com.esotericsoftware.kryo.io.Output.capacity from class com.esotericsoftware.kryo.io.ByteBufferOutput

Stack Overflow | sanjay | 9 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

    Kryo Serializer IllegalAccessError at runtime

    Stack Overflow | 9 months ago | sanjay
    java.lang.IllegalAccessError: tried to access field com.esotericsoftware.kryo.io.Output.capacity from class com.esotericsoftware.kryo.io.ByteBufferOutput

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access field com.esotericsoftware.kryo.io.Output.capacity from class com.esotericsoftware.kryo.io.ByteBufferOutput

      at com.esotericsoftware.kryo.io.ByteBufferOutput.<init>()
    2. Kryo
      ByteBufferOutput.<init>
      1. com.esotericsoftware.kryo.io.ByteBufferOutput.<init>(ByteBufferOutput.java:66)
      2. com.esotericsoftware.kryo.io.ByteBufferOutput.<init>(ByteBufferOutput.java:58)
      2 frames
    3. com.mycom.serializer
      MyAppSerializer.serialize
      1. com.mycom.serializer.MyAppSerializer.serialize(MyAppSerializer.java:43)
      1 frame