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.
 
URL LANGUAGE SIZE(Bytes)
Readme US English 2960
 
Download package
What is DD?
DOWNLOAD RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
PQ76673 9/4/2003 US English 1073627 FTP DD
 
Technical support
1-800-IBM-SERV (U.S. Only)
 
Problems (APARs) fixed
PQ76673
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Servlet Engine/Web Container
Operating system(s): HP-UX
Software version: 4.0.5
Software edition:
Reference #: 4005581
IBM Group: Software Group
Modified date: Jun 23, 2004