From: yingwail
I found an exception when running the test1MbTxtMsgMem2MemChunked() unit test. It happens a few times when I ran it repeatedly. I am using JDK1.8 as the JRE.
17:04:15,734 ERROR [Transaction] Tx-SEND[n1at0ZJO] exception while parsing, generating 400 response javax.net.msrp.exceptions.NotEnoughStorageException: Putting 1024 bytes of data starting in 1047568 on a buffer with 1048576 at javax.net.msrp.MemoryDataContainer.put(MemoryDataContainer.java:113) at javax.net.msrp.Transaction.parse(Transaction.java:594) at javax.net.msrp.Connection.parser(Connection.java:558) at javax.net.msrp.PreParser.preParse(PreParser.java:248) at javax.net.msrp.Connection.readCycle(Connection.java:434) at javax.net.msrp.Connection.run(Connection.java:483) at java.lang.Thread.run(Unknown Source) Caused by: java.nio.BufferOverflowException at java.nio.HeapByteBuffer.put(Unknown Source) at javax.net.msrp.MemoryDataContainer.put(MemoryDataContainer.java:109) ... 6 more