IBM Support

PM89049: CAUSE OF BUNDLEEXCEPTION IS LOST, WHICH MAKES SOME ERRORS HARD TO DEBUG

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • No FFDC or stack traces are logged for BundleException, which
    can make some errors difficult to understand:
    
    [ERROR   ] CWWKE0702E: The activator
    com.ibm.ws.example.TestActivator for
    bundle com.ibm.ws.example.bundle is invalid
    
    The underlying cause might be a NoClassDefFoundError, but the
    cause is obscured:
    
    com.ibm.ws.example.TestActivator for
    bundle com.ibm.ws.example.bundle is invalid
    Caused by: java.lang.NoClassDefFoundError:
    com.ibm.ws.missing.Dependency
    Caused by: java.lang.ClassNotFoundException:
    com.ibm.ws.missing.Dependency
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Extenders of IBM WebSphere Application      *
    *                  Server Liberty Profile                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: The cause of a BundleException is not   *
    *                      printed to logs.                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If a log service error occurs due to a BundleException, then a
    CWWKE0702E message is issued with the message of the
    BundleException only.  If the BundleException was caused by
    another exception, then the message of the BundleException is
    not sufficient to determine the underlying cause.
    

Problem conclusion

  • The CWWKE0702E message is only used if the BundleException
    does not have a cause.  Otherwise, the CWWKE0701E message is
    used, which includes a full stack trace.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.1. Please refer to the Recommended Updates page
    for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM89049

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-05-14

  • Closed date

    2013-05-24

  • Last modified date

    2013-05-24

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 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":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 January 2022