Inform Adapter ODM - "Index and Length Must Refer to a Location within the String" Error

(Doc ID 1646194.1)

Last updated on JULY 24, 2014

Applies to:

Oracle Health Sciences InForm Adapter - Version 1.3.0 to 1.3.4.2 [Release 1.3.0]
Information in this document applies to any platform.

Symptoms

When running ODM export; "Index and length must refer to a location within the string" error occurs.

From the adapter event log:

2) Exception Information *********************************************
Exception Type: System.ArgumentOutOfRangeException Message: Index and length must refer to a location within the string.
Parameter name: length ActualValue: ParamName: length Data: System.Collections.ListDictionaryInternal TargetSite: System.String InternalSubStringWithChecks(Int32, Int32, Boolean)
HelpLink: Source: mscorlib StackTrace Information
*********************************************
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at .InFormAdapter.ODMUtils.Utilities.ReduceItemData(ItemData[] itemDatas)
in D:\InformAdapter\ODM\InFormDownload\UtilitiesODMReduction.cs:line 372
at .InFormAdapter.ODMUtils.Utilities.ReduceItemGroupData(ItemGroupData[] itemGroupDatas)
in D:\InformAdapter\ODM\InFormDownload\UtilitiesODMReduction.cs:line 472
at .InFormAdapter.ODMUtils.Utilities.ReduceFormData(FormData[] formDatas)
in D:\InformAdapter\ODM\InFormDownload\UtilitiesODMReduction.cs:line 581
at .InFormAdapter.ODMUtils.Utilities.ReduceStudyEventData(StudyEventData[] studyEventDatas)
in D:\InformAdapter\ODM\InFormDownload\UtilitiesODMReduction.cs:line 657
at .InFormAdapter.ODMUtils.Utilities.ReduceSubjectData(SubjectData[] subjectDatas)
in D:\InformAdapter\ODM\InFormDownload\UtilitiesODMReduction.cs:line 784
at .InFormAdapter.ODMUtils.Utilities.ReduceClinicalData(ClinicalData[] clinicalDatas)
in D:\InformAdapter\ODM\InFormDownload\UtilitiesODMReduction.cs:line 848
at .InFormAdapter.ODM.ODMEngine.ApplyRedux(InternalRequest r, ODM odm)
in D:\InformAdapter\ODM\ODMEngine.cs:line 128
at .InFormAdapter.ODM.ODMEngine.GetTransactions(DownloadTransactionODM obj)
in D:\InformAdapter\ODM\ODMEngine.cs:line 416
at .InFormAdapter.ODM.RetryingTransactionExecuter.GetTransactions(ODMEngine engine, DownloadTransactionODM request)
in D:\InformAdapter\ODM\RetryingTransactionExecuter.cs:line 52
at .InFormAdapter.ODM.ODMGateway.GetTransactions(XmlElement node)
in D:\InformAdapter\ODM\ODMGateway.cs:line 116
at .Adapter.Framework.Common.WebService.BigBrother.ExecuteWebMethod(WebMethodExecuter method, XmlElement xmlRequest)
in D:\AdapterFramework\Framework\Common\WebServiceUtils.cs:line 57

 


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms