Exception in thread "Server"
java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:
474)
at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:
117)
at
com.esotericsoftware.kryo.serialize.ShortSerializer.get(ShortSerializer.java:
71)
at
com.esotericsoftware.kryo.serialize.ShortSerializer.readObjectData(ShortSerializer.java:
29)
at
com.esotericsoftware.kryo.serialize.ShortSerializer.readObjectData(ShortSerializer.java:
14)
at
com.esotericsoftware.kryo.Serializer.readObject(Serializer.java:
56)
at
com.esotericsoftware.kryo.serialize.FieldSerializer.readObjectData(FieldSerializer.java:
176)
at
com.esotericsoftware.kryo.Compressor.readObjectData(Compressor.java:
95)
at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:
307)
at
com.esotericsoftware.kryonet.TcpConnection.readObject(TcpConnection.java:
121)
at com.esotericsoftware.kryonet.Server.update(Server.java:
178)
at com.esotericsoftware.kryonet.Server.run(Server.java:
319)
at java.lang.Thread.run(Thread.java:619)
Using kryo-0.92 and kryonet-0.91
Around 60 people were online.
What could be the cause?
--
You received this message because you are subscribed to the "kryonet-users" group.
http://groups.google.com/group/kryonet-users
I'm using the latest version of kryo and kryonet from svn. My
application is a Pulpcore app and needs to be signed. When trying to
sign it, however, I get the following:
jarsigner: unable to sign jar: java.util.zip.ZipException: duplicate
entry: org/objectweb/asm/AnnotationVisitor.class
Not sure what to do here.
To unsubscribe from this group, send email to kryonet-users+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
I tried a few things to get the jar to be signed properly, but none of
them worked. So, I hacked up the latest kryo a bit to not use
asm-3.2.jar, which I saw only FieldSerializer uses. I removed the
entire AccessLoader class.
The app is now signed properly, but what effect will changing
FieldSerializer in this way have? All the other classes are from the
latest kryo in svn.
To unsubscribe from this group, send email to kryonet-users+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.