You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
YamlStream.Load throws an ArgumentException (YamlException is expected) when loading the document from the attached archive. You can run the following code to reproduce it (the path variable should contain the path to the extracted file):
An unhandled exception of type 'System.ArgumentException' occurred in System.Private.CoreLib.dll: 'An item with the same key has already been added. Key: '
at System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException[T](T key)
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at YamlDotNet.RepresentationModel.YamlMappingNode.ResolveAliases(DocumentLoadingState state)
at YamlDotNet.RepresentationModel.DocumentLoadingState.ResolveAliases()
at YamlDotNet.RepresentationModel.YamlDocument..ctor(IParser parser)
at YamlDotNet.RepresentationModel.YamlStream.Load(IParser parser)
This document uses a duplicate key, and the exception that is thrown correctly indicates that this is indeed the issue. I don't think there is any error here. Please reopen the issue if you disagree.
YamlStream.Load throws an ArgumentException (YamlException is expected) when loading the document from the attached archive. You can run the following code to reproduce it (the path variable should contain the path to the extracted file):
Full stack trace:
Found via SharpFuzz.
The text was updated successfully, but these errors were encountered: