UnsupportedOperationException when writing a Map

40 views
Skip to first unread message

Mickael Marrache

unread,
Mar 28, 2016, 2:32:28 AM3/28/16
to Chronicle
Hi,

I get the following exception when writing a Map:

java.lang.UnsupportedOperationException: todo
       at net.openhft.chronicle.wire.BinaryWire$FixedBinaryValueOut.map(BinaryWire.java:1280) ~[chronicle-wire-1.4.0-SNAPSHOT.jar:?]
       at com.mycompany.chronicle.MyServiceImpl.lambda$0(MyServiceImpl.java:32) ~[classes/:?]
       at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueExcerpts$StoreAppender.append(SingleChronicleQueueExcerpts.java:260) ~[chronicle-queue-4.2.0-SNAPSHOT.jar:?]
       at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueExcerpts$StoreAppender.writeDocument(SingleChronicleQueueExcerpts.java:155) ~[chronicle-queue-4.2.0-SNAPSHOT.jar:?]


The test was done with version 4.2.0-SNAPSHOT.

Thanks,
Mickael

Peter Lawrey

unread,
Mar 28, 2016, 3:26:02 AM3/28/16
to java-ch...@googlegroups.com

Can you try the ExcerptAppender.writeMap and ExcerptTailer.readMap I added?

--
You received this message because you are subscribed to the Google Groups "Chronicle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-chronicl...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mickael Marrache

unread,
Mar 28, 2016, 4:30:23 AM3/28/16
to Chronicle
That's fine now.

Thanks

Peter Lawrey

unread,
Mar 28, 2016, 5:01:12 AM3/28/16
to java-ch...@googlegroups.com
I suggest you try the ChronicleQueue.dump() to see what is in the queue (works for small queues but not so good if you have GBs)
Reply all
Reply to author
Forward
0 new messages