Fixes are available
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
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.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
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
When setting a date after 2038 in a servlet a Null Pointer Exception is thrown [4/8/15 5:59:19:547 UTC] 0000006c ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: An exception was thrown by one of the service methods of the servlet [com.ibm.jp.yshk.MyServlet] in application [DateHeader]. Exception created : [java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1 at com.ibm.ws.webcontainer.srt.http.HttpDate.getBytes(HttpDate.java :192 at com.ibm.ws.webcontainer.srt.http.HttpDate.toString(HttpDate.java :620 at com.ibm.ws.webcontainer.channel.WCCResponseImpl.setDateHeader(WC CRes at com.ibm.ws.webcontainer.srt.SRTServletResponse.setDateHeader(SRT Serv at com.ibm.jp.yshk.MyServlet.doGet(MyServlet.java:40)
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: IBM WebSphere Application Server full * * profile version 8.5.5 users of * * setDateHeader() API * **************************************************************** * PROBLEM DESCRIPTION: The * * javax.servlet.http.HttpServletResponse. * * setDateHeader() API throws a * * java.lang.ArrayIndexOutOfBoundsExceptio * * n * **************************************************************** * RECOMMENDATION: * **************************************************************** When calling the javax.servlet.http.HttpServletResponse.setDateHeader() API, a java.lang.ArrayIndexOutOfBoundsException might be thrown. This exception only occurs when a date is set after "Tue, 19 Jan 2038 03:14:07 GMT".
Problem conclusion
The WebContainer code has been modified and the ArrayIndexOutOfBoundsException is not thrown now in the above explained scenario. The fix for this APAR is currently targeted for inclusion in fix pack 8.5.5.8. 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
PI40117
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
2015-04-29
Closed date
2015-06-29
Last modified date
2017-03-28
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
R850 PSY
UP
Document Information
Modified date:
28 April 2022