IBM Support

IJ27398: ASSERTION FAILED WHEN TRYING TO WRITE A CLASS FILE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: The javacore file shows a dump event
    "traceassert" (00080000) received.
            The snap trace shows the following message:
            Assert     * ** ASSERTION FAILED ** at
    ClassFileWriter.hpp:148: ((0 ))
    .
    Stack Trace: The native stack trace looks like this:
            doTracePoint ()
            javaTrace ()
            indexForType ()
            indexForUTF8 ()
            ClassFileWriter::writeAttributeHeader ()
            ClassFileWriter::writeTypeAnnotationsAttribute ()
            ClassFileWriter::writeCodeAttribute ()
            ClassFileWriter::writeMethod ()
            ClassFileWriter::writeMethods ()
            ClassFileWriter::writeClassFile ()
            ClassFileWriter::ClassFileWriter ()
            j9bcutil_transformROMClass ()
            internalLoadROMClass ()
            createROMClassFromClassFile ()
            internalDefineClass ()
            defineClassCommon ()
            Java_java_lang_ClassLoader_defineClassImpl ()
    .
    

Local fix

Problem summary

  • This issue is caused because a method code type annotation is
    missed.
    

Problem conclusion

  • The JVM has been updated so that the method code type annotation
    is read properly.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR6 FP16  (8.0.6.16)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ27398

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-08-31

  • Closed date

    2020-09-02

  • Last modified date

    2020-09-02

  • 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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R270 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022