You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is an example:
case class Prim(c3:Double, c2:Float)
val prim = Prim(0.32434234234, 43.43234f)
val encoded = prim.pickle
val decoded = encoded.unpickle[Prim]
Here is the throw Exception:
Exception in thread "main" java.nio.BufferOverflowException
at java.nio.Buffer.nextPutIndex(Buffer.java:521)
at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:169)
at scala.pickling.msgpack.MsgPackOutputArray.writeByte(MsgPackWriter.scala:241)
at scala.pickling.msgpack.MsgPackOutputArray.writeInt32(MsgPackWriter.scala:253)
at scala.pickling.msgpack.MsgPackPickleBuilder$$anonfun$beginEntry$1.apply(package.scala:219)
at scala.pickling.msgpack.MsgPackPickleBuilder$$anonfun$beginEntry$1.apply(package.scala:145)
at scala.pickling.PickleTools$class.withHints(Tools.scala:436)
at scala.pickling.msgpack.MsgPackPickleBuilder.withHints(package.scala:130)
at scala.pickling.msgpack.MsgPackPickleBuilder.beginEntry(package.scala:145)
at scala.pickling.msgpack.MsgPackPickleBuilder.beginEntry(package.scala:130)
at scala.pickling.CorePicklersUnpicklers$PrimitivePicklerUnpickler.pickle(Custom.scala:368)
at scala.pickling.msgpack.MsgPackPickleBuilder.putField(package.scala:250)
at scala.pickling.msgpack.MsgPackPickleBuilder.putField(package.scala:130)
The text was updated successfully, but these errors were encountered:
Here is an example:
case class Prim(c3:Double, c2:Float)
val prim = Prim(0.32434234234, 43.43234f)
val encoded = prim.pickle
val decoded = encoded.unpickle[Prim]
Here is the throw Exception:
Exception in thread "main" java.nio.BufferOverflowException
at java.nio.Buffer.nextPutIndex(Buffer.java:521)
at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:169)
at scala.pickling.msgpack.MsgPackOutputArray.writeByte(MsgPackWriter.scala:241)
at scala.pickling.msgpack.MsgPackOutputArray.writeInt32(MsgPackWriter.scala:253)
at scala.pickling.msgpack.MsgPackPickleBuilder$$anonfun$beginEntry$1.apply(package.scala:219)
at scala.pickling.msgpack.MsgPackPickleBuilder$$anonfun$beginEntry$1.apply(package.scala:145)
at scala.pickling.PickleTools$class.withHints(Tools.scala:436)
at scala.pickling.msgpack.MsgPackPickleBuilder.withHints(package.scala:130)
at scala.pickling.msgpack.MsgPackPickleBuilder.beginEntry(package.scala:145)
at scala.pickling.msgpack.MsgPackPickleBuilder.beginEntry(package.scala:130)
at scala.pickling.CorePicklersUnpicklers$PrimitivePicklerUnpickler.pickle(Custom.scala:368)
at scala.pickling.msgpack.MsgPackPickleBuilder.putField(package.scala:250)
at scala.pickling.msgpack.MsgPackPickleBuilder.putField(package.scala:130)
The text was updated successfully, but these errors were encountered: