Skip to main content

After UPD 17-20 applied Custom Menus using Quick Reports giving this error:


Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> 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 Ifs.Application.InfoServicesFramework.InfoServicesService.GetQRParameters(String quickReportId, Dictionary`2& reportParams)
   at Ifs.Application.InfoServicesFramework.InfoServicesService.OpenPublicQuickReport(String quickReportId, Dictionary`2 reportParameters)
   at Ifs.Application.InfoServicesFramework.InfoServicesService.ExecuteAndViewQuickReport(String quickReportId, Dictionary`2 reportParameters)
   at Ifs.Fnd.ApplicationForms.FndContextMenu.ExecuteReport(cMessage customMenuParams, SalNumber menuType, SalWindowHandle ownerWindow)
   at Ifs.Fnd.ApplicationForms.FndContextMenu.AppFormMenuItemCommands_Execute(Object sender, FndCommandExecuteEventArgs e)
   at Ifs.Fnd.Windows.Forms.FndCommand.OnExecute(Component component)
   at Ifs.Fnd.Windows.Forms.FndContextMenuStrip.ExecuteCommand(ToolStripMenuItem menuItem, EventArgs e)
   at Ifs.Fnd.ApplicationForms.FndContextMenuStripInternal.ExecuteCommand(ToolStripMenuItem menuItem, EventArgs e)
   at Ifs.Fnd.Windows.Forms.FndToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   --- End of inner exception stack trace ---

 

Quick Report on it’s own runs, but not with the custom menu:

 

Here is a screen shot of the error message received on Custom Menus using Quick Reports after UPD 17-20 applied:

 


The correction is included in the IFS EE Runtime Framework Binary Patch 10.22.31.0 with UPD 22 Release.
http://lcs.corpnet.ifsworld.com/login/secured/buglnw/BlBug.page?BUG_ID=167377
Apply LCS Bug Id 167538 along with this patch.
http://lcs.corpnet.ifsworld.com/login/secured/buglnw/BlBug.page?BUG_ID=167538


mabalk has replied.Thanks.


You can address the Custom Menus issue by applying Bug ID 168412 as a single patch.


Reply