Skip to content

System.AggregateException on Cluster Startup (Cluster.GetClusterCoreRef) #1443

@Aaronontheweb

Description

@Aaronontheweb

https://github.com/akkadotnet/akka.net/blob/dev/src/core/Akka.Cluster/Cluster.cs#L84

System.AggregateException occurred
 HResult=-2146233088
 Message=One or more errors occurred.
 Source=mscorlib
 StackTrace:
      at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
      at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
      at System.Threading.Tasks.Task`1.get_Result()
      at Akka.Cluster.Cluster..ctor(ActorSystemImpl system)
      at Akka.Cluster.ClusterExtension.CreateExtension(ExtendedActorSystem system)
      at Akka.Actor.ExtensionIdProvider`1.Akka.Actor.IExtensionId.CreateExtension(ExtendedActorSystem system)
      at Akka.Actor.Internal.ActorSystemImpl.<>c__DisplayClass2.<RegisterExtension>b__0()
      at System.Lazy`1.CreateValue()
      at System.Lazy`1.LazyInitValue()
      at System.Lazy`1.get_Value()
      at Akka.Actor.Internal.ActorSystemImpl.TryGetExtension(Type extensionType, Object& extension)
      at Akka.Actor.Internal.ActorSystemImpl.GetExtension(IExtensionId extensionId)
      at Akka.Actor.ExtensionIdProvider`1.Get(ActorSystem system)
      at Akka.Actor.ExtensionIdProvider`1.Akka.Actor.IExtensionId.Get(ActorSystem system)
      at Akka.Actor.Internal.ActorSystemImpl.RegisterExtension(IExtensionId extension)
      at Akka.Actor.ActorSystemWithExtensions.WithExtension[T,TI](ActorSystem system)
      at Akka.Cluster.ClusterActorRefProvider.CreateRemoteWatcher(ActorSystemImpl system)
      at Akka.Remote.RemoteActorRefProvider.Init(ActorSystemImpl system)
      at Akka.Cluster.ClusterActorRefProvider.Init(ActorSystemImpl system)
      at Akka.Actor.Internal.ActorSystemImpl.Start()
      at Akka.Actor.ActorSystem.Create(String name)
      at Rms.Services.VehicleService.ServiceHost.Start() in D:\Git\Platform\RmsNext\Rms.Services.VehicleService\ServiceHost.cs:line 26
 InnerException: 
      HResult=-2147467261
      Message=Object reference not set to an instance of an object.
      Source=Akka.Cluster
      StackTrace:
           at Akka.Cluster.Cluster.Shutdown()
           at Akka.Cluster.Cluster.<GetClusterCoreRef>d__4.MoveNext()
      InnerException:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions