LoadRunner Error: Data at the root level is invalid

The following error is received when an attempt for a manual correlation of a value is made:

Error: Data at the root level is invalid. Line 1, position 1

The issue is caused by some snapshots containing an invalid XML code. This causes an exception and fails the correlation process.

The issue is fixed in VuGen 12.50. For VuGen 12.02, use the following fix:

  1. Download the attached CorrelationBackEnd.dll
  2. Backup the CorrelationBackEnd.dll in <vugen_installation_folder>\bin directory
  3. Replace with the downloaded one


  1. Hi, I tried the same thing. But I got the below attached error
    at HP.Utt.Common.XmlUtils.GetXDocument(String xmlUrl, DtdProcessing dtdProcessing, Boolean ignoreWhitespace, Boolean ignoreProcessingInstructions) in e:\LT\UTT\win32_release\12.02.1995.0\src\Infra\app\UTTCommon\XmlUtils.cs:line 69
    2017-05-03 15:49:02,685 CORRELATION [Step Matching Scheduler] ERROR – The count of step that needs to be updated is wrong. ToUpdateLocation 0 ToUpdateCount 1, ToAddCount 0, ToRemoveCount 0, UpdateList 0
    2017-05-03 15:54:53,858 UTT [ 1] ERROR – Could not copy file C:\Users\lakss01\Documents\VuGen\Scripts\WebHttpHtml24\WebHttpHtml24.prm because it does not exist
    2017-05-03 16:15:49,796 VUGEN [ 1] ERROR – Failed to run synchronized steps matching.
    System.Threading.SynchronizationLockException: Object synchronization method was called from an unsynchronized block of code.
    at HP.LR.VuGen.BackEnd.StepManager.Step.StepMatchingScheduler.WaitForAllWorkers() in e:\LT\LT-LR\win32_release\12.02.2739.0_clean\app\VuGen\BackEnd\Current\StepManager\Step\StepMatcherScheduler.cs:line 135
    at HP.LR.VuGen.BackEnd.StepManager.Step.StepMatchingScheduler.InvokeMatch(ICompilationUnit compilationUnit) in e:\LT\LT-LR\win32_release\12.02.2739.0_clean\app\VuGen\BackEnd\Current\StepManager\Step\StepMatcherScheduler.cs:line 100
    at HP.LR.VuGen.BackEnd.StepManager.Step.StepService.InternalUpdate(ICompilationUnit cu, Boolean isSynchronized) in e:\LT\LT-LR\win32_release\12.02.2739.0_clean\app\VuGen\BackEnd\Current\StepManager\Step\InternalStepService.cs:line 1182
    2017-05-03 16:19:06,726 UTT [ 1] ERROR – Unhandled WPF exception caught
    System.OutOfMemoryException: Exception of type ‘System.OutOfMemoryException’ was thrown.
    at System.Windows.Threading.Dispatcher.LegacyBeginInvokeImpl(DispatcherPriority priority, Delegate method, Object args, Int32 numArgs)
    at System.Windows.Threading.DispatcherFrame.set_Continue(Boolean value)
    at HP.LR.Vugen.Common.SafeLocker.b__0(Object frame) in e:\LT\LT-LR\win32_release\12.02.2739.0_clean\app\LRStudioAPI\Current\API\Common\SafeLocker.cs:line 35
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

    Can you please help me to resolve the issue


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s