Bug 1133637 - "IOException: write size larger than buffer can fit" is experienced by trying to list completed processes in BPM Suite 6.0.2
Summary: "IOException: write size larger than buffer can fit" is experienced by trying...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER3
: 6.1.0
Assignee: Marco Rietveld
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-25 16:34 UTC by Amana
Modified: 2020-03-27 20:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:07:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
error_message.png (229.93 KB, image/png)
2014-08-25 16:34 UTC, Amana
no flags Details

Description Amana 2014-08-25 16:34:35 UTC
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:

Comment 2 Mauricio Salatino 2014-09-17 16:55:13 UTC
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.

Comment 3 Mauricio Salatino 2014-11-19 17:59:37 UTC
Can you please retry with the latest product build? Based on the 6.2.x branch?
I couldn't reproduce this issue.

Comment 4 Pavel Kralik 2015-01-12 16:41:28 UTC
How can I reproduce and generate 82.600 completed processes instances in testing environment?

Comment 6 Pavel Kralik 2015-01-13 17:13:46 UTC
BPMS 6.1.0.ER3. Verified with 90,000 process instances.

Comment 7 PnT Account Manager 2017-12-07 23:35:55 UTC
Employee 'msalatin' has left the company.


Note You need to log in before you can comment on or make changes to this bug.