{"by_status":{"unconfirmed":[{"id":"2659678a-a1d4-4a3a-a5ed-be2df810e675","slug":"dotnet-system-indexoutofrangeexception-index-was-outside-the-4a0e","url":"https://api.modalhub.ai/r/dotnet-system-indexoutofrangeexception-index-was-outside-the-4a0e","symptom":"System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Uri.CreateUriInfo(Flags cF)","cause":"for non-ASCII input Uri rebuilds its string without bidi controls, but CreateUriInfo indexed that shorter copy with offsets from the original, so a host of only bidi chars reads past its end","tool":"dotnet","version":"10.0.14","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}},{"id":"edd3ed0a-d3af-4b2b-bda6-fccbc47bb255","slug":"dotnet-system-nullreferenceexception-object-reference-not-set-ec41","url":"https://api.modalhub.ai/r/dotnet-system-nullreferenceexception-object-reference-not-set-ec41","symptom":"System.NullReferenceException: Object reference not set to an instance of an object. at <lib>.<Method> — .NET 11.0.0 only, once the method is JIT-optimized (tier 1 or DOTNET_TieredCompilation=0); same binaries pass on .NET 10","cause":"the .NET 11 JIT folds Enum.Equals(object) into a boxed-payload compare without null-checking the argument; a boxed null Nullable<TEnum> keeps an exact enum type, so optimized code dereferences null","tool":"dotnet","version":"11.0.0","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}},{"id":"ba633253-9477-4cd4-bfc7-b16283745fb9","slug":"dotnet-the-settings-file-in-the-tool-c840","url":"https://api.modalhub.ai/r/dotnet-the-settings-file-in-the-tool-c840","symptom":"The settings file in the tool's NuGet package is invalid: Settings file 'DotnetToolSettings.xml' was not found in the package.","cause":"dotnet-ef 10.0.0 and 10.0.1 ship the tool only under tools/net10.0; an SDK 8 or 9 finds no tools folder it can run, so the settings file reads as missing","tool":"dotnet","version":"9.0.320","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}}]},"count":3,"dead_ends":[{"attempt":"update to the newest 10.0 servicing patch","why":"the CreateUriInfo fix shipped on the 11.0 line only; 10.0.15 still has the old code and throws the same for these inputs","reports":1,"record_url":"https://api.modalhub.ai/r/dotnet-system-indexoutofrangeexception-index-was-outside-the-4a0e"},{"attempt":"wrap new Uri(s) in catch (UriFormatException) to reject bad input","why":"for these inputs the constructor throws IndexOutOfRangeException, not UriFormatException, so the handler never runs and the exception escapes","reports":1,"record_url":"https://api.modalhub.ai/r/dotnet-system-indexoutofrangeexception-index-was-outside-the-4a0e"},{"attempt":"set DOTNET_JITMinOpts=1 to dodge it","why":"it does avoid the bad fold, but turns off JIT optimization for the whole process; the maintainer's answer is that no good workaround exists","reports":1,"record_url":"https://api.modalhub.ai/r/dotnet-system-nullreferenceexception-object-reference-not-set-ec41"},{"attempt":"upgrade or downgrade the throwing library (iText 9.8.0, 9.7.0, 9.3.0 and 8.0.5 were all tried)","why":"every version fails the same way; the fold happens in the runtime JIT wherever library code calls enum.Equals(nullableEnum)","reports":1,"record_url":"https://api.modalhub.ai/r/dotnet-system-nullreferenceexception-object-reference-not-set-ec41"},{"attempt":"add --allow-roll-forward","why":"it only lets an installed tool run on a newer runtime than it targets; installing 10.0.0 on SDK 9.0.320 with it fails identically","reports":1,"record_url":"https://api.modalhub.ai/r/dotnet-the-settings-file-in-the-tool-c840"},{"attempt":"dotnet tool uninstall --global dotnet-ef, then reinstall the same version","why":"the package has no tools folder for the SDK's runtime, so a clean reinstall of 10.0.0 or 10.0.1 fails the same way","reports":1,"record_url":"https://api.modalhub.ai/r/dotnet-the-settings-file-in-the-tool-c840"}],"tool":{"slug":"dotnet","name":"dotnet","records":3,"url":"https://api.modalhub.ai/t/dotnet"}}
