Skip to content
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

Null Reference exception at Akka.Remote.RemoteActorRefProvider.Transport #7316

Open
Degot opened this issue Aug 9, 2024 · 2 comments
Open
Labels

Comments

@Degot
Copy link

Degot commented Aug 9, 2024

Version Information

Akka.NET 1.5.27.1
Akka.Remoting 1.5.27.1

Describe the bug
Akka.Hosting.LoggingDemo

Object reference not set to an instance of an object.
Akka.Remote.dll!Akka.Remote.RemoteActorRefProvider.Transport.get() Line 172
Akka.Remote.dll!Akka.Remote.RemoteActorRefProvider.DefaultAddress.get() Line 192
Akka.dll!Akka.Event.LogSource.FromActorRef(Akka.Actor.IActorRef a, Akka.Actor.ActorSystem system) Line 117
Akka.dll!Akka.Event.LogSource.FromActor(Akka.Actor.IActorContext actor, Akka.Actor.ActorSystem system) Line 110
Akka.dll!Akka.Event.LogSource.Create(object o, Akka.Actor.ActorSystem system) Line 62
Akka.dll!Akka.Event.Logging.GetLogger(Akka.Actor.IActorContext context, Akka.Event.ILogMessageFormatter logMessageFormatter) Line 236
Akka.dll!Akka.Event.Logging.GetLoggerStartup(Akka.Actor.IActorContext context, Akka.Event.ILogMessageFormatter logMessageFormatter) Line 219
Akka.dll!Akka.Actor.FSM<Akka.Remote.RemoteActorRefProvider.TerminatorState, Akka.Remote.RemoteActorRefProvider.Internals>.FSM() Line 687
Akka.Remote.dll!Akka.Remote.RemoteActorRefProvider.RemotingTerminator.RemotingTerminator(Akka.Actor.IActorRef systemGuardian) Line 70
[Native to Managed Transition]
[Managed to Native Transition]
System.Private.CoreLib.dll!System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(object obj, System.Span copyOfArgs, System.Reflection.BindingFlags invokeAttr) Line 178
System.Private.CoreLib.dll!System.Reflection.MethodBaseInvoker.InvokeWithOneArg(object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture) Line 104
System.Private.CoreLib.dll!System.RuntimeType.CreateInstanceImpl(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture) Line 3834
Akka.dll!Akka.Actor.Props.ActivatorProducer.Produce() Line 690
Akka.dll!Akka.Actor.Props.NewActor() Line 562

To Reproduce
Run Akka.Hosting.LoggingDemo with Akka.NET updated 1.5.27.1

Expected behavior
No exceptions

Environment
Windows 10 , .NET 8.0

@Aaronontheweb
Copy link
Member

Is this a handled or unhandled Exception ?

@Aaronontheweb
Copy link
Member

@Degot did you see my previous comment? If this is a handled exception then we can deprioritize it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants