Problem in the editor when opening a document for Review or Open for Sign-off when there is a plugin that is using the dockable part of the API

When there is a plugin installed using the dockable part there is a sequence that is giving the error “Key already exists Parmater name Key”. The error message is below. When we are in debug mode we can see that this message is appearing before entering the function of the plugin.

The sequence to reproduce the bug when there is a plugin using the dockable part of the api

- Is to have 1 project open (project A)
- Enter into file view of project A
- Open a new project (project B)
- remove project A from the list
- Enter in file view mode of project B
- Review file of project B

Is it possible to correct or find a bypass to this bug?

The error:

<SDLErrorDetails time="3/2/2016 1:26:47 PM">
  <ErrorMessage>Key already exists
Parameter name: Key</ErrorMessage>
  <Exception>
    <Type>System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <ParamName>Key</ParamName>
    <HelpLink />
    <Source>Infragistics4.Shared.v14.2</Source>
    <HResult>-2147024809</HResult>
    <StackTrace><![CDATA[   at Infragistics.Shared.KeyedSubObjectsCollectionBase.ValidateKeyDoesNotExist(String key, IKeyedSubObject ignoreObject)
   at Infragistics.Shared.KeyedSubObjectsCollectionBase.ValidateKey(String key, IKeyedSubObject ignoreObject)
   at Infragistics.Shared.KeyedSubObjectsCollectionBase.InternalInsert(Int32 index, IKeyedSubObject value)
   at Infragistics.Win.UltraWinDock.DockablePanesCollection.InternalInsertPane(DockablePaneBase pane, Int32 index)
   at Infragistics.Win.UltraWinDock.DockablePanesCollection.Insert(DockablePaneBase pane, Int32 index)
   at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPartPane(IViewPartReference viewPartReference, DockingViewPartLayoutInfo layoutInfo)
   at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.ReloadViewParts()
   at Sdl.Desktop.Platform.AbstractViewWithParts.ResumeControlUpdates()
   at Sdl.Desktop.Platform.AbstractDockingView.UpdateActiveConfiguration(IDockingViewConfigurationReference configuration, Boolean manageState)
   at Sdl.TranslationStudio.Editor.EditorService.set_ActiveDocument(IDocument value)
   at Sdl.TranslationStudio.Editor.EditorView.OnActiveViewPartChanged(IViewPartReference viewPartReference)
   at Sdl.Desktop.Platform.AbstractViewWithParts.Control_ActiveViewPartChanged(IViewWithParts view, IViewPartReference viewPartReference)
   at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.OnActiveViewPartChanged(IViewPartReference viewPartReference)
   at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.InternalActivateViewPart(IViewPartReference viewPartToActivate)
   at Sdl.Desktop.Platform.WinForms.DockingViewContentControl._tabControl_SelectedTabChanged(Object sender, SelectedTabChangedEventArgs e)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.OnSelectedTabChanged(SelectedTabChangedEventArgs e)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.RaiseEvent(UltraTabControlEventId id, EventArgs e)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.OnManagerSelectedTabItemChanged(Object sender, SelectedTabItemChangedEventArgs e)
   at Infragistics.Win.UltraWinTabs.TabManager.set_SelectedTabItem(ITabItem value)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.SetSelectedTab(UltraTab tab)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.set_SelectedTab(UltraTab value)
   at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPartTab(IViewPartReference viewPartReference, DockingViewPartLayoutInfo layoutInfo)
   at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPart(IViewPartReference viewPartReference)
   at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.NotifyViewPartAdded(IViewPartReference viewPartReference)
   at Sdl.Desktop.Platform.AbstractViewWithParts.AddViewPart(IViewPartReference viewPartReference)
   at Sdl.Desktop.Platform.AbstractDockingView.AddViewPart(IViewPartReference viewPartReference)
   at Sdl.TranslationStudio.Editor.EditorView.AddDocumentViewPart(IViewPartReference documentViewPartReference)
   at Sdl.TranslationStudio.Editor.Shared.InternalEditorContext.AddDocumentViewPart(IDocumentViewPart documentViewPart)
   at Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.AfterLoad(IJob job)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>12.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>12.0.4961.2</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 7 Enterprise </OperatingSystem>
    <ServicePack>Service Pack 1</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>EP\vadjemian</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>TRADLUXCVMESXL4</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>3931704 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>