Some users may experience issues accessing the case portal. For more information, please click here.

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

Known Issue: Import process fails at ProcessCSPMetadataJsonBlob step after editing Reader\ManageSoft\Computer.xml with the Inventory Adapter Studio (IOJ-2163899)

Known Issue: Import process fails at ProcessCSPMetadataJsonBlob step after editing Reader\ManageSoft\Computer.xml with the Inventory Adapter Studio (IOJ-2163899)

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

This issue is still open but not currently scheduled to be addressed.

Other information

Affected components: Inventory Adapter Studio

Master issue ID: IOJ-2163899

Also known as: FNMS-69875

Labels (1)
Was this article helpful? Yes No

Tip: If you have been impacted by this issue, please click the KUDOS button above. This helps to track the relative significance and importance of issues. Clicking on an option against "Was this article helpful?" also helps assess and improve the usefulness of content.

No ratings
Comments

Hi,

Which IAS versions are affected by this problem?

Best regards,

Markward

@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.

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

Version history
Last update:
‎Jun 12, 2022 03:54 AM
Updated by: