IBM Support

IV59520: NULLPOINTEREXCEPTION WHILE WRITING CLASS DESCRIPTOR OBJECT TO OBJECTOUTPUTSTREAM AFTER APLLYING APAR IV43437.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: NullPointerException
    .
    Stack Trace: Exception in thread "main"
    java.lang.NullPointerExceptionat
    sun.reflect.misc.ReflectUtil.checkPackageAccess(ReflectUtil.java
    :107)at
    java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.
    java:1269)at
    java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.jav
    a:1212)at
    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:
    1104)at
    java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:3
    31)
    .
    

Local fix

Problem summary

  • The class object in ObjectOutputStream can be null for custom
    ObjectOutputStream. The missing null check  for class object
    cause the NullPointerException. .
    

Problem conclusion

  • The JDK has been updated to add the null check  for class object
     before accessing the class object of a ObjectOutputStream
    .
    This APAR will be fixed in the following Java Releases:
       6    SR16 FP1  (6.0.16.1)
       6 R1 SR8  FP1  (6.1.8.1)
       7    SR7  FP1  (7.0.7.1)
       7 R1 SR1  FP1  (7.1.1.1)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, Java maintenance is available
    from:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV59520

  • 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-04-21

  • Closed date

    2014-06-30

  • Last modified date

    2014-07-21

  • 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

  • R700 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:
21 July 2014