IBM Support

PI49056: NullPointerException when updating traceSpecification programmat ically.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the TrConfigurator SPI, if a user calls the
    update method and passes in a Map that does not contain the
    suppressSensitiveTrace key, then the method will throw a
    NullPointerException similar to:
    
    java.lang.NullPointerException
    at
    com.ibm.websphere.ras.TrConfigurator.update(TrConfigurator.j
    ava:118)
    at
    com.ibm.ws.logging.test.SetTraceSpecTest.setTraceSpecificati
    on(SetTraceSpecTest.java:31)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile - Debug/Tracing      *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException when updating      *
    *                      traceSpecification programmatically.    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using the TrConfigurator SPI, if a user calls the update
    method and passes in a Map that does not contain the
    suppressSensitiveTrace key, then the method will throw a
    NullPointerException similar to:
    
    java.lang.NullPointerException
            at
    com.ibm.websphere.ras.TrConfigurator.update(TrConfigurator.java:
    118)
            at
    com.ibm.ws.logging.test.SetTraceSpecTest.setTraceSpecification(S
    etTraceSpecTest.java:31)
    

Problem conclusion

  • The fix for this APAR resolves the NullPointerException allowing
    SPI users to specify the traceSpecification successfully without
    needing to specify other properties.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.8.  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

    PI49056

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-09-21

  • Closed date

    2015-09-24

  • Last modified date

    2015-09-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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
17 October 2021