IBM Support

IJ32520: NULL POINTER EXCEPTION IN ASSET METER READING IN CUSTOM SINGLE PAGE APP

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

  • ERROR DESCRIPTION:
    
    Null Pointer exception in Asset Meter Reading in custom Single
    Page app.
    
    PROBLEM:
    
    While creating an asset meter reading through a custom single
    page app, user receives a null pointer exception when save
    button is clicked.
    
    
    PERFORMANCE ISSUE: No.
    
    STEPS TO REPRODUCE:
    
    1- In application designer, create application SDASSETMETER
    
    
    Description- Asset Meter Reading (Cust)
    Main Object- ASSETMETER
    Key Attribute- ASSETNUM
    Module- Asset
    Single Page App
    
    2- Add textbox attribute NEWREADING
    
    3- Grant security to new application (log out and log in)
    4- Navigate to new application
    5- Populate new reading for a continuous meter (ex. Run Hours)
    and hit save
    
    Get error.
    [ERROR] [MAXIMO] [] java.lang.NullPointerException
    java.lang.NullPointerException
    	at psdi.mbo.SqlFormat.setTimestamp(SqlFormat.java:542)
    	at psdi.app.asset.AssetMeter.getHistoricalChildren(AssetMeter.
    java:879)
    	at psdi.app.asset.AssetMeter.processContinuousReadings(AssetMe
    ter.java:561)
    	at psdi.app.meter.DeployedMeter.save(DeployedMeter.java:2780)
    	at psdi.app.asset.AssetMeter.save(AssetMeter.java:1034)
    	at psdi.mbo.MboSet.saveMbos(MboSet.java:7914)
    
    
    CURRENT ERRONEOUS RESULT:
    
    After adding a New Reading, user receives a null pointer
    exception when save button is clicked.
    
    
    EXPECTED RESULT:
    
    After adding a New Reading, user should be able to correctly
    save the record when save button is clicked.
    
    
    ENVIRONMENT (SYSTEM INFO):
    
    Tivoli's process automation engine 7.6.1.2-IFIX20210223-1245
    Build 20200715-0100 DB Build V7612-284 HFDB Build HF7612-17
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Maximo users                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * NULL POINTER EXCEPTION IN ASSET METER READING                *
    ****************************************************************
    While creating an asset meter reading through a custom single
    page app, user receives a null pointer exception when save
    button is clicked.
    CURRENT ERRONEOUS RESULT:
    After adding a New Reading, user receives a null pointer
    exception when save button is clicked.
    EXPECTED RESULT***:
    After adding a New Reading, user should be able to correctly
    save the record when save button is clicked.
    ***While adding meter readings on an ASSETMETER object that is
    not owned by the ASSET or that does not use the METERDATA
    integration object (as is used by theMXMETERDATA Object
    Structure) is not supported, customer had used this custom
    single-page application before upgrading (from 7.6.0.8 to
    7.6.1.2) and did not receive a null pointer exception.
    

Problem conclusion

  • The fix for this APAR is contained in the following maintenance
    package: Release 7.6.1.3 of Base Services
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ32520

  • 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

    2021-05-05

  • Closed date

    2021-07-15

  • Last modified date

    2021-07-15

  • 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 ASST MGM

  • Fixed component ID

    5724R46AM

Applicable component levels

[{"Line of Business":{"code":"LOB59","label":"Sustainability Software"},"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"}]

Document Information

Modified date:
16 July 2021