APAR status
Closed as program error.
Error description
Error Message: N/A . Stack Trace: java.lang.StringIndexOutOfBoundsExceptionat java.lang.String.charAt(String.java:424)at sun.nio.cs.ext.IBM29626$Encoder.encodeArrayLoop(IBM29626.java:23 18)at sun.nio.cs.ext.IBM29626$Encoder.encodeLoop(IBM29626.java:2565)at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:555)a t sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java: 405)at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:159)at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:169)at java.io.OutputStreamWriter.write(OutputStreamWriter.java:255)at java.io.Writer.write(Writer.java:151)......... .
Local fix
Problem summary
This is due to a race condition between two threads - one doing the encoder initialization and the other doing the conversion. The value accessed by conversion is get modified by another encoder initialization and result in the error.
Problem conclusion
This APAR will be fixed in the following Java Releases: 6 SR16 (6.0.16.0) 6 R1 SR8 (6.1.8.0) . The JDK has been updated to avoid the race condition by maintaining their own copy.
Temporary fix
Comments
APAR Information
APAR number
IV56622
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-03-12
Closed date
2014-03-27
Last modified date
2014-03-27
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
JAVA CLASS LIBS
Fixed component ID
620700130
Applicable component levels
R600 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
27 March 2014