Skip to content

MNTR: NullRefeferencException inside Throttler #7564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Aaronontheweb opened this issue Mar 23, 2025 · 1 comment · May be fixed by #7565
Open

MNTR: NullRefeferencException inside Throttler #7564

Aaronontheweb opened this issue Mar 23, 2025 · 1 comment · May be fixed by #7565

Comments

@Aaronontheweb
Copy link
Member

Version Information
Version of Akka.NET? 1.5.39
Which Akka.NET Modules? Akka.Remote / Akka.Remote.TestKit

Describe the bug

Hit the following NRE while working on troubleshooting DistributedPubSubRestartSpecs:

[ERROR][03/23/2025 12:53:13.315Z][Thread 0006][akka://DistributedPubSubRestartSpec/system/transports/throttlermanager.$gremlin.tcp$1/throttler1] Object reference not set to an instance of an object.
Cause: System.NullReferenceException: Object reference not set to an instance of an object.
   at Akka.Actor.ActorRefBase.Equals(IActorRef other) in E:\Repositories\olympus\akka.net\src\core\Akka\Actor\ActorRef.cs:line 405
   at Akka.Actor.ActorCell.RemWatcher(IActorRef watchee, IActorRef watcher) in E:\Repositories\olympus\akka.net\src\core\Akka\Actor\ActorCell.DeathWatch.cs:line 267
   at Akka.Actor.ActorCell.SysMsgInvokeAll(EarliestFirstSystemMessageList messages, Int32 currentState) in E:\Repositories\olympus\akka.net\src\core\Akka\Actor\ActorCell.DefaultMessages.cs:line 288

Expected behavior

Either null shouldn't be passable here or the method should be able to handle it.

Actual behavior

NRE.

@Aaronontheweb
Copy link
Member Author

Oof, even worse this is happening during Context.Watch

@Aaronontheweb Aaronontheweb linked a pull request Mar 23, 2025 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant