Direct link to fix
APAR status
Closed as program error.
Error description
The group details call (/rest/bpm/wle/v1/group/{groupNameOrID}) returns HTTP 500, if the group id does not exist. The following exception occurs in the SystemOut: [2/12/20 11:04:14:017 CET] 000006c9 RestHelper W java.lang.NullPointerException com.lombardisoftware.client.delegate.BusinessDelegateException: java.lang.NullPointerException at com.lombardisoftware.client.delegate.BusinessDelegateException.a sBusinessDelegateException(BusinessDelegateException.java:46) ... Caused by: java.lang.NullPointerException at com.lombardisoftware.server.core.GroupCore.getGroup(GroupCore.ja va:464) at com.lombardisoftware.server.core.GroupCore.getGroup(GroupCore.ja va:410) at com.lombardisoftware.server.ejb.psapi.UserGroupAPIFacadeCore.fin dUserGroupById(UserGroupAPIFacadeCore.java:78) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... If a non-existing group name is entered, the call returns HTTP 404 (NON EXISTENT) like expected.
Local fix
The following alternatives can be used: a) group details with group name as argument /rest/bpm/wle/v1/group/{groupNameOrID} b) list all groups /rest/bpm/wle/v1/groups
Problem summary
The response of HTTP Status 500 (internal server) is returned because calling the GET /rest/bpm/wle/v1/group/{groupNameOrID} REST API with a group ID that doesn't exists results in a NullPointerException that is reported as an internal server error.
Problem conclusion
A fix is available or will be available that prevents the NullPointerException to ensure a 404 NOT FOUND response code is returned.
Temporary fix
Comments
APAR Information
APAR number
JR61998
Reported component name
BUS AUTO WORKFL
Reported component ID
5737H4100
Reported release
J00
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-02-12
Closed date
2020-03-16
Last modified date
2020-03-16
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
BUS AUTO WORKFL
Fixed component ID
5737H4100
Applicable component levels
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"19.0.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
22 June 2020