When Attempting to Up Issue Or Copy a Formulation Specification Receive Unhandled Exception Error: "An item with the same key has already been added." (Doc ID 1674030.1)

Last updated on OCTOBER 26, 2015

Applies to:

Oracle Agile Product Lifecycle Management for Process - Version 6.1.1.3 and later
Information in this document applies to any platform.

Symptoms

When attempting to up-issue (make a new copy of the specification), receive error:

STACK TRACE

ErrorType: First| ErrorCount: 0| App: GSM| Exception: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: An item with the same key has already been added.  
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)  
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)  
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) 
at Xeno.Prodika.GSMLib.DomainObjects.Specification.BusinessObjects.Components.Formulation.FormulationSpecificationLifecycleParticipant.AfterCopy(ISpecCloneType cloneType, IXDataObject original)  
at Xeno.Prodika.GSMLib.Utils.SpecCloneHelper.Clone(ISpecCloneType cloneType, SpecCloneContext oldSpecCloneContext, Boolean supportEventLogging)  
at Xeno.Prodika.Services.Specification.SpecificationService.Clone(ISpecCloneType cloneType)  
at Xeno.Prodika.Services.Specification.SpecificationService.CreateCopyFrom()  
at prodika.XManagedSpecBaseForm.OnCopy()  
at prodika.ctlActionMenu.OnCopy()  
at prodika.ctlActionMenu.ExcuteByEventName(String eventName)  
at prodika.ctlActionMenu.hdnCommand_Click(Object sender, EventArgs e)  
at System.Web.UI.HtmlControls.HtmlInputHidden.OnServerChange(EventArgs e)  
at System.Web.UI.Page.RaiseChangedEvents()  
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  
--- End of inner exception stack trace ---  
at System.Web.UI.Page.HandleError(Exception e)  
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  
at System.Web.UI.Page.ProcessRequest()  
at System.Web.UI.Page.ProcessRequest(HttpContext context)  
at ASP.baseforms_frmformulation_aspx.ProcessRequest(HttpContext context)  
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 

 

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