IBM Support

IV12314: UNABLE TO EXPORT METER READING DUE TO NULLPOINTEREXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Problem:   error when Exporting meter reading - Logs (TR)
    
    Version of Maximo:   Tr 7.5
    Description:
    replicated in maxdemo
    IBM Maximo for Service Provider 7.5.0.0 Build BUILD DB Build
    V7500-16
    HFDB Build HF7500-01
    IBM Maximo for Transportation 7.5.0.0-20111130-1026 Build
    20110415-1936
    DB Build V7500-06 HFDB Build HF7500-01
    IBM Maximo Linear Management 7.5.0.0 Build BUILD DB Build
    V7500-01
    Tivoli's process automation engine 7.5.0.0 Build 20110413-2230
    DB Build
    V7500-721
    Mobile 7.5.0.0 Build 20110421-1725 DB Build V7500-07
    IBM Maximo for E-mail 7.1.0.0 Build 20110329-2130 DB Build
    V7100-25
    Maximo Unit Test Tool 7.5.0.0 Build 20110413-2230 DB Build
    V7500-01
    IBM Maximo Asset Management Scheduler 7.5.0.0 Build
    20110413-2230 DB
    Build V7500-19
    
    Create new Asset and Enter details
    Save details and Change status to Operating
    Go to Meters Application and create a new Meter. Enter details
    for
    continuous meter, reading type: delta and click save
    Associate this meter to the asset. Give average calculation
    method: All
    and save the record
    Go to Logs TR application and create a new Log. Give asset
    details, Trip
    details and enter meter readings and Save the record.
    Save the record, Click on select action and select export meter
    reading
    Click on Export
    Record has been exported. Go to Assets application. Select the
    asset. In
    the Meter Tab view the details exported.
    Create new Asset and Enter details
    Save details and Change status to Operating
    Go to Meters Application and create a new Meter. Enter details
    for
    continuous meter, reading type: Actual and click save
    Associate this meter to the asset.
    Give average calculation method: All, Rollover: 99999999 and
    save the
    record
    Go to Logs TR application and create a new Log. Give asset
    details, Trip
    details and enter meter readings and Save the record.
    Save the record, Click on select action and select export meter
    reading
    get the following error
    BMXAA4214E - An unknown error has occurred.
    Please contact your system administrator for assistance. Gather
    the logs
    from the <HOME> directory and determine where and why the error
    is
    thrown.
    null
    
    
    NOTE: This is a core issue.  The code should be checking for
    Null.  Tr developer wrote:
    It seems they set a value to getOwner() in
    FldDeployedMeterLastReading.initValue without verifying if
    getOwner() is null or not.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: ALL                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: Problem:   error when Exporting meter   *
    *                      reading - Logs (TR)                     *
    *                                                              *
    *                      Version of Maximo:   Tr 7.5             *
    *                                                              *
    *                      Description:                            *
    *                                                              *
    *                      replicated in maxdemo                   *
    *                                                              *
    *                      IBM Maximo for Service Provider 7.5.0.0 *
    *                      Build BUILD DB Build                    *
    *                                                              *
    *                      V7500-16                                *
    *                                                              *
    *                      HFDB Build HF7500-01                    *
    *                                                              *
    *                      IBM Maximo for Transportation           *
    *                      7.5.0.0-20111130-1026 Build             *
    *                                                              *
    *                      20110415-1936                           *
    *                                                              *
    *                      DB Build V7500-06 HFDB Build HF7500-01  *
    *                                                              *
    *                      IBM Maximo Linear Management 7.5.0.0    *
    *                      Build BUILD DB Build                    *
    *                                                              *
    *                      V7500-01                                *
    *                                                              *
    *                      Tivoli's process automation engine      *
    *                      7.5.0.0 Build 20110413-2230             *
    *                                                              *
    *                      DB Build                                *
    *                                                              *
    *                      V7500-721                               *
    *                                                              *
    *                      Mobile 7.5.0.0 Build 20110421-1725 DB   *
    *                      Build V7500-07                          *
    *                                                              *
    *                      IBM Maximo for E-mail 7.1.0.0 Build     *
    *                      20110329-2130 DB Build                  *
    *                                                              *
    *                      V7100-25                                *
    *                                                              *
    *                      Maximo Unit Test Tool 7.5.0.0 Build     *
    *                      20110413-2230 DB Build                  *
    *                                                              *
    *                      V7500-01                                *
    *                                                              *
    *                      IBM Maximo Asset Management Scheduler   *
    *                      7.5.0.0 Build                           *
    *                                                              *
    *                      20110413-2230 DB                        *
    *                                                              *
    *                      Build V7500-19                          *
    *                                                              *
    *                      Create new Asset and Enter details      *
    *                                                              *
    *                      Save details and Change status to       *
    *                      Operating                               *
    *                                                              *
    *                      Go to Meters Application and create a   *
    *                      new Meter. Enter details                *
    *                                                              *
    *                      for                                     *
    *                                                              *
    *                      continuous meter, reading type: delta   *
    *                      and click save                          *
    *                                                              *
    *                      Associate this meter to the asset. Give *
    *                      average calculation                     *
    *                                                              *
    *                      method: All                             *
    *                                                              *
    *                      and save the record                     *
    *                                                              *
    *                      Go to Logs TR application and create a  *
    *                      new Log. Give asset                     *
    *                                                              *
    *                      details, Trip                           *
    *                                                              *
    *                      details and enter meter readings and    *
    *                      Save the record.                        *
    *                                                              *
    *                      Save the record, Click on select action *
    *                      and select export meter                 *
    *                                                              *
    *                      reading                                 *
    *                                                              *
    *                      Click on Export                         *
    *                                                              *
    *                      Record has been exported. Go to Assets  *
    *                      application. Select the                 *
    *                                                              *
    *                      asset. In                               *
    *                                                              *
    *                      the Meter Tab view the details          *
    *                      exported.                               *
    *                                                              *
    *                      Create new Asset and Enter details      *
    *                                                              *
    *                      Save details and Change status to       *
    *                      Operating                               *
    *                                                              *
    *                      Go to Meters Application and create a   *
    *                      new Meter. Enter details                *
    *                                                              *
    *                      for                                     *
    *                                                              *
    *                      continuous meter, reading type: Actual  *
    *                      and click save                          *
    *                                                              *
    *                      Associate this meter to the asset.      *
    *                                                              *
    *                      Give average calculation method: All,   *
    *                      Rollover: 99999999 and                  *
    *                                                              *
    *                      save the                                *
    *                                                              *
    *                      record                                  *
    *                                                              *
    *                      Go to Logs TR application and create a  *
    *                      new Log. Give asset                     *
    *                                                              *
    *                      details, Trip                           *
    *                                                              *
    *                      details and enter meter readings and    *
    *                      Save the record.                        *
    *                                                              *
    *                      Save the record, Click on select action *
    *                      and select export meter                 *
    *                                                              *
    *                      reading                                 *
    *                                                              *
    *                      get the following error                 *
    *                                                              *
    *                      BMXAA4214E - An unknown error has       *
    *                      occurred.                               *
    *                                                              *
    *                      Please contact your system              *
    *                      administrator for assistance. Gather    *
    *                                                              *
    *                      the logs                                *
    *                                                              *
    *                      from the <HOME> directory and determine *
    *                      where and why the error                 *
    *                                                              *
    *                      is                                      *
    *                                                              *
    *                      thrown.                                 *
    *                                                              *
    *                      null                                    *
    *                                                              *
    *                      NOTE: This is a core issue.  The code   *
    *                      should be checking for                  *
    *                                                              *
    *                      Null.  Tr developer wrote:              *
    *                                                              *
    *                      It seems they set a value to getOwner() *
    *                      in                                      *
    *                                                              *
    *                      FldDeployedMeterLastReading.initValue   *
    *                      without verifying if                    *
    *                                                              *
    *                      getOwner() is null or not.              *
    *                                                              *
    *                      LOCAL FIX:                              *
    *                                                              *
    *                      n/a                                     *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    *                                                              *
    *                                                              *
    *                                                              *
    ****************************************************************
    UNABLE TO EXPORT METER READING DUE TO NULLPOINTEREXCEPTION
    

Problem conclusion

  • Fixed in code.
    
    
    
    
    
    The fix for this APAR is contained in the following maintenance
    package:
    
      | release\fix pack | REL 7.5.0.2 - BS
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV12314

  • Reported component name

    ASSETS

  • Reported component ID

    5724R46AS

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2011-12-15

  • Closed date

    2011-12-19

  • Last modified date

    2011-12-19

  • 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

    ASSETS

  • Fixed component ID

    5724R46AS

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:
09 April 2023