Highlighted

Imports and Recon failed with error : Exception has been thrown by the target of an invocation.

Jump to solution
Hi All, We have FNMS 2019R2 on prem. On this last friday we moved our environment from DR to Production inluding FNMS instance along with all other applications instances. However, right after the migration to Production, while FNMS app is running fine but all imports and reconciliation are failing in FNMS with error : Failed to reconcile licenses with error message Exception has been thrown by the target of an invocation. As per installation guides, we can confirm that the all FNMS servers (app/batch/inv) - "local security policy- security options - network access: do not allow storage of passwords and network credentials for network authentication" is disabled Can some please help urgently. @reconiciliation failed @import failed @FNMS @mfranz
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Community Manager Community Manager
Community Manager

Re: Imports and Recon failed with error : Exception has been thrown by the target of an invocation.

Jump to solution

This logging looks like the failure may be from a problem "IOJ-2079647" addressed in the FlexNet Manager Suite 2019 R2 release. In other instances where this has occurred the problem has been transient (i.e. it disappeared after some time), and I can't find any information about a known workaround. You may need to reach out to Flexera Support for some assistance if the problem persists for you.

(Anything expressed here is my own view and not necessarily that of my employer, Flexera. If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".)

View solution in original post

3 Replies
Highlighted
Flexera
Flexera

Re: Imports and Recon failed with error : Exception has been thrown by the target of an invocation.

Jump to solution

Hi Rajesh,

Hard to make a call based on the provided information, can you please share the import logs that will be helpful OR reach out to Flexera Support.

Thanks,
Aamer

Highlighted

Re: Imports and Recon failed with error : Exception has been thrown by the target of an invocation.

Jump to solution

@AamerSharif 

Thanks for your response. After this first time error, now every day all imports failing with 'time out' error. So need some help to fix the below error, so that it might fix the new 'time out' error. Attached full importer log

 

########

Here is the first importer log description :

2020-08-07 10:32:22,150 [INFO ] ResetLicenseCompliance
2020-08-07 10:33:36,023 [INFO ] Successfully processed in 1 minute, 13 seconds
2020-08-07 10:33:36,023 [INFO ] CreateSAPConsumedTempTable
2020-08-07 10:33:36,070 [INFO ] Calculated license consumption points for SAP licenses
2020-08-07 10:33:36,070 [INFO ] Successfully processed in 0 seconds
2020-08-07 10:33:36,070 [INFO ] DeleteSAPUserPointsConsumed
2020-08-07 10:33:36,070 [INFO ] Removed 0 consumption points records for SAP licenses
2020-08-07 10:33:36,070 [INFO ] Successfully processed in 0 seconds
2020-08-07 10:33:36,070 [INFO ] InsertSAPUserPointsConsumed
2020-08-07 10:33:36,070 [INFO ] Added 0 new calculated consumption points for SAP licenses
2020-08-07 10:33:36,070 [INFO ] Successfully processed in 0 seconds
2020-08-07 10:33:36,070 [INFO ] CreateSAPTempTableIndex
2020-08-07 10:33:36,085 [INFO ] Created relevant indexes to improve performance
2020-08-07 10:33:36,085 [INFO ] Successfully processed in 0 seconds
2020-08-07 10:33:36,085 [INFO ] ReconcileLicenses
2020-08-07 10:33:36,103 [INFO ] Reconciling software licenses.
2020-08-07 10:35:32,921 [ERROR] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at ManageSoft.Compliance.Importer.Procedures.ManageSoft.LicenseReconcile.PopulateExistingComputerLicenseLinks()
at ManageSoft.Compliance.Importer.Procedures.ManageSoft.LicenseReconcile.RunInstallBasedReconcile()
at ManageSoft.Compliance.Importer.Procedures.ManageSoft.LicenseReconcile.PerformLicenseReconcile(Int32 p_LicenseMeasurementID, Boolean p_isPartial)
at ManageSoft.Compliance.Importer.Procedures.ManageSoft.LicenseReconcile.ReconcileLicenses(Nullable`1 p_OverrideLicenseMeasurementID, String PublisherFilter)
at ManageSoft.Compliance.Importer.Procedures.ManageSoft.LicenseReconcile.ReconcileLicenses(String PublisherFilter)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at ManageSoft.Compliance.Importer.Logic.XML.ProcedureItem.ExecuteAssembly(IExecutionContext context)
at ManageSoft.Compliance.Importer.Logic.XML.Writer.Execute(IExecutionContext context)
at ManageSoft.Compliance.Importer.Logic.ComplianceImporter.ExecuteWriters(ComplianceReader p_ComplianceReader, IExecutionContext context, String singleConnectionIdentifier)
2020-08-07 10:35:33,463 [INFO ] Completed with error in 1 minute, 57 seconds
2020-08-07 10:35:34,045 [INFO ] Released application lock Writer_Source_LicenseReconciliation_ALL
2020-08-07 10:35:34,410 [INFO ] Released application lock ManageSoftComplianceImporter_Exclusive
2020-08-07 10:35:34,658 [INFO ] Time: Friday, 07 August 2020 10:35:34 AM
2020-08-07 10:35:34,658 [INFO ] Total import time: 2 hours, 32 minutes, 16 seconds
2020-08-07 10:35:34,658 [INFO ] 8 source data warnings
2020-08-07 10:35:34,658 [INFO ] 1 errors, 0 warnings

@iammanzi 

Highlighted
Community Manager Community Manager
Community Manager

Re: Imports and Recon failed with error : Exception has been thrown by the target of an invocation.

Jump to solution

This logging looks like the failure may be from a problem "IOJ-2079647" addressed in the FlexNet Manager Suite 2019 R2 release. In other instances where this has occurred the problem has been transient (i.e. it disappeared after some time), and I can't find any information about a known workaround. You may need to reach out to Flexera Support for some assistance if the problem persists for you.

(Anything expressed here is my own view and not necessarily that of my employer, Flexera. If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".)

View solution in original post