NuGetPackageExplorer / NuGetPackageExplorer

Create, update and deploy Nuget Packages with a GUI
MIT License
2.39k stars 442 forks source link

Issue with EXCEPTION System.ArgumentOutOfRangeException #750

Closed clairernovotny closed 5 years ago

clairernovotny commented 5 years ago

Account Id: Application version: 5.2.70 Auth user Id: Browser version: City: Chicago Client IP address: 0.0.0.0 Cloud role name: CLR version: 3.0.0-preview7.19327.2+ac4ab6c990d5ebee49dc03397a2e199241021f26 Country or region: United States Device model: 20LB0021US Device type: PC Environment: store Event time: 7/30/2019, 12:45:30 PM Exception type: System.ArgumentOutOfRangeException Failed method: NuGetPe.AssemblyMetadata.AssemblyDebugSourceDocument.HashAlgorithmNameFromGuid Network type: Ethernet Operating system: Windows 10.0.17134 Operation Id: Operation name: Parent Id: Problem Id: System.ArgumentOutOfRangeException at NuGetPe.AssemblyMetadata.AssemblyDebugSourceDocument.HashAlgorithmNameFromGuid Sample Rate: 100 SDK version: dotnetc:2.10.0-31626 Session Id: 33b106b6-586d-494a-a079-866510ccb01b Source of synthetic traffic: State or province: Illinois Telemetry type: exception Thread culture: en-US Time zone: Central Standard Time UI culture: en-US User Id: mG2/WttS1if0xH5YAB62LPzbrC3RdfKe8bNR9eL+R9w= WPF version: 4.8.0-preview7.19352.4+76573a9bb7ab5cd61dbf4456600631e63accf5c0

System.ArgumentOutOfRangeException:
   at NuGetPe.AssemblyMetadata.AssemblyDebugSourceDocument.HashAlgorithmNameFromGuid (Core, Version=5.2.0.0, Culture=neutral, PublicKeyToken=nullCore, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: d:\a\1\s\Core\AssemblyMetadata\AssemblyDebugSourceDocument.csCore, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: 48)
   at NuGetPe.AssemblyMetadata.AssemblyDebugSourceDocument..ctor (Core, Version=5.2.0.0, Culture=neutral, PublicKeyToken=nullCore, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: d:\a\1\s\Core\AssemblyMetadata\AssemblyDebugSourceDocument.csCore, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: 24)
   at NuGetPe.AssemblyMetadata.AssemblyDebugParser.<GetSourceDocuments>b__10_1 (Core, Version=5.2.0.0, Culture=neutral, PublicKeyToken=nullCore, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: d:\a\1\s\Core\AssemblyMetadata\AssemblyDebugParser.csCore, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: 133)
   at System.Linq.Utilities+<>c__DisplayClass2_0`3.<CombineSelectors>b__0 (System.Linq, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
   at System.Linq.Enumerable+SelectEnumerableIterator`2.ToList (System.Linq, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
   at System.Linq.Enumerable.ToList (System.Linq, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
   at NuGetPe.AssemblyMetadata.AssemblyDebugParser.GetSourceDocuments (Core, Version=5.2.0.0, Culture=neutral, PublicKeyToken=nullCore, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: d:\a\1\s\Core\AssemblyMetadata\AssemblyDebugParser.csCore, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: 131)
   at NuGetPe.AssemblyMetadata.AssemblyDebugParser.GetDebugData (Core, Version=5.2.0.0, Culture=neutral, PublicKeyToken=nullCore, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: d:\a\1\s\Core\AssemblyMetadata\AssemblyDebugParser.csCore, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: 61)
   at NuGetPe.AssemblyMetadata.AssemblyMetadataReader.ReadDebugData (Core, Version=5.2.0.0, Culture=neutral, PublicKeyToken=nullCore, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: d:\a\1\s\Core\AssemblyMetadata\AssemblyMetadataReader.csCore, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: 52)
   at PackageExplorer.PdbFileViewer.GetView (NuGetPackageExplorer, Version=5.2.0.0, Culture=neutral, PublicKeyToken=nullNuGetPackageExplorer, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: d:\a\1\s\PackageExplorer\MefServices\PdbFileViewer.csNuGetPackageExplorer, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: 44)
   at PackageExplorerViewModel.ViewContentCommand.ShowFile (PackageViewModel, Version=5.2.0.0, Culture=neutral, PublicKeyToken=nullPackageViewModel, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: d:\a\1\s\PackageViewModel\Commands\ViewContentCommand.csPackageViewModel, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null: 97)

View this instance in the Azure portal<\a> View similar exceptions in this time range<\a>

clairernovotny commented 5 years ago

We should record the GUID that wasn't found in the exception data.