IBM Support

PI60339: NULLPOINTEREXCEPTION THROWN WHEN TIMESHEET JSP HAS LOCKED TIMESHEET OBJECTS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Prepopulate timesheet not working when previous week has a
    locked timesheet.
    
    The prepopulation maintains a map of timesheet locked status
    using plan description as key. Some timesheets do not appear in
    the hashmap, and there is no check for null before proceeding to
    use the hashmap value so a null pointer exception occurs.
    
    Error Message:
    java.lang.NullPointerException at
    com.ibm._jsp._OPS_5F_TimesheetEntry$PrintUtil.printTimesheetRow(
    _OPS_5F_TimesheetEntry.java:2051) at
    com.ibm._jsp._OPS_5F_TimesheetEntry._jspService(_OPS_5F_Timeshee
    tEntry.java:3992) at
    com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr
    apper.java:1230) at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:779) at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:478) at
    com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest
    (ServletWrapperImpl.java:178) at
    com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleR
    equest(GenericServletWrapper.java:122) at
    com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrappe
    r.handleRequest(AbstractJSPExtensionServletWrapper.java:220) at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(We
    bAppFilterChain.java:136) at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp
    FilterChain.java:97) at
    com.openpages.apps.common.util.OpenPagesCompressionFilter.doFilt
    er(OpenPagesCompressionFilter.java:67) at
    com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(Fi
    lterInstanceWrapper.java:195) at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp
    FilterChain.java:91) at
    com.openpages.apps.common.tools.xss.BaseXSSFilter.doFilter(BaseX
    SSFilter.java:180) at
    com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(Fi
    lterInstanceWrapper.java:195) at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp
    FilterChain.java:91) at
    com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebA
    ppFilterManager.java:967) at
    com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters
    (WebAppFilterManager.java:1107) at
    com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleReques
    t(CacheServletWrapper.java:87) at
    com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.
    java:919) at
    com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContai
    ner.java:1662) at
    com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLin
    k.java:200) at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscr
    imination(HttpInboundLink.java:463) at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRe
    quest(HttpInboundLink.java:530) at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequ
    est(HttpInboundLink.java:316) at
    com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complet
    e(HttpICLReadCallback.java:88) at
    com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadComplet
    edCallback.complete(SSLReadServiceContext.java:1818) at
    com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureComp
    leted(AioReadCompletionListener.java:175) at
    com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyn
    cFuture.java:217) at
    com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncC
    hannelFuture.java:161) at
    com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at
    com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
    at
    com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHand
    ler.java:775) at
    com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) at
    com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * OpenPages Users                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Prepopulate timesheet throwing null pointer exception when   *
    * going to next week when current week has a locked timesheet  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Customers should download OpenPages 7.1 Fix Pack 3 (7.1.0.3) *
    * from Fix Central. See the the following document for details *
    * on obtaining OpenPages 7.1 FP3:                              *
    * http://www.ibm.com/support/docview.wss?uid=swg24042085       *
    ****************************************************************
    

Problem conclusion

  • Code change.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI60339

  • Reported component name

    OPENPAGES WEBLO

  • Reported component ID

    5725D52WL

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-04-06

  • Closed date

    2016-05-20

  • Last modified date

    2016-05-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • 999
    

Fix information

  • Fixed component name

    OPENPAGES WEBLO

  • Fixed component ID

    5725D52WL

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"700","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
28 March 2022