IBM Support

PH04583: RUNTIMEEXCEPTION IN VAPBINARYSTREAMTOSERIALIZABLEOBJECTCONVERTER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After the application of IBM Java SDK Fixpack (8.0.5.5 or
    later), the
    VapBinaryStreamToSerializableObjectConverter.objectFrom may
    throw RuntimeException.
    
    
    Caused by: java.lang.RuntimeException: invalid type code: 30
    at
    com.ibm.vap.converters.streams.VapBinaryStreamToSerializableObje
    ctConverter.objectFrom(VapBinaryStreamToSerializableObjectConver
    ter.java:63)
    

Local fix

  • this issue can be avoided with
    "-Dsun.lang.ClassLoader.allowArraySyntax=true"
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  WebSphere Application Server users of       *
    *                  VapBinaryStreamToSerializableObjectConverte *
    *                  r                                           *
    *                  with IBM Java Software Development Kit      *
    *                  8.0.5.5 or later                            *
    ****************************************************************
    * PROBLEM DESCRIPTION: RuntimeException thrown when the        *
    *                      VapBinaryStreamToSerializableObjectConv *
    *                      erter is used                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using Java Software Development Kit 8.0.5.5 or later, a
    RuntimeException may be thrown by the
    VapBinaryStreamToSerializableObjectConverter.objectFrom
    method.
    "Caused by: java.lang.RuntimeException: invalid type code: 27
    at
    com.ibm.vap.converters.streams.VapBinaryStreamToSerializableObje
    ctConverter.objectFrom(VapBinaryStreamToSerializableObjectConver
    ter.java:63)"
    

Problem conclusion

  • Prior to IBM Java SDK 8.0.5.5, the Bootstrap classloader used
    to allow loading array classes, but, IBM Java SDK 8.0.5.5 and
    later now throws a ´java.lang.ClassNotFoundException´. The
    VapBinaryStreamToSerializableObjectConverter now handles this
    exception instead of throwing a RuntimeException.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.15 and 9.0.0.11.  Please refer to the
    Recommended
    Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

  • Use the -Dsun.lang.ClassLoader.allowArraySyntax=true JVM
    argument as a temporary workaround.
    

Comments

APAR Information

  • APAR number

    PH04583

  • 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

    2018-10-29

  • Closed date

    2019-01-15

  • Last modified date

    2019-01-15

  • 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

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022