net11.0-linux-Release-x64-jitosr_stress_random-AzureLinux.3.Amd64.Open
- System.Xml.XmlReaderTests.AsyncReaderLateInitTests.ReadAsyncAfterInitializationWithUriThrows
Assert.Throws() Failure: Exception type was not an exact match\nExpected: typeof(System.Net.Http.HttpRequestException)\nActual: typeof(System.ArgumentNullException)\n---- System.ArgumentNullException : Value cannot be null. (Parameter 'request')
at System.Xml.XmlReaderTests.AsyncReaderLateInitTests.ReadAsyncAfterInitializationWithUriThrows() in /_/src/libraries/System.Private.Xml/tests/XmlReader/Tests/AsyncReaderLateInitTests.cs:line 76
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 37
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs:line 134
----- Inner Stack Trace -----
at System.ArgumentNullException.Throw(String paramName) in /_/src/libraries/System.Private.CoreLib/src/System/ArgumentNullException.cs:line 98
at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName) in /_/src/libraries/System.Private.CoreLib/src/System/ArgumentNullException.cs:line 59
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpMessageInvoker.cs:line 69
at System.Net.Http.HttpClient.GetStreamAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken) in /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpClient.cs:line 343
at System.Xml.XmlDownloadManager.GetNonFileStreamAsync(Uri uri, ICredentials credentials, IWebProxy proxy) in /_/src/libraries/System.Private.Xml/src/System/Xml/XmlDownloadManager.cs:line 56
at System.Xml.XmlUrlResolver.GetEntityAsync(Uri absoluteUri, String role, Type ofObjectToReturn) in /_/src/libraries/System.Private.Xml/src/System/Xml/XmlUrlResolver.cs:line 54
at System.Xml.XmlTextReaderImpl.FinishInitUriStringAsync() in /_/src/libraries/System.Private.Xml/src/System/Xml/Core/XmlTextReaderImplAsync.cs:line 77
at System.Xml.AsyncHelper.CallBoolTaskFuncWhenFinishCoreAsync[TArg](Task task, Func`2 func, TArg arg) in /_/src/libraries/System.Private.Xml/src/System/Xml/AsyncHelper.cs:line 75
at System.Xml.XmlReaderTests.AsyncReaderLateInitTests.<>c__DisplayClass7_0.<ReadAsyncAfterInitializationWithUriThrows>b__0() in /_/src/libraries/System.Private.Xml/tests/XmlReader/Tests/AsyncReaderLateInitTests.cs:line 76
Failed in: runtime-coreclr libraries-pgo 20260830.1
Failed tests:
Error message:
Stack trace: