Created attachment 930598 [details] error_message.png Description of problem: By trying to list completed processes (with a large numbers of result sets), a message is displayed in business-central UI (see error_message.png): Unexpected error encountered : java.io.IOException:write size larger than buffer can fit This is the root cause in server.log: Caused by: java.io.IOException: write size larger than buffer can fit at org.jboss.errai.bus.server.io.buffers.TransmissionBuffer.write(TransmissionBuffer.java:208) at org.jboss.errai.bus.server.io.buffers.TransmissionBuffer.write(TransmissionBuffer.java:186) at org.jboss.errai.bus.server.io.BufferHelper.encodeAndWrite(BufferHelper.java:38) at org.jboss.errai.bus.server.io.BufferDeliveryHandler.deliver(BufferDeliveryHandler.java:54) at org.jboss.errai.bus.server.MessageQueueImpl.offer(MessageQueueImpl.java:123) at org.jboss.errai.bus.server.ServerMessageBusImpl.enqueueForDelivery(ServerMessageBusImpl.java:411) ... 45 more It only happens with a large result set (it seems like there is more than 82.600 completed process instances in the ProcessInstanceLog table). Looking at TransmissionBuffer class, it should be the expected behaviour and the best approach should be avoid keeping the database tables from growing infinitely. However, this error message could a bit more user-friendly. Version-Release number of selected component (if applicable): BPM Suite 6 How reproducible: By trying to list completed processes (with a large numbers of result sets - more than 82.600 ) Actual results: Unexpected error encountered : java.io.IOException:write size larger than buffer can fit Expected results: The message could be a bit more user-friendly. Additional info:
Is there any easy way to reproduce this error? I mean how did you generate 82.600 completed processes instances? I need a way to reproduce this in gwt hosted mode (with H2), so I can reproduce the issue.
Can you please retry with the latest product build? Based on the 6.2.x branch? I couldn't reproduce this issue.
How can I reproduce and generate 82.600 completed processes instances in testing environment?
BPMS 6.1.0.ER3. Verified with 90,000 process instances.
Employee 'msalatin' has left the company.