PQ76673; 4.0.5/4.0.6: NullPointerException is coming
from getJvmConverter
Downloadable files
Abstract
On WebSphere® Application Server V4.0.4,
NullPointerException coming from java.lang.String.<init> from the
servlet engine
com.ibm.servlet.engine.srt.SRTRequestUtils.getJvmConverter
Download Description
PQ76673 resolves the following problem:
USERS AFFECTED:
WebSphere Application Server uses default property files without a locale
suffix.
PROBLEM DESCRIPTION:
When users have default property files loaded dynamically, the server gets
a NullPointerException and the property file is not loaded. If the file
name is appended with the default locale, it will work properly.
RECOMMENDATION:
The SRTServletResponse.setCharacterEncoding method allows a null to be set
as an encoding parameter. This will cause a NullPointerException when the
response tries to use the null to construct an encoding string, and
loading of the properties file will be aborted.
Problem Conclusion:
Added checking logic for a null input in setCharacterEncoding, and set to
default encoding when it is null.
The default encoding is en_US as hard coded in the class.
Prerequisites
NONE
Installation instructions
Please review the readme.txt for detailed installation
instructions.