Direct links to fixes
APAR status
Closed as program error.
Error description
In API Connect V5.0.3.0 the following exception is received when an user is added to Cloud Management Console. ..... Caused by: java.lang.NullPointerException at com.ibm.apim.security.util.SecurityUtil.getEnvIdAndIdpIdFromPort alContext(SecurityUtil.java:175) at com.ibm.apim.security.util.SecurityUtil.getRealContext(SecurityU til.java:147) at com.ibm.apim.security.service.IdentityProviderRepositoryDataServ ice.getDefaultIdpIdByContext(IdentityProviderRepositoryDataServi ce.java:1053) at com.ibm.apim.security.service.UserRepositoryDataService.findUser ByUsernameContext(UserRepositoryDataService.java:814) at com.ibm.apimgmt.resources.external.org.ExternalOrgHelper.createC onsumerOrg(ExternalOrgHelper.java:318)
Local fix
Problem summary
When adding a new user via the cmc console the operation fails with the following error seeing in /var/log/cmc.out: Caused by: java.lang.NullPointerException at com.ibm.apim.security.util.SecurityUtil.getEnvIdAndIdpIdFromPort alContext(SecurityUtil.java:175) at com.ibm.apim.security.util.SecurityUtil.getRealContext(SecurityU til.java:147) at com.ibm.apim.security.service.IdentityProviderRepositoryDataServ ice.getDefaultIdpIdByContext(IdentityProviderRepositoryDataServi ce.java:1053) at com.ibm.apim.security.service.UserRepositoryDataService.findUser ByUsernameContext(UserRepositoryDataService.java:814) at com.ibm.apimgmt.resources.external.org.ExternalOrgHelper.createC onsumerOrg(ExternalOrgHelper.java:318)
Problem conclusion
Upgrade to the 5.0.3.0 public iFix 1, 5.0.4.0 or higher.
Temporary fix
Comments
APAR Information
APAR number
LI79290
Reported component name
API CONNECT ENT
Reported component ID
5725Z2201
Reported release
503
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-09-20
Closed date
2016-10-03
Last modified date
2016-10-03
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
API CONNECT ENT
Fixed component ID
5725Z2201
Applicable component levels
R503 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"503","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
03 October 2016