Skip to content

[wasm][coreclr] Failure: Exception type was not an exact match #124260

Closed

Description

@radekdoulik

2 failing runtime tests

20:40:33.750 Running test: Loader/classloader/StaticVirtualMethods/Reabstraction/Reabstraction/Reabstraction.dll
Xunit.Sdk.ThrowsException: Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(System.EntryPointNotFoundException)
Actual:   typeof(System.NullReferenceException)
   at Xunit.Assert.Throws(Type exceptionType, Exception exception) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/ExceptionAsserts.cs:line 45
   at Xunit.Assert.Throws[T](Action testCode) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/ExceptionAsserts.cs:line 96
   at VirtualStaticMethodReabstraction.Main()
   at Program.<<Main>$>g__TestExecutor93|0_94(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
20:40:33.776 Failed test: Loader/classloader/StaticVirtualMethods/Reabstraction/Reabstraction/Reabstraction.dll
20:40:30.752 Running test: Loader/classloader/StaticVirtualMethods/NegativeTestCases/AmbiguousImplementationException/AmbiguousImplementationException.dll
Xunit.Sdk.ThrowsException: Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(System.Runtime.AmbiguousImplementationException)
Actual:   typeof(System.NullReferenceException)
   at Xunit.Assert.Throws(Type exceptionType, Exception exception) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/ExceptionAsserts.cs:line 45
   at Xunit.Assert.Throws[T](Action testCode) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/ExceptionAsserts.cs:line 96
   at VirtualStaticMethodReabstraction.Main()
   at Program.<<Main>$>g__TestExecutor1|0_2(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
20:40:31.214 Failed test: Loader/classloader/StaticVirtualMethods/NegativeTestCases/AmbiguousImplementationException/AmbiguousImplementationException.dll

Activity

  1. added this to the Future milestone on Feb 11, 2026
  2. added
    arch-wasm
    area-AssemblyLoader-coreclr
    on Feb 11, 2026
  3. dotnet-policy-service commented on Feb 11, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
    See info in area-owners.md if you want to be subscribed.

  4. dotnet-policy-service commented on Feb 11, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @agocke, @elinor-fung
    See info in area-owners.md if you want to be subscribed.

  5. radekdoulik commented on Mar 6, 2026

    @radekdoulik
    MemberAuthor

    This is now working and re-enabled by #125216

  6. locked and limited conversation to collaborators on Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-wasmarea-AssemblyLoader-coreclr

    Type

    No type

    Projects

    • Status
      No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions