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

ClusterShardingMessageSerializer Exception after upgrade from 1.2.0 to 1.3.1 #3087

Closed
amichel opened this issue Sep 7, 2017 · 8 comments
Closed

Comments

@amichel
Copy link

amichel commented Sep 7, 2017

After upgrading my project with sharded cluster from 1.2.0 to 1.3.1 and switching serializer from wire to Hyperion, I get this exception at ClusterSharding.Get(system) :

> Attempt by method 'Akka.Cluster.Sharding.Serialization.ClusterShardingMessageSerializer..ctor(Akka.Actor.ExtendedActorSystem)' to access method 'Akka.Serialization.SerializerIdentifierHelper.GetSerializerIdentifierFromConfig(System.Type, Akka.Actor.ExtendedActorSystem)' failed.

My config looks like:
provider = "Akka.Cluster.ClusterActorRefProvider, Akka.Cluster"
serializers {
wire = "Akka.Serialization.HyperionSerializer, Akka.Serialization.Hyperion"
}
serialization-bindings {
"System.Object" = wire
}
no special entries or custom fallbacks for sharding

@amichel
Copy link
Author

amichel commented Sep 11, 2017

When I reference assemblies built from dev branch it doesn't happen. When I switch back to nuget I get same exception again.

@Aaronontheweb
Copy link
Member

This is a confirmed issue with the way we've using the SerializerId for the dedicated Cluster.Sharding serializer.... We'll see about getting it fixed in 1.3.2

@Aaronontheweb
Copy link
Member

@amichel this should be fixed in tonight's nightly build; would you mind giving that a try and let us know if it resolves your issue? http://getakka.net/community/getting-access-to-nightly-builds.html

@Aaronontheweb
Copy link
Member

Nightlies run at midnight UTC usually, so it should be ready for you guys by tomorrow AM.

@amichel
Copy link
Author

amichel commented Sep 14, 2017 via email

@amichel
Copy link
Author

amichel commented Sep 15, 2017

I can confirm that this bug was solved when using nightly build (beta426).

I have other issues now preventing cluster from starting related to SQL persistence changes. Will try to dig more info on them.

@Aaronontheweb
Copy link
Member

@amichel are you using the latest Akka.Persistence.Sql driver? We just pushed out an update for those packages last week

@amichel
Copy link
Author

amichel commented Sep 15, 2017 via email

@alexvaluyskiy alexvaluyskiy self-assigned this Sep 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants