IBM Support

Why did I get "java.lang.NullPointerException" while executing "icosutil ConfigArchive"?

Question & Answer


Question

When I execute "icosutil ConfigArchive", I get the java.lang.NullPointerException:

[icosuser@ncm tmp]$ /opt/IBM/tivoli/netcool/ncm/bin/icosutil ConfigArchive -l -f /opt/IBM/tivoli/netcool/ncm/config/properties/configArchivingUtility.properties
 --------------------------------------------------
           Config Archiving Report
 --------------------------------------------------
 
 Submitted on: Thu Aug 22 12:41:42 GMT+00:00 2018
 Submitted by: USER_123
 Processed on: ncm.ibmtest.com
 
 Realm Criteria:
    Realm:    ITNCM
    Subrealms: true
    Hostname: N/A
    Vendor:   Cisco
    Type:     Switch
    Model:    N/A
    OS:       N/A
 
 Config Archiving Criteria:
    Work Action:    DELETE
    Report Only:    true
    Last N Entries: 15
 
 Configuration Archiving failed, Exception. Details in log file.
 
  **** Configuration Archiving failed ****
 1 [main] ERROR com.intelliden.icos.commandline.housekeeping.ConfigHouseKeeping - Configuration Archiving failed, Exception. Details in log file.
  **** Configuration Archiving failed ****
 java.lang.NullPointerException
        at com.intelliden.icos.commandline.housekeeping.ConfigHouseKeeping.getArchives(ConfigHouseKeeping.java:485)
        at com.intelliden.icos.commandline.housekeeping.ConfigHouseKeeping.execute(ConfigHouseKeeping.java:250)
        at com.intelliden.icos.commandline.housekeeping.ConfigHouseKeeping.main(ConfigHouseKeeping.java:218)?

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS7UH9","label":"Tivoli Netcool Configuration Manager"},"ARM Category":[{"code":"a8m0z0000000C9aAAE","label":"ITNCM-\u003EITNCM-Base-\u003EHousekeeping"}],"ARM Case Number":"TS006138382","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.4.2"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Product Synonym

NCM

Document Information

Modified date:
09 May 2025

UID

ibm16471513