Note that there are some explanatory texts on larger screens.

plurals
  1. POKyro serialization error
    text
    copied!<p>I was working off of my thumbdrive with eclipse at school and brought the thumbdrive home.</p> <p>I suddenly got this error the next time I ran the program:</p> <pre><code> Exception in thread "main" java.lang.IllegalArgumentException: Unable to create serializer "com.esotericsoftware.kryo.serializers.FieldSerializer" for class: com.esotericsoftware.kryonet.FrameworkMessage$RegisterTCP at com.esotericsoftware.kryo.Kryo.newSerializer(Kryo.java:338) at com.esotericsoftware.kryo.Kryo.newDefaultSerializer(Kryo.java:317) at com.esotericsoftware.kryo.Kryo.getDefaultSerializer(Kryo.java:310) at com.esotericsoftware.kryo.Kryo.register(Kryo.java:354) at com.esotericsoftware.kryonet.KryoSerialization.&lt;init&gt;(KryoSerialization.java:33) at com.esotericsoftware.kryonet.KryoSerialization.&lt;init&gt;(KryoSerialization.java:25) at com.esotericsoftware.kryonet.Client.&lt;init&gt;(Client.java:73) at com.esotericsoftware.kryonet.Client.&lt;init&gt;(Client.java:55) at test.TestClient.&lt;init&gt;(TestClient.java:32) at test.TestClient.main(TestClient.java:39) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at com.esotericsoftware.kryo.Kryo.newSerializer(Kryo.java:325) ... 9 more Caused by: java.lang.IncompatibleClassChangeError: Found interface org.objectweb.asm.MethodVisitor, but class was expected at com.esotericsoftware.reflectasm.FieldAccess.insertConstructor(FieldAccess.java:144) at com.esotericsoftware.reflectasm.FieldAccess.get(FieldAccess.java:109) at com.esotericsoftware.kryo.serializers.FieldSerializer.rebuildCachedFields(FieldSerializer.java:104) at com.esotericsoftware.kryo.serializers.FieldSerializer.&lt;init&gt;(FieldSerializer.java:50) ... 14 more </code></pre> <p>I have never seen this kind of error and I'm not sure how to fix it. It happens every time I use the kryonet library. Any solutions available?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload