IBM Support

IV63295: 'CFGHACADAPTER -S' RESULTS IN NULLPOINTEREXCEPTION RC = 9

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Support Engineer:  GBH
    Change Team Eng:  EJ
    
    Environment: TSAAM 4.1 with HACAdapter
    
    Details:
    Trying to silently configure the hacadapter by running the
    "cfghacadapter -s' command results in :
    
    java.lang.NullPointerException
      at
    com.ibm.eez.cfg.ConfigSilent.inputOK(ConfigSilent.java:1342)
      at
    com.ibm.eez.cfg.AdapterConfigSilent.inputOK(AdapterConfigSilent
    . java:274)
      at
    com.ibm.eez.cfg.AdapterHACMPConfigSilent.inputOK(AdapterHACMPCon
    figSilent.java:307)
            at
    com.ibm.eez.cfg.AdapterHACMPConfigSilent.<init>(AdapterHACMPConf
    igSilent.java:147)
            at
    com.ibm.eez.cfg.SAMConfigSilent.main(SAMConfigSilent.java:505)
    
    Configuration failed.
    
    An exception occurred when reading or writing configuration
    data:
    java.lang.NullPointerException
    rc = 9
    DEBUG data was written to file:
    /etc/opt/IBM/tsamp/eez/hac/config.trace
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Tivoli System Automation Application Manager
    * (SA AM) 4.1 users using 'cfghacadapter -s' to configure the
    * HACMP Adapter in silent mode
    ****************************************************************
    * PROBLEM DESCRIPTION:
    * A silent configuration of the hacadapter using the command
    * 'cfghacadapter -s' command results in :
    *   java.lang.NullPointerException
    *   at com.ibm.eez.cfg.ConfigSilent.inputOK
    *     (ConfigSilent.java:1342)
    *   at com.ibm.eez.cfg.AdapterConfigSilent.inputOK
    *     (AdapterConfigSilent.java:274)
    *   at com.ibm.eez.cfg.AdapterHACMPConfigSilent.inputOK
    *     (AdapterHACMPConfigSilent.java:307)
    *   at com.ibm.eez.cfg.AdapterHACMPConfigSilent.
    *     (AdapterHACMPConfigSilent.java:147)
    *   at com.ibm.eez.cfg.SAMConfigSilent.main
    *     (SAMConfigSilent.java:505)
    *   Configuration failed.
    *   An exception occurred when reading or writing configuration
    *   data:
    *     java.lang.NullPointerException
    *     rc = 9
    * This exception is caused by a missing check of a value within
    * the configuration file, which was not assumed to be 'Null'.
    ****************************************************************
    * RECOMMENDATION:
    ****************************************************************
    

Problem conclusion

  • The internal handling of 'cfghacadapter -s' has been modified to
    address the issue. Now there is an additional check for value
    'Null' that prevents the observed NullPointerException.
    .
    The official fix for this problem is included in Tivoli System
    Automation Application Manager 4.1 fix pack 1
    | 4.1.0-TIV-SAAM-FP0001 |
    .
    Additional Search Keywords
    .
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV63295

  • Reported component name

    SYS AUTO APPLI

  • Reported component ID

    5724S9200

  • Reported release

    410

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-08-06

  • Closed date

    2014-10-27

  • Last modified date

    2014-10-27

  • 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

    SYS AUTO APPLI

  • Fixed component ID

    5724S9200

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSRM2X","label":"Tivoli System Automation for Multiplatforms"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"410","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 September 2023