Direct links to fixes
APAR status
Closed as program error.
Error description
When you use the ?rest/bpm/wle/v1/visual/processModel? or ?rest/bpm/wle/v1/visual/serviceModel? REST APIs to retrieve a business process definition (BPD) or service visual models, it fails with an ?Array index out of range? error when the image parameter is set to true.
Local fix
None available.
Problem summary
You expected the results to be an image of the BPD or service design. However, the following error is returned in the SystemOut.log file: wle_bpmrest E com.ibm.bpm.rest.impl.ilogdiagram.image.BPDImageHandler retrieve Array index out of range: 5 java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 5 at com.ibm.bpm.rest.impl.ilogdiagram.image.BPDImageHandler.getBPDId (BPDImageHandler.java:452) at com.ibm.bpm.rest.impl.ilogdiagram.image.BPDImageHandler.retrieve (BPDImageHandler.java:78) at com.ibm.bpm.rest.impl.ilogdiagram.bpd.BPDILOGVisualResource.getB PDImage(BPDILOGVisualResource.java:153) at com.ibm.bpm.rest.impl.ilogdiagram.bpd.BPDILOGVisualResource.getB PDForILOGDiagram(BPDILOGVisualResource.java:96) And the following error message is displayed in the web browser: {"status":"500","errorMessage":"Array index out of range: 5"}
Problem conclusion
A fix is available for IBM BPM V8.5.0.1 that fixes these REST APIs and ensures the proper image of the BPD or service that has been requested is returned. On Fix Central (http://www.ibm.com/support/fixcentral), search for JR51891: 1.Select IBM Business Process Manager with your edition from the product selector, the installed version to the fix pack level, and your platform, and then click Continue. 2.Select APAR or SPR, enter JR51891, and click Continue. When you download fix packages, ensure that you also download the readme file for each fix. Review each readme file for additional installation instructions and information about the fix.
Temporary fix
Comments
APAR Information
APAR number
JR51891
Reported component name
BPM ADVANCED
Reported component ID
5725C9400
Reported release
855
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-11-25
Closed date
2014-12-19
Last modified date
2015-01-22
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
BPM ADVANCED
Fixed component ID
5725C9400
Applicable component levels
R800 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
15 October 2021