IBM Support

PM61678: NULLPOINTEREXCEPTION IN SIMPLEDATEFORMAT.MATCHZONESTRING.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: NullPointerException at
    java.text.SimpleDateFormat.matchZoneString.
    .
    Stack Trace: java.lang.NullPointerException
    
      at
    java.text.SimpleDateFormat.matchZoneString(SimpleDateFormat.java
    :12
      at
    java.text.SimpleDateFormat.subParseZoneString(SimpleDateFormat.j
    ava
      at
    java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1644)
    
      at
    java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1182)
      at java.text.DateFormat.parse(DateFormat.java:350)
    .
    

Local fix

Problem summary

  • As zoneStrings pointed to the entry value in cache for both
    DateFormatSymbols objects, they are common for multiple threads
    and there is a possibility for inconsistency while duplicating
    the data.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR11 FP2
    1.4.2 SR13 FP13
    .
    The JVM is updated to create a copy of zoneStrings object for
    each DateFormatSymbols to make zoneStrings thread safe.
    .
    To obtain the fix:
    Install build 20100408 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM61678

  • Reported component name

    JAVA(1.3/1.4 CO

  • Reported component ID

    5648C9800

  • Reported release

    42L

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-04-02

  • Closed date

    2012-04-02

  • Last modified date

    2012-09-05

  • APAR is sysrouted FROM one or more of the following:

    IZ67328

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA(1.3/1.4 CO

  • Fixed component ID

    5648C9800

Applicable component levels

  • R420 PSY

       

  • R42A PSY

       

  • R42L PSY

       

  • R42W PSY

       



Document information

More support for: Runtimes for Java Technology
General

Software version: 1.4.2

Reference #: PM61678

Modified date: 2012-09-05