APM 12.6 ITAM Data Import utility errors after login with dialog message Object reference not set to instance of an object
search cancel

APM 12.6 ITAM Data Import utility errors after login with dialog message Object reference not set to instance of an object

book

Article ID: 49377

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Solution:

Review the ITAMDataImporter<date>.log file

If it contains the following error:

5/4/2012 9:43:14 AM Load Importable Classes:
5/4/2012 9:43:15 AM System.NullReferenceException: Object reference not set to an instance of an object.
at UAPM_Import_Tool.Constants.getLocaleFromRegistry()
at UAPM_Import_Tool.Mapper..ctor(frmMain frm, Settings settings)
at UAPM_Import_Tool.frmMain.frmMain_Load_WithoutInjectedLogging3619502461923(Object sender, EventArgs e)
5/4/2012 9:44:09 AM ITAM Data Importer returns with Error Code: -1

Then this error is related to either a missing or incorrect 'Locale' setting in the registry.

Use regedit to view the values and keys at:

HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\Unicenter Asset Portfolio Management

The Locale string should be set to value = 0 for the English culture.

If the Locale string does not exist in this location, then add it by right mouse clicking -> New -> String value.

Type Locale for the Name, then modify it with a value = 0. The registry entry should appear as: Locale REG_SZ 0

Environment

Release: UAPMAC990JPP-12.6-Asset Portfolio Management-Asset Configuration
Component: