IBM Support

IJ39856: ERROR IN SYSTEMOUT.LOG WHEN CANCELING CHANGE ITEM NUMBER ACTION

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

  • DESCRIPTION:
    This issue may affect customers who use log analyzers, or in
    this case, customers who use log output to trigger actions via
    Escalation, Automation Scripts, or other such operations.
    
    When the User cancels, or clears a value from the Change Item
    Number dialog, the ClassStructureID does not get cleared as it
    should, and this causes an exception in the Systemout.log file.
    
    In this scenario, the User cleared the Item Number from the
    Change Item Number dialog, but the Classification / Description
    were still present on the Specifications tab. This is likely
    because the error at line 209 of the action() method in the
    FldAssetItemnum field class is occurring before the line where
    the ClassStructureID is set to NULL.
    
    It is observed that there is no error in the UI when the ItemNum
    is being cleared, the exception in the log is causing the
    action() method in the FldAssetItemNum.class to stop processing
    and certain updates that should occur do not. For example, when
    the ItemNum is cleared, the ClassStructureID and ConditionCode
    should be cleared but that isn't happening when the error
    occurs.
    
    This error was discovered by a User who had implemented a
    peripheral action that was expected to execute after the
    action() method in the FldAssetItemNum.class.  It did not
    execute because of the exceptions that were appearing in the
    log.  This subsequently prevented the action() method from
    completing.
    
    
    STEPS TO REPRODUCE:
    1. Log in to maxdemo instance
    2. Go To Assets | Assets
    3. In the Asset field enter 7125 and press Enter
    4. Click 7125 to open the record
    5. Verify the Rotating Item field value is D600
    6. More Actions | Change Item Number
    7. Do not enter a value and click OK
    8. View the Systemout.log file similar to (2 excerpts shown):
    
    [5/3/22 9:43:27:701 EDT] 00000bff SystemOut O 03 May 2022
    09:43:27:701 [INFO ] [ASSETSPEC] BMXAA6719I - USER = (MAXADMIN)
    SPID = (498) app (null) object (ASSETSPEC) : select * from
    assetspec where assetnum= '7125' and classstructureid = '1221'
    and siteid= 'BEDFORD' and ((startmeasure >= 0.0 and startmeasure
    <= 0.0 ) or (endmeasure >= 0.0 and endmeasure <= 0.0 ) or
    (startmeasure <= 0.0 and endmeasure >= 0.0 ) or (startmeasure >=
    0.0 and endmeasure <= 0.0 ) or (startmeasure is null or
    endmeasure is null))
    [5/3/22 9:43:27:781 EDT] 00000bff SystemErr R Logged an
    exception at: psdi.webclient.system.beans.DataBean.callBeanMeth
    od(DataBean.java:6948)
    [5/3/22 9:43:27:781 EDT] 00000bff SystemErr R
    java.lang.reflect.InvocationTargetException: null
    [5/3/22 9:43:27:782 EDT] 00000bff SystemErr R
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
    ssorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
    thodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)...
    
    ...Caused by: java.lang.NullPointerException
    at
    psdi.app.asset.FldAssetItemnum.action(FldAssetItemnum.java:209)
    at psdi.mbo.MboValue.validate(MboValue.java:1768)
    at psdi.mbo.MboValue.setValue(MboValue.java:924)
    at psdi.mbo.MboValue._setValueNull(MboValue.java:522)
    at psdi.mbo.MboValue.setValueNull(MboValue.java:506)
    at psdi.mbo.Mbo.setValueNull(Mbo.java:3212)
    at psdi.app.asset.Asset.setItemNum(Asset.java:4941)
    at psdi.app.asset.virtual.ChangeItemnumSet.execute(ChangeItemnu
    mSet.java:76)
    at
    psdi.webclient.system.beans.DataBean.execute(DataBean.java:6662)
    
    ... 69 more
    
    9. More Actions | Change Item Number
    10. In the New Item field enter "D600", then click OK.
    11. View the Systemout.log file
    
    RESULT:
    Similar output in the log
    
    EXPECTED RESULT:
    No errors in the log, or the method which clears the
    Classification completes without error
    
    REPORTED IN VERSION:
    Tivoli's process automation engine 7.6.1.2-IFIX20220330-1115
    Build 20200715-0100 DB Build V7612-284 HFDB Build HF7612-80
    

Local fix

Problem summary

  • ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When the User cancels, or clears a value from the Change     *
    * Item Number dialog, the ClassStructureID does not get        *
    * cleared as it                                                *
    * should, and this causes an exception in the Systemout.log    *
    * file.                                                        *
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR will be contained in a future release.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ39856

  • Reported component name

    MAXIMO ASST MGM

  • Reported component ID

    5724R46AM

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-05-06

  • Closed date

    2022-09-20

  • Last modified date

    2022-09-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

    MAXIMO ASST MGM

  • Fixed component ID

    5724R46AM

Applicable component levels

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

Document Information

Modified date:
20 September 2022