cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Description

If the Inventory Adapter Studio is used to open and save the file inventory import reader file C:\ProgramData\Flexera Software\Compliance\ImportProcedures\Inventory\Reader\ManageSoft\Computer.xml, subsequent executions of the inventory import process may fail at the ProcessCSPMetadataJsonBlob step with the following error:

ProcessCSPMetadataJsonBlob (Execute on FNMP)
Completed with error in 0 seconds.
Released application lock Reader_b64a1b04-703b-4dbe-9e3d-36c5089e4911_Computer_ALL
ERROR: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path2
at System.IO.Path.Combine(String path1, String path2)
at ManageSoft.Compliance.Importer.Procedures.ManageSoft.CloudServiceInstanceData.Process(String fileName, IExecutionContext context)
[...]

Replication Steps

  1. Open the ManageSoft adapter in the Inventory Adapter Studio.
  2. Expand the Computer object and select the step ProcessCSPMetadataJsonBlob.
  3. Click on Save from the tool bar.
  4. Run the import process to read data from a FlexNet Manager Suite inventory database.

Cause

This error occurs because the Inventory Adapter Studio is unable to correctly open and save details contained within the Reader\ManageSoft\Computer.xml reader file.

In particular, the following XML structure in this file is not preserved:

<Reader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xsi:type="ExecuteOnTarget"
    Name="ProcessCSPMetadataJsonBlob"
    Order="980"
    Assembly="ManageSoft.Compliance.Importer.Procedures.ManageSoft"
    Class="ManageSoft.Compliance.Importer.Procedures.ManageSoft.CloudServiceInstanceData"
    Method="Process">
    <Parameter  xmlns:q1="http://www.w3.org/2001/XMLSchema" d1p1:type="q1:string" xmlns:d1p1="http://www.w3.org/2001/XMLSchema-instance">CSPJsonParser.xml</Parameter>
</Reader>

The Inventory Adapter Studio incorrectly saves this structure as:

<Reader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xsi:type="ExecuteOnTarget"
    Name="ProcessCSPMetadataJsonBlob"
    Order="980"
    Assembly="ManageSoft.Compliance.Importer.Procedures.ManageSoft"
    Class="ManageSoft.Compliance.Importer.Procedures.ManageSoft.CloudServiceInstanceData"
    Method="Process"
    DeclareVariables="true"><![CDATA[CSPJsonParser.xml]]></Reader>

Workaround

Avoid using the Inventory Adapter Studio to edit the Reader\ManageSoft\Computer.xml file. Instead, edit the file directly using a text editor.

Alternatively, after saving the file using the Inventory Adapter Studio, edit the file using a text editor and re-instate the original XML structure detailed above.

Fix status

There are no plans to address this issue.

Other information

Affected components: Inventory Adapter Studio

Master issue ID: IOJ-2163899

Also known as: FNMS-69875

Was this article helpful? Yes No
No ratings
Comments
mfranz
By Level 17 Champion
Level 17 Champion

Hi,

Which IAS versions are affected by this problem?

Best regards,

Markward

ChrisG
By Community Manager Community Manager
Community Manager

@mfranz - the problem is known to affect the FlexNet Manager Suite 2019 R1 release. It is likely to affect all other current versions of the Inventory Adapter Studio too, but as far as I know that hasn't been explicitly verified.

anne_watson
By
Level 6

I can verify that it is still an issue in 2020 R2

Version history
Last update:
‎Nov 20, 2023 01:33 PM
Updated by:
Knowledge base article header content