Forum

Nuget Package responsible for navigation bar crashing

After installing this package:
https://www.nuget.org/packages/ThinkGeo.Jpeg2000/13.0.0-beta129

I got an error on VL side. I was unable to reach my installed libs (both VL and .Net Nugets) on the drop down menu of my patch.
I found out that a dependency lib (which I removed finally and the rest of the package is still working for me) was causing the problem. A small png icon (package’s icon) of Microsoft.SQL.Data +++ (or something named similar to this) was responsible for this behavior.

here is the log:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Item has already been added. Key in dictionary: ‘packageIcon.png’ Key being added: 'packageIcon.png’
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Collections.Specialized.OrderedDictionary.Add(Object key, Object value)
at MS.Internal.IO.Zip.ZipIOCentralDirectoryBlock.ParseRecord(BinaryReader reader, Int64 centralDirectoryOffset, Int32 centralDirectoryCount, Int64 expectedCentralDirectorySize)
at MS.Internal.IO.Zip.ZipIOCentralDirectoryBlock.SeekableLoad(ZipIOBlockManager blockManager)
at MS.Internal.IO.Zip.ZipIOBlockManager.get_CentralDirectoryBlock()
at MS.Internal.IO.Zip.ZipArchive.GetFiles()
at System.IO.Packaging.ZipPackage.ContentTypeHelper…ctor(ZipArchive zipArchive, IgnoredItemHelper ignoredItemHelper)
at System.IO.Packaging.ZipPackage…ctor(Stream s, FileMode mode, FileAccess access, Boolean streaming)
at System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming)
at NuGet.ZipPackage.GetManifestStreamFromPackage(Stream packageStream)
at NuGet.ZipPackage.EnsureManifest(Func 1 manifestStreamFactory) at NuGet.ZipPackage..ctor(String filePath, Boolean enableCaching) at VVVV.NuGetAssemblyLoader.LocalPackageRepository.<GetPackagesCore>d__9.MoveNext() at System.Collections.Generic.List 1…ctor(IEnumerable 1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable 1 source)
at VVVV.NuGetAssemblyLoader.LocalPackageRepository.GetPackages()
at NuGet.PackageRepositoryExtensions.FindPackagesByIdCore(IPackageRepository repository, String packageId)
at NuGet.PackageRepositoryExtensions.FindPackage(IPackageRepository repository, String packageId, SemanticVersion version, IPackageConstraintProvider constraintProvider, Boolean allowPrereleaseVersions, Boolean allowUnlisted)
at VVVV.NuGetAssemblyLoader.PreferSourceOverInstalledAggregateRepository.FindPackage(String packageId, SemanticVersion version)
at NuGet.PackageRepositoryExtensions.FindPackage(IPackageRepository repository, String packageId, SemanticVersion version, IPackageConstraintProvider constraintProvider, Boolean allowPrereleaseVersions, Boolean allowUnlisted)
at VL.HDE.PatchEditor.NavigationMenuProvider.ShowNugetInfos(MenuEntry menuEntry)
at VL.Lang.Menu.MenuEntry.get_Entries()
at VL.HDE.PatchEditor.NavigationMenuControl.CreateMenuItem(IMenuEntry menuEntry)
at System.Linq.Enumerable.WhereSelectListIterator 2.MoveNext() at System.Linq.Buffer 1…ctor(IEnumerable 1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable 1 source)
at VL.HDE.PatchEditor.NavigationMenuControl.HandleMenuDropDownOpening(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripDropDownItem.OnDropDownShow(EventArgs e)
at System.Windows.Forms.ToolStripDropDownItem.ShowDropDownInternal()
at System.Windows.Forms.ToolStripMenuItem.OnMenuAutoExpand()
at System.Windows.Forms.MenuTimer.OnTick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)