Fixes are available
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21
APAR status
Closed as program error.
Error description
Attempt to install an application from the administrative console with "Precompile JavaServer Pages files" box checked fails with NullpointerException. - The DMGR systemout.log shows 0000015a CompileJspTas I com.ibm.ws.jsp.tools.AbstractJspModC _internalCompileApp Exception caught during processing 5 null java.lang.NullPointerException at com.ibm.ws.jsp.configuration.JspWccmConfig.<init> (JspWccmConfig.java:259) at com.ibm.ws.jsp.tools.JspModC.createConfig (JspModC.java:195) at com.ibm.ws.jsp.tools.AbstractJspModC._internalCompileApp (AbstractJspModC.java:256) at com.ibm.ws.jsp.tools.AbstractJspModC.compileApp (AbstractJspModC.java:218) at com.ibm.ws.jsp.tools.AbstractJspModC.compileApp (AbstractJspModC.java:177) at com.ibm.ws.jsp.tools.JspToolsImpl.internalCompileDir (JspToolsImpl.java:81) at com.ibm.ws.jsp.tools.JspToolsImpl.compileApp (JspToolsImpl.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.ibm.ws.management.application.task.CompileJspTask. compileWars(CompileJspTask.java:366) at com.ibm.ws.management.application.task.CompileJspTask .install (CompileJspTask.java:247) at com.ibm.ws.management.application.task.CompileJspTask. performTask (CompileJspTask.java:130) at com.ibm.ws.management.application.SchedulerImpl.run (SchedulerImpl.java:315) at java.lang.Thread.run(Thread.java:790) --- The FFDC entry shows: FFDC Exception:java.lang.NullPointerException SourceId:com.ibm.ws.management.application.task.ConfigureTask. performTask ProbeId:471 Reporter:java.lang.Class@cd3eb2fa java.lang.NullPointerException at com.ibm.ws.management.application.client. AppDeploymentOptionsHelper.getClassloaderFactory (AppDeploymentOptionsHelper.java:1296) at com.ibm.ws.management.application.client. appDeploymentOptionsHel per.saveAppOptions (AppDeploymentOptionsHelper.java:1154) at com.ibm.ws.management.application.task.ConfigureTask. populateAppOptions(ConfigureTask.java:837) at com.ibm.ws.management.application.task.ConfigureTask. performTask(ConfigureTask.java:384) at com.ibm.ws.management.application.SchedulerImpl.run (SchedulerImpl.java:315) at java.lang.Thread.run(Thread.java:790)
Local fix
None - Keywords: NPE PJS JSP deploy Null pointer exception
Problem summary
**************************************************************** * USERS AFFECTED: IBM WebSphere Application Server Full * * Profile * * versions 8.0 and 8.5.5 users of JavaServer * * Pages (JSP). * **************************************************************** * PROBLEM DESCRIPTION: The JavaServer Pages (JSP) Batch * * Compiler * * fails to compile JSP files in a web * * module if the web.xml declares a * * servlet * * without a servlet class using the * * <servlet-class> tag. * **************************************************************** * RECOMMENDATION: * **************************************************************** A java.lang.NullPointerException is thrown when the JSP Batch Compiler is used to precompile JSP files in web modules that have at least one servlet declaration without a servlet class in the web.xml. This also affects applications using the "Precompile JavaServer Pages files" option during deployment using the WebSphere Application Server Administrative Console. Example of a web.xml that generates the java.lang.NullPointerException: <?xml version="1.0" encoding="UTF-8"?> <web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> <display-name>webapp</display-name> <servlet> <description>Servlet A</description> <servlet-name>servletName</servlet-name> </servlet> <servlet-mapping> <servlet-name>servletName</servlet-name> <url-pattern>/servletA/*</url-pattern> </servlet-mapping> </web-app> Example of the resulting exception: Exception: java.lang.NullPointerException at com.ibm.ws.jsp.configuration.JspWccmConfig.<init>(JspWccmConfig. java:259) at com.ibm.ws.jsp.tools.JspBatchCBase.getConfigOptions(JspBatchCBas e.java:311) at com.ibm.ws.jsp.tools.JspBatchCompiler.getConfigOptions(JspBatchC ompiler.java:1175) at com.ibm.ws.jsp.tools.JspBatchCompiler.runEarCompiler(JspBatchCom piler.java:412) at com.ibm.ws.jsp.tools.JspBatchCompiler.startup(JspBatchCompiler.j ava:193) at com.ibm.ws.jsp.tools.BatchCompilerLauncher.main(BatchCompilerLau ncher.java:13) ... 26 more
Problem conclusion
The JSP Batch Compiler code was modified to avoid this NullPointerException when a web module declares a servlet without a servlet class in its web.xml. The fix for this APAR is currently targeted for inclusion in fix packs 8.0.0.13 and 8.5.5.10. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PI61073
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-04-19
Closed date
2016-05-02
Last modified date
2016-05-10
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
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R800 PSY
UP
Document Information
Modified date:
27 April 2022