IBM Support

PM07686: GENERAL TRACING CAUSES NULLPOINTEREXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When enabling traces for com.ibm.wps.*=all, a
    NullPointerException is thrown and no page is being rendered.
    Instead, an HTTP error 404 is returned. The following
    stacktrace can be found in trace.log:
    
    java.lang.NullPointerException
    at com.ibm.wps.resolver.accessors.url.PocUrlOnContext
    .reset(PocUrlOnContext.java:284)
    at com.ibm.wps.resolver.accessors.url.PocURLFactoryImpl
    .newLookupURL(PocURLFactoryImpl.java:472)
    at com.ibm.wps.resolver.accessors.url.PocURLFactoryImpl
    .newLookupURL(PocURLFactoryImpl.java:446)
    at com.ibm.wps.resolver.accessors.url.PocURLFactoryImpl
    .newURL(PocURLFactoryImpl.java:642)
    at com.ibm.wps.theme.extensions.BookmarkMetaItem
    .createAndWriteUrl(BookmarkMetaItem.java:279)
    at com.ibm.wps.theme.extensions.BookmarkMetaItem
    .getText(BookmarkMetaItem.java:147)
    at com.ibm.wps.theme.plugin.tags.ThemeExtensionItemTextTag
    .getValue(ThemeExtensionItemTextTag.java:51)
    at com.ibm.wps.theme.plugin.tags
    .ThemeExtensionItemLocalizedValueTag
    .doStartTag(ThemeExtensionItemLocalizedValueTag.java:80)
    at com.ibm._jsp._Default._jspx_meth_portal$1theme$1ext_themeExte
    
    nsionItemText_0(_Default.java:6092)
    at com.ibm._jsp._Default._jspService(_Default.java:998)
    

Local fix

  • Turn off tracing for com.ibm.wps.state.accessors.url
    .EngineURLOnRequest
    

Problem summary

  • When enabling traces for com.ibm.wps.*=all, a
    NullPointerException is thrown and no page is being rendered.
    Instead, an HTTP error 404 is given. The following stacktrace
    can be found in trace.log:
    
          java.lang.NullPointerException
          at
    com.ibm.wps.resolver.accessors.url.PocUrlOnContext.reset(PocUrlO
    nContext.java:284)
          at
    com.ibm.wps.resolver.accessors.url.PocURLFactoryImpl.newLookupUR
    L(PocURLFactoryImpl.java:472)
          at
    com.ibm.wps.resolver.accessors.url.PocURLFactoryImpl.newLookupUR
    L(PocURLFactoryImpl.java:446)
          at
    com.ibm.wps.resolver.accessors.url.PocURLFactoryImpl.newURL(PocU
    RLFactoryImpl.java:642)
          at
    com.ibm.wps.theme.extensions.BookmarkMetaItem.createAndWriteUrl(
    BookmarkMetaItem.java:279)
          at
    com.ibm.wps.theme.extensions.BookmarkMetaItem.getText(BookmarkMe
    taItem.java:147)
          at
    com.ibm.wps.theme.plugin.tags.ThemeExtensionItemTextTag.getValue
    (ThemeExtensionItemTextTag.java:51)
          at
    com.ibm.wps.theme.plugin.tags.ThemeExtensionItemLocalizedValueTa
    g.doStartTag(ThemeExtensionItemLocalizedValueTag.java:80)
          at
    com.ibm._jsp._Default._jspx_meth_portal$1theme$1ext_themeExtensi
    onItemText_0(_Default.java:6092)
          at com.ibm._jsp._Default._jspService(_Default.java:998)
    

Problem conclusion

  • Tracing of EngineURLOnRequest used instance variables before
    they were initialized. This APAR ensures that those instance
    variables are properly initialized prior to first use.
    
    Failing Module(s):
       Engine: State handling
    
    Affected Users:
       Developers
    
    Version Information:
        Portal Version(s): 6.1.0.3
         Pre-Requisite(s): ---
          Co-Requisite(s): ---
    
    Manuel Steps:
       None
    
    Platform Specific:
       This fix applies to all platforms.
    
    PM07686 is part of Cumulative Fix 02 for Portal 6103.
    
    The Cumulative Fix is available from Fix Central:
    
    http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde
    r?apar=PM07968&productid=WebSphere%20Portal&brandid=5
    
    You may need to type or paste the complete address into your Web
    browser.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM07686

  • Reported component name

    WEBSPHERE PORTA

  • Reported component ID

    5724E7600

  • Reported release

    61C

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-16

  • Closed date

    2010-03-18

  • Last modified date

    2010-04-20

  • 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

    WEBSPHERE PORTA

  • Fixed component ID

    5724E7600

Applicable component levels

  • R61C PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1.0.3","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
21 December 2021