Download
Abstract
A NullPointerException occurs during translation of a JSP file which contains a custom tag.
Download Description
PM12828 resolves the following problem:
ERROR DESCRIPTION:
A NullPointerException occurs when compiling the following line in a JavaServer Page (JSP) which contains a custom tag.
The JSP file compiles successfully on WebSphere Application Server version 6.1, however it fails on version 7.0 The exception thrown is:
java.lang.NullPointerException
at
com.ibm.ws.jsp.translator.visitor.generator. GeneratorUtils.getTargetType(GeneratorUtils.java:144)
at
com.ibm.ws.jsp.translator.visitor.generator. GeneratorUtils.interpreterCall(GeneratorUtils.java:239)
at
com.ibm.ws.jsp.translator.visitor.generator. BaseTagGenerator.evaluateAttribute(BaseTagGenerator.java:532)
at
com.ibm.ws.jsp.translator.visitor.generator. BaseTagGenerator.generateSetters(BaseTagGenerator.java:289)
at
com.ibm.ws.jsp.translator.visitor.generator. CustomTagGenerator.startGeneration(CustomTagGenerator.java:368)
at
com.ibm.ws.jsp.translator.visitor.generator. GenerateVisitor.startGeneration(GenerateVisitor.java:709)
...
LOCAL FIX:
None
PROBLEM SUMMARY:
USERS AFFECTED:
All IBM WebSphere Application Server Version 7.0 users of JavaServer Pages (JSP).
PROBLEM DESCRIPTION:
A NullPointerException occurs during translation of a JSP file which contains a custom tag.
RECOMMENDATION:
None
During the translation phase of a JSP file a NullPointerException can occur. The exception is caused if a custom tag has an attribute where the expected return type is an array.
PROBLEM CONCLUSION:?
The JSP Container was modified to properly handle the array type for a custom tag attribute and prevent the NullPointerException from occurring.
The fix for this APAR is currently targeted for inclusion in fix pack 7.0.0.13. Please refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?uid=swg27004980
Prerequisites
Download the UpdateInstaller below to install this fix.
Installation Instructions
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/support/entry/portal/Overview/Software/WebSphere/WebSphere_Application_Server), or contact 1-800-IBM-SERV (U.S. only).
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg24027590