Skip to content

Akka 1.5.35 breaks Phobos #7467

@object

Description

@object

Version Information
Version of Akka.NET? 1.5.35

Describe the bug

Services fail on start after updating Akka to version 1.5.35.

Here's the exception:

Exception Info: System.TypeLoadException: Method 'UnApply' in type 'Phobos.Actor.Cluster.Impl.ShardingBufferMessageAdapter' from assembly 'Phobos.Actor.Cluster, Version=2.7.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   at Phobos.Actor.Cluster.PhobosClusterActorRefProvider.Init(ActorSystemImpl system)
   at Akka.Actor.Internal.ActorSystemImpl.Start()
   at Akka.Actor.ActorSystem.CreateAndStartSystem(String name, Config withFallback, ActorSystemSetup setup)
   at Akka.Actor.ActorSystem.Create(String name, ActorSystemSetup setup)
   at Akka.Hosting.AkkaConfigurationBuilder.<>c.<ActorSystemFactory>b__39_0(IServiceProvider sp)

I believed it is caused by the following change (new method UnApply):

public interface IShardingBufferMessageAdapter
    {
        object Apply(object message, Akka.Actor.IActorContext context);
        object UnApply(object message, Akka.Actor.IActorContext context);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions