Download
Abstract
localserviceprovider initialization fails with nullpointerexception
Download Description
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:3581)
at com.ibm.ws.wim.ProfileManager.<init>(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.<init>(ServiceProvider.java: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.<init>(LocalServiceProvider.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:3581)
at
com.ibm.ws.wim.ProfileManager.<init>(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.<init>(ServiceProvider.java: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.<init>(LocalServiceProvider.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
Prerequisites
None
Installation Instructions
Please review the readme.txt for detailed installation instructions.
Technical Support
Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server support web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg24043691