IBM Support

PM30490: THEMES WITH 'WPS' AS PREFIX OF THE CONTEXT ROOT THROW NULLPOINTEREXCEPTION'S AT APPLICATION START

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Themes with 'wps' as the prefix of the theme WAR's context root
    (i.e. wpsMyTheme) throw NullPointerException at application
    start.
    
    SRVE0068E: Uncaught exception thrown in one of the service
    methods of the servlet: /themes/html/wps_webMain/Default.jsp.
    Exception thrown : java.lang.NullPointerException
     at com.ibm._jsp._Default._jspService(_Default.java:1168)
     at
    com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr
    apper.java:1146)
     at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:592)
     at
    com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(S
    ervletWrapper.java:525)
     at
    com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleR
    equest(GenericServletWrapper.java:122)
     at
    com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrappe
    r.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
     at
    com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.han
    dleRequest(AbstractJSPExtensionProcessor.java:288)
     at
    com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(W
    ebAppRequestDispatcher.java:639)
    ...
    

Local fix

  • Local workaround is to change the line inside head_setup.jspf
    from:
    
    if (configURL.startsWith(contextPath)) {
    
    into
    
    if (configURL.startsWith(contextPath + "/")) {
    
    This should ensure that we are looking at the /wps/... path of
    Portal and not a custom WAR file that only starts with /wps...
    

Problem summary

  • THEMES WITH 'WPS' AS PREFIX OF THE CONTEXT ROOT THROW
    NULLPOINTEREXCEPTION'S AT APPLICATION START
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM30490

  • Reported component name

    WEBSPHERE PORTA

  • Reported component ID

    5724E7600

  • Reported release

    615

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-01-13

  • Closed date

    2011-02-22

  • Last modified date

    2011-02-22

  • 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

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1.5","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
22 February 2011