IBM Support

IV39499: NULL POINTER EXCEPTION OCCURS WHEN USING CROSSOVER DOMAIN ON WORKORDER.PARENT THAT INCLUDES ASSETNUM OR LOCATION INFORMATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • This problem was introduced by the fix to APAR IV25353.
    
    When a crossover domain containing ASSETNUM and LOCATION is
    added to WORKORDER.PARENT and the user goes to the Plans tab and
    clicks on New Row to add a child work order the following error
    occurs:
    
    Caused by: java.lang.NullPointerException
     at
    psdi.app.workorder.FldWOAssetnum.determineGLAccountAction(FldWOA
    ssetnum.java:976)
     at
    psdi.app.workorder.FldWOAssetnum.validate(FldWOAssetnum.java:218
    )
     at psdi.mbo.MboValue.validate(MboValue.java:1698)
     at psdi.mbo.MboValue.setValue(MboValue.java:890)
     at psdi.mbo.MboValue._setValue(MboValue.java:1245)
     at psdi.mbo.MboValue.setValue(MboValue.java:1141)
     at psdi.mbo.Mbo.setValue(Mbo.java:2175)
     at psdi.mbo.CrossOverDomain.action(CrossOverDomain.java:272)
     at psdi.mbo.MboValue.validate(MboValue.java:1724)
     at psdi.mbo.MboValue.setValue(MboValue.java:890)
     at psdi.mbo.MboValue._setValue(MboValue.java:1245)
     at psdi.mbo.MboValue.setValue(MboValue.java:1141)
     at psdi.mbo.Mbo.setValue(Mbo.java:2175)
     at psdi.app.workorder.WO.add(WO.java:1467)
     at psdi.mbo.MboSet.addAtIndex(MboSet.java:4387)
     at psdi.app.workorder.WOSet.addAtIndex(WOSet.java:513)
     at psdi.mbo.FauxMboSet.addForFauxSet(FauxMboSet.java:564)
     at
    psdi.app.workorder.virtual.ShowChildrenSet.addAtIndex(ShowChildr
    enSet.java:309)
     at psdi.mbo.FauxMboSet.addAtEnd(FauxMboSet.java:490)
     at
    psdi.app.workorder.virtual.ShowChildrenSet.addAtEnd(ShowChildren
    Set.java:243)
     at
    psdi.webclient.beans.workorder.SelectWORecordsBean.insertAtEnd(S
    electWORecordsBean.java:212)
     at
    psdi.webclient.beans.workorder.SelectWORecordsBean.addrow(Select
    WORecordsBean.java:130)
     at psdi.webclient.controls.Table.addrow(Table.java:1291)
    
    The new row is not added and it appears to the user that nothing
    has happened.  This is a problem in 7.1.1.11, 7.1.1.12, 7.5.0.4
    and Unicorn/7.5.1.0.
    
    The steps to reproduce the problem are:
    
    1. In Domains application, create a new crossover domain.
    Specify WORKORDER as the object and set the Validation Where
    Clause to: wonum = :parent and siteid = :siteid
    The new crossover domain should contain the following
    attributes: ASSETNUM,LOCATION,GLACCOUNT,DESCRIPTION,COMMODITY
    and COMMODITYGROUP
    
    2. Go to Database Configuration and bring up the WORKORDER
    object. On the attributes tab, set the domainid to the domain
    that you just created on the PARENT attribute.
    3. Run Database Configuration.
    4. Go to Work Order Tracking and create a new work order.
    Provide an asset, description, GL Account, Commodity (Service)
    and Commodity Group (Service Group).
    5. Go to the Plans tab, and click on 'New Row' in the Children
    of Work Order #### table window.
    
    It is at this point (on the New Row click) that the error
    occurs. As a result, a new row is not created and the error is
    visible on the console and/or in the SystemOut.log.
    

Local fix

  • No workaround.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Maximo users                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Null pointer exception in Work Order Tracking Plans tab.     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply latest fix pack.                                       *
    ****************************************************************
    When a crossover domain containing ASSETNUM and LOCATION is
    added to WORKORDER.PARENT and the user goes to the Plans tab and
    clicks on New Row to add a child work order the following error
    occurs:
    
    Caused by: java.lang.NullPointerException
     at
    psdi.app.workorder.FldWOAssetnum.determineGLAccountAction(FldWOA
    ssetnum.java:976)
     at
    psdi.app.workorder.FldWOAssetnum.validate(FldWOAssetnum.java:218
    )
     at psdi.mbo.MboValue.validate(MboValue.java:1698)
     at psdi.mbo.MboValue.setValue(MboValue.java:890)
     at psdi.mbo.MboValue._setValue(MboValue.java:1245)
     at psdi.mbo.MboValue.setValue(MboValue.java:1141)
     at psdi.mbo.Mbo.setValue(Mbo.java:2175)
     at psdi.mbo.CrossOverDomain.action(CrossOverDomain.java:272)
     at psdi.mbo.MboValue.validate(MboValue.java:1724)
     at psdi.mbo.MboValue.setValue(MboValue.java:890)
     at psdi.mbo.MboValue._setValue(MboValue.java:1245)
     at psdi.mbo.MboValue.setValue(MboValue.java:1141)
     at psdi.mbo.Mbo.setValue(Mbo.java:2175)
     at psdi.app.workorder.WO.add(WO.java:1467)
     at psdi.mbo.MboSet.addAtIndex(MboSet.java:4387)
     at psdi.app.workorder.WOSet.addAtIndex(WOSet.java:513)
     at psdi.mbo.FauxMboSet.addForFauxSet(FauxMboSet.java:564)
     at
    psdi.app.workorder.virtual.ShowChildrenSet.addAtIndex(ShowChildr
    enSet.java:309)
     at psdi.mbo.FauxMboSet.addAtEnd(FauxMboSet.java:490)
     at
    psdi.app.workorder.virtual.ShowChildrenSet.addAtEnd(ShowChildren
    Set.java:243)
     at
    psdi.webclient.beans.workorder.SelectWORecordsBean.insertAtEnd(S
    electWORecordsBean.java:212)
     at
    psdi.webclient.beans.workorder.SelectWORecordsBean.addrow(Select
    WORecordsBean.java:130)
     at psdi.webclient.controls.Table.addrow(Table.java:1291)
    

Problem conclusion

  • Null pointer no longer occurs - proper check takes place.
    
    The fix for this APAR is contained in the following maintenance
    package:
    	 | release\fix pack | Interim Fix for Release 7.5.0.5 - BS
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV39499

  • Reported component name

    ADMIN & SECURIT

  • Reported component ID

    TIVOADMIN

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-04-10

  • Closed date

    2013-04-23

  • Last modified date

    2013-04-23

  • 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

    ADMIN & SECURIT

  • Fixed component ID

    TIVOADMIN

Applicable component levels

  • R750 PSY

       UP

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

Document Information

Modified date:
23 April 2013