Summary
Oracle Enterprise Manager (OEM) Adapter fails with the error message "Object reference not set to an instance of an objectSymptoms
When using the OEM adapter to generate the Oracle Inventory tnsNames.ora file that can be imported into FNMS this will fail with the following error, even though all of the steps in the install guide for the adapter have been completed and all of the pre-requisites have been installed.
Error:
?ERROR OEMAdapter.Library.Logger - Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at OEMAdapter.Library.ConfigurationReader.GetDBConnectionString()
at OEMAdapter.Library.TNSFileGenerator.GetData()
at OEMAdapter.Library.TNSFileGenerator.GenerateFile()
at OEMAdapter.Program.Main(String[] args)?
Cause
The error is caused by an additional tag that was added to the connection string, the following connection string is listed in the adapter documentation as of Nov 14 which contains the tags that cause the issue:
"connectionStrings>
<clear></clear>
<add name="OEMConn" connectionString="Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<Host Name>)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=OEMREP)));User Id=<UserName>;Password=<Password>"></add>
</connectionStrings>"
The incorrect tags listed are:
"<clear></clear> "
Resolution
To resolve the issue the additional tags can be removed, the connection string should be as follows:
"connectionStrings>
<add name="OEMConn" connectionString="Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<Host Name>)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=OEMREP)));User Id=<UserName>;Password=<Password>"></add>
</connectionStrings>"
The following issue has been logged to have the documentation for the adapter updated, FNMS-20754.
Additional Information
For additional information on using the OEM Adapter please refer to the Install Guide that is downloaded with the Adapter.
Related Articles
"Object reference not set to an instance of an object." when importing Application object using business adapter 19Number of Views Citrix XenApp agent may fail with error when delivery group has no users: "Object reference not set to an instance of an o… 6Number of Views Error: Object reference not set to an instance of an object. When importing data from a Beacon. 19Number of Views "Object reference not set to an instance of an object" When Attempting to Access the App Portal Site 16Number of Views Known Issue: Citrix XenApp agent may fail with error when delivery group has no users: "Object reference not set to an ins… 5Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago