IBM Support

PK90686: NULLPOINTEREXCEPTION WHEN USING CONNECT TAGS AND FINEST TRACING IS ENABLED

 

APAR status

  • Closed as program error.

Error description

  • If you are using connect tags and you have finest tracing
    enabled on the BaseBL class or any higher level package that
    encompasses the BaseBL class (including general tracing) you may
    get a NullPointerException in the logs and the connect tag will
    fail to render.
    
    00000049 CmpntReferenc W   IWKPC1007X: Could not find an
    identity for name (resolved reference key): 1pixel, CmpntName
    [null], URL [http://zzz.yyy.com:555/wps/wcm/connect/...]
    00000049 BaseBL        E   IWKCT1185X: Cannot process Connect
    tag. Exception: java.lang.NullPointerException
    00000049 BaseBL        E   IWKCT1185X: Cannot process Connect
    tag. Exception: java.lang.NullPointerException
    00000049 BaseBL        E   IWKCT1324X: No responses to
    aggregate, WorkerCount is null.
    00000049 ModuleManager E   IWKCT1382X: Major exception caught:
    com.presence.connect.business.module.ErrorExecutingRequestExcept
    ion: IWKMU1062X: Message: IWKCT1366X: Exception caught servicing
    a Servlet request for null, Cause:
    java.lang.NullPointerException
    00000049 ModuleManager E   IWKCT1383X: Unexpected error from
    Module. Details of cause to follow:
    00000049 ModuleManager E
                                     java.lang.NullPointerException
     at
    com.presence.connect.business.BaseBL.processConnectTags(BaseBL.j
    ava:793)
     at
    com.presence.connect.business.BaseBL.processXMLDocument(BaseBL.j
    ava:1148)
     at
    com.aptrix.pluto.renderer.RendererModule.processNoFlatCacheItem(
    Renderer Module.java:1189)
    00000049 WebApp        E   SRVE0026E: [Servlet Error]-[WCM
    Framework]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport:
    Error reported: 500
     at
    com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError
    (WebAppDispatcherContext.java:626)
     at
    com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServ
    letResponse.java:915)
     at
    com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServ
    letResponse.java:898)
    

Local fix

  • You can reduce tracing to finer or below on the BaseBL class to
    work around this issue.
    

Problem summary

  • A trace statement was using a possible null valued variable
    outside the null value check which results in the
    NullPointerException when that trace level (finest) is enabled.
    

Problem conclusion

  • The trace statement was moved inside the null value check.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK90686

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    60H

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-07-07

  • Closed date

    2009-07-07

  • Last modified date

    2009-08-18

  • 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

    LOTUS WEB CONT

  • Fixed component ID

    5724I2900

Applicable component levels

  • R60J PSY

       UP

[{"Business Unit":{"code":"BU051","label":"N\/A"},"Product":{"code":"SUPPORT","label":"IBM Web Content Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1.4","Line of Business":{"code":"LOB33","label":"N\/A"}}]

Document Information

Modified date:
21 December 2021