IBM Support

IV07338: NULL POINTER EXCEPTION IF TASK ON TARGET WORK ORDER DOES NOT EXIST IN CU ESTIMATING

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Steps to reproduce the issue in Utilities 7.1.2.0:
    
    Log in to maxdemo instance as Wilson
    Go To Work Orders | Work Order Tracking(T&D)
    Click on the New Work Order button
    In the Description field enter "No Tasks"
    In the Asset field | detail menu | Select Value
    Click on 52300
    On the Plans tab | Labor tab | click on the New Row button
    In the Effort Hours enter 1:00
    Save the record
    
    Go To Work Orders | CU Estimating(T&D)
    Click on the New Estimate Request button
    In the Target Wo field | detail menu | Select Value
    In the Work Order field enter the Work Order number that you
    just
    created and press Enter
    Click on the Work Order
    
    On the Versions tab click on the New Row button
    In the Work Group field | detail menu | Select Value | click on
    NORTH
    In the Storeroom field | Select Value | click on CENTRAL
    Save the record
    
    On the Stations tab | Stations sub-tab | click on the New
    Station button
    In the Station field enter 1
    In the Description field enter "References Task 10"
    In the Task field (under Targeting Filters) enter 10
    On the Compatible Units tab | CU Name field | detail menu |
    Select Value
    Click on a CU which has Labor and/or Material, such as L.INSTPTX
    In the Quantity field enter 1
    In the Sequence field enter 10
    In the Stations for Version 1 section click on the Propagate
    Changes
    button then click OK
    In the Work Sets for Station 1 section click on the Propagate
    Changes
    button then click OK
    
    Select Action | Perform Estimation then click OK
    Select Action | Perform Acceptance
    Error message appears:
    ?BMXAA4214E - An unknown error has occurred.  Please contact
    your system
    administrator for assistance.
    
    The stdOut shows the following:
    
    java.lang.NullPointerException
    
            at
    psdi.plusd.app.plusdcuest.virtual.PlusDEstDetSumMtl.generateWork
    PlanReco
    rd(PlusDEstDetSumMtl.java:37)
    
            at
    psdi.plusd.app.plusdcuest.virtual.PlusDEstDetSumSet.generateWork
    Plan(Plu
    sDEstDetSumSet.java:35)
    
            at
    psdi.plusd.app.plusdcuest.PlusDEstVersion.generateWorkOrderPlan(
    PlusDEst
    Version.java:810)
    
            at
    psdi.plusd.app.plusdcuest.PlusDEstVersion.acceptEstimate(PlusDEs
    tVersion
    .java:780)
    
            at
    psdi.plusd.webclient.beans.plusdcuest.PlusDCUEstimationAppBean.A
    CCEPTCU(
    PlusDCUEstimationAppBean.java:308)
    
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    
            at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.jav
    a:39)
    
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    Accessor
    Impl.java:25)
    
            at java.lang.reflect.Method.invoke(Method.java:592)
    
            at
    psdi.webclient.system.session.WebClientSession.defaultHandler(We
    bClientS
    ession.java:1193)
    
            at
    psdi.webclient.system.session.WebClientSession.handleEvent(WebCl
    ientSess
    ion.java:1087)
    
            at psdi.webclient.controls.Menus.click(Menus.java:1217)
    
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    
            at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.jav
    a:39)
    
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    Accessor
    Impl.java:25)
    
            at java.lang.reflect.Method.invoke(Method.java:592)
    
            at
    psdi.webclient.system.controller.BaseInstance.handleEvent(BaseIn
    stance.j
    ava:376)
    
            at
    psdi.webclient.system.controller.BaseInstance.handleEvent(BaseIn
    stance.j
    ava:364)
    
            at
    psdi.webclient.system.controller.ControlInstance.handleEvent(Con
    trolInst
    ance.java:868)
    
            at
    psdi.webclient.system.session.WebClientSession.handleEvent(WebCl
    ientSess
    ion.java:1066)
    
            at
    psdi.webclient.system.session.WebClientSession.handleRequest(Web
    ClientSe
    ssion.java:700)
    
            at
    psdi.webclient.system.controller.RequestManager.manageRequest(Re
    questMan
    ager.java:101)
    
            at
    psdi.webclient.servlet.WebClientServlet.handleRequest(WebClientS
    ervlet.j
    ava:96)
    
            at
    psdi.webclient.servlet.WebClientServlet.doPost(WebClientServlet.
    java:45)
    
            at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    
            at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    
            at
    weblogic.servlet.internal.StubSecurityHelper$ServletServiceActio
    n.run(St
    ubSecurityHelper.java:226)
    
            at
    weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubS
    ecurityH
    elper.java:124)
    
            at
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImp
    l.java:2
    83)
    
            at
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImp
    l.java:1
    75)
    
            at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocation
    Action.r
    un(WebAppServletContext.java:3401)
    
            at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authent
    icatedSu
    bject.java:321)
    
            at
    weblogic.security.service.SecurityManager.runAs(Unknown
    Source)
    
            at
    weblogic.servlet.internal.WebAppServletContext.securedExecute(We
    bAppServ
    letContext.java:2140)
    
            at
    weblogic.servlet.internal.WebAppServletContext.execute(WebAppSer
    vletCont
    ext.java:2046)
    
            at
    weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestI
    mpl.java
    :1398)
    
            at
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    
            at
    weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All TND 7.1.2 user                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: During the CU Estimate if the user      *
    *                      select a task which is not in WO the    *
    *                      app didn't create it (when              *
    *                      CUECREATETASK is true)                  *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    *                                                              *
    *                                                              *
    *                                                              *
    ****************************************************************
    The application doesn't create the task on Work Order even when
    the global settings CUECREATETASK is true.
    

Problem conclusion

  • I changed the code to perform this requirement and also to
    perform the CU By type + Create Task.
    
    
    
    
    
    The fix for this APAR is contained in the following maintenance
    package:
    
      | release\fix pack | TAVERNIER
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV07338

  • Reported component name

    MAXIMO UTILITIE

  • Reported component ID

    5724R5600

  • Reported release

    712

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-09-06

  • Closed date

    2011-10-13

  • Last modified date

    2011-10-13

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

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

Modules/Macros

  • MAXIMO
    

Fix information

  • Fixed component name

    MAXIMO UTILITIE

  • Fixed component ID

    5724R5600

Applicable component levels

  • R712 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLLAM","label":"Maximo for Utilities"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"712","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
29 September 2021