IBM Support

IV46174: JAVA.LANG.STACKOVERFLOWERROR THROWN FROM JAVA.SQL.SQLEXCEPTION.S ETNEXTEXCEPTION API

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.StackOverflowError
    .
    Stack Trace: at
    java.sql.SQLException.setNextException(SQLException.java:223)
     at
    java.sql.SQLException.setNextException(SQLException.java:223)
     at
    java.sql.SQLException.setNextException(SQLException.java:223)
     at
    java.sql.SQLException.setNextException(SQLException.java:223)
     at
    java.sql.SQLException.setNextException(SQLException.java:223)
     at
    java.sql.SQLException.setNextException(SQLException.java:223)
    .
    

Local fix

Problem summary

  • java.sql.SQLException.setNextException() ends up in a recursive
    call when it attempt to add the same SQLException or SQLWarning
    object to the Exception chain
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR15
    6.0.1 SR7
    7.0.0 SR6
    .
    The JDK has been updated to avoid adding the same SQLException
    or SQLWarning object to the Exception chain if it already exists
    in the chain.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV46174

  • 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

    2013-07-26

  • Closed date

    2013-09-10

  • Last modified date

    2013-09-10

  • 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:
10 September 2013