APAR status
Closed as program error.
Error description
output shows: JspBatchCBase.getServerLibraryPaths() about to call getClassPaths(cloader) Enter JspBatchCBase.getClassPaths() JspBatchCBase.getClassPaths() libraryRefs: [[com.ibm.websphere .models.config.classloader.impl.LibraryRefImpl@36e0c0ea]] JspBatchCBase.getClassPaths() loadedLibraries: [{}] JspBatchCBase.getClassPaths() libName: [LIB1234] JspBatchCBase.getClassPaths() loadedLibraries.get(libName): [null] java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... Caused by: java.lang.NullPointerException at com.ibm.ws.jsp.tools.JspBatchCBase.getClassPaths(JspBatchCB ase.java:1043) at com.ibm.ws.jsp.tools.JspBatchCBase.getClassPaths(JspBatchCB ase.java:1086) at com.ibm.ws.jsp.tools.JspBatchCBase.getServerLibraryPaths(Js pBatchCBase.java:732) at com.ibm.ws.jsp.tools.JspBatchCBase.getClassLoaderManager(Js pBatchCBase.java:567) at com.ibm.ws.jsp.tools.JspBatchCompiler.batchCompile(JspBatch Compiler.java:751) at com.ibm.ws.jsp.tools.JspBatchCompiler.runBatchCompiler(JspB atchCompiler.java:331) This can happen if the lookup for the class or library fails. This can happen if a path not found or file not found. The code will be improved to output a better message for this error condition.
Local fix
fix the reason the lookup for the class or library fails. Check for path not found or file not found.
Problem summary
**************************************************************** * USERS AFFECTED: Users of JspBatchCompiler on IBM WebSphere * * Application Server ND V8.5.5 and V9.0 * **************************************************************** * PROBLEM DESCRIPTION: When the JspBatchCompiler is used on * * installed applications in WebSphere * * ND, if the application also * * references cluster level libraries * * that are incorrectly defined in the * * JspBatchCompiler arguments, this can * * result in * * java.lang.NullPointerException. * **************************************************************** * RECOMMENDATION: * **************************************************************** JspBatchCompiler can encounter a Null Pointer Exception (NPE) for certain cluster classlibraries that are referenced but not found: JspBatchCBase.getServerLibraryPaths() about to call getClassPaths(cloader) Enter JspBatchCBase.getClassPaths() JspBatchCBase.getClassPaths() libraryRefs: [[com.ibm.websphere.models.config.classloader.impl.LibraryRefImp l@...]] JspBatchCBase.getClassPaths() loadedLibraries: [{}] JspBatchCBase.getClassPaths() libName: [...] JspBatchCBase.getClassPaths() loadedLibraries.get(libName): [null] java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... Caused by: java.lang.NullPointerException at com.ibm.ws.jsp.tools.JspBatchCBase.getClassPaths(JspBatchCBase.j ava:1043) at com.ibm.ws.jsp.tools.JspBatchCBase.getClassPaths(JspBatchCBase.j ava:1086) at com.ibm.ws.jsp.tools.JspBatchCBase.getServerLibraryPaths(JspBatc hCBase.java:732) at com.ibm.ws.jsp.tools.JspBatchCBase.getClassLoaderManager(JspBatc hCBase.java:567) at com.ibm.ws.jsp.tools.JspBatchCompiler.batchCompile(JspBatchCompi ler.java:751) at com.ibm.ws.jsp.tools.JspBatchCompiler.runBatchCompiler(JspBatchC ompiler.java:331)
Problem conclusion
The JspBatchCompiler has been updated to trap the NPE and log a INFO level trace record that can be used to diagnose the cause of the classlibrary lookup error. The fix for this APAR is targeted for versions 8.5.5.21 and 9.0.5.11. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553
Temporary fix
Comments
APAR Information
APAR number
PH39923
Reported component name
WEBSPHERE FOR Z
Reported component ID
5655I3500
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-08-17
Closed date
2021-11-30
Last modified date
2021-11-30
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
WEBSPHERE FOR Z
Fixed component ID
5655I3500
Applicable component levels
[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900"}]
Document Information
Modified date:
01 December 2021