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

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

    Kryo Serializer IllegalAccessError at runtime

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