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
Expected array, but got map value
org.msgpack.MessageTypeException: Expected array, but got map value
at org.msgpack.unpacker.Accept.acceptMap(Accept.java:93)
at org.msgpack.unpacker.MessagePackUnpacker.readOneWithoutStack(MessagePackUnpacker.java:132)
at org.msgpack.unpacker.MessagePackUnpacker.readOne(MessagePackUnpacker.java:73)
This happen because the method referred in the title is always calling readArrayBegin at the start of the read. However, it look like the binary file I've written based on write is not writing an array but a map.
However, if I readAsValue the file, it will work by resulting a MapValue...
Is there something I miss, or is it a bug (which I don't believe).
Thanks for you help
The text was updated successfully, but these errors were encountered:
It might not be an issue but part of my misunderstanding of the problem.
Let me explain it before I comment the title.
I'm trying to read into a class A which has 2 fields, let's say
I've written a serialization of such event in a file, that I'll try to read like this:
And here is what I got:
This happen because the method referred in the title is always calling readArrayBegin at the start of the read. However, it look like the binary file I've written based on
write
is not writing an array but a map.However, if I readAsValue the file, it will work by resulting a MapValue...
Is there something I miss, or is it a bug (which I don't believe).
Thanks for you help
The text was updated successfully, but these errors were encountered: