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
Version Information
Version of Akka.NET? v1.4.24
Which Akka.NET Modules? Akka
Describe the bug
After changes in IsNobody implementation, our tests started failing because of NRE. It seems that the new implementation assumes that Path is not null which might not be true. In our case, it's caused by the mock of IActorRef.
To Reproduce
Steps to reproduce the behavior:
Prepare a test where you mock IActorRef using some mocking library (e.g. NSubstitute)
Version Information
Version of Akka.NET? v1.4.24
Which Akka.NET Modules? Akka
Describe the bug
After changes in
IsNobody
implementation, our tests started failing because of NRE. It seems that the new implementation assumes thatPath
is not null which might not be true. In our case, it's caused by the mock ofIActorRef
.To Reproduce
Steps to reproduce the behavior:
Code sample: https://github.com/BaterPL/akka-isNobody-example/blob/main/src/IsNobodyTests.cs
Expected behavior
IsNobody returns true instead of throwing an exception
Actual behavior
NullReferenceException
Environment
Windows, .NET 5
The text was updated successfully, but these errors were encountered: