Skip to main content

IZ67328: 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 SR?
    .
    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

    IZ67328

  • Reported component name

    JAVA 5 CLASS LI

  • Reported component ID

    620500130

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-12-30

  • Closed date

    2010-04-09

  • Last modified date

    2012-04-02

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

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

    PM61678

Fix information

  • Fixed component name

    JAVA 5 CLASS LI

  • Fixed component ID

    620500130

Applicable component levels

  • R500 PSY

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

Java Class Libraries


Software version:
5.0


Reference #:
IZ67328


Modified date:
2012-04-02

Translate my page

Content navigation