Fix (APAR): PI76481 Status: Fix Release: 9.0.0.3,9.0.0.2,9.0.0.1 Operating System: AIX,HP-UX,IBM i,Inspur K-UX,Linux,OS X,Solaris,Windows,iOS,z/OS Supersedes Fixes: CMVC Defect: xxxxxx Byte size of APAR: 302204 Date: 2017-05-18 Abstract: localserviceprovider initialization fails with nullpointerexception Description/symptom of problem: PI76481 resolves the following problem: ERROR DESCRIPTION: LocalServiceProvider initialization fails with NullPointerException in ProfileManager when running in non-WAS Java process. java.lang.NullPointerException at com.ibm.ws.wim.ProfileManager.initialize(ProfileManager.java:358 1) at com.ibm.ws.wim.ProfileManager.(ProfileManager.java:279) at com.ibm.ws.wim.ProfileManager.singleton(ProfileManager.java:286) at com.ibm.websphere.wim.ServiceProvider.initialize(ServiceProvider .java:137) at com.ibm.websphere.wim.ServiceProvider.(ServiceProvider.jav a:146) at com.ibm.websphere.wim.ServiceProvider.singleton(ServiceProvider. java:121) at com.ibm.websphere.wim.client.LocalServiceProvider.locateService( LocalServiceProvider.java:295) at com.ibm.websphere.wim.client.LocalServiceProvider.(LocalSe rviceProvider.java:146) LOCAL FIX: n/a PROBLEM SUMMARY USERS AFFECTED: IBM WebSphere Application Server users of federated repositories PROBLEM DESCRIPTION: When using LocalServiceProvider to connect from a non-WAS Java process, a NullPointerException will be encountered. RECOMMENDATION: None The following stack trace may be found in logs or FFDC, indicating that the exception has been encountered: java.lang.NullPointerException at com.ibm.ws.wim.ProfileManager.initialize(ProfileManager.java:358 1) at com.ibm.ws.wim.ProfileManager.(ProfileManager.java:279) at com.ibm.ws.wim.ProfileManager.singleton(ProfileManager.java:286) at com.ibm.websphere.wim.ServiceProvider.initialize(ServiceProvider .java:137) at com.ibm.websphere.wim.ServiceProvider.(ServiceProvider.jav a:146) at com.ibm.websphere.wim.ServiceProvider.singleton(ServiceProvider. java:121) at com.ibm.websphere.wim.client.LocalServiceProvider.locateService( LocalServiceProvider.java:295) at com.ibm.websphere.wim.client.LocalServiceProvider.(LocalSe rviceProvider.java:146) PROBLEM CONCLUSION: The null condition is now checked to prevent a NullPointerException. The fix for this APAR is currently targeted for inclusion in fix packs 8.0.0.14, 8.5.5.12 and 9.0.0.5. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980 Directions to apply fix: Install Fix to all WebSphere installations unless special instructions are included below. Special Instructions: None NOTE: The user must: * Logged in with the same authority level when unpacking a fix, fix pack or refresh pack. * Be at V1.8.5 or newer of the Installation Manager. Certain iFixes may require a newer version of the Installation Manager and the Installation Manager will inform you during the installation process if a newer version is required. The IBM Information Center can provide details, if needed, on the use of the Installation Manager to apply the iFixes. http://www.ibm.com/support/knowledgecenter/SSDV2W_1.8.5/com.ibm.cic.agent.ui.doc/helpindex_imic.html. Shutdown WebSphere Application Server before applying the iFixes. Restart WebSphere Application Server after applying the iFixes. Directions to remove fix: The IBM Information Center can provide details, if needed, on the use of the Installation Manager to remove the iFixes. http://www.ibm.com/support/knowledgecenter/SSDV2W_1.8.5/com.ibm.cic.agent.ui.doc/helpindex_imic.html. Shutdown WebSphere Application Server before removing the iFixes. Restart WebSphere Application Server after removing the iFixes. Directions to re-apply fix: 1) Shutdown WebSphere Application Server. 2) Follow the Fix instructions to apply the fix. 3) Restart WebSphere Application Server. Additional Information: