Props with null parameters
Two problems when passing null for Actor constructor parameter in Props.
1. akka.actor.serialize-creators=on
IllegalArgumentException: pre-creation serialization check failed
2. Remote deploy
[JVM-1] [WARN] [03/20/2014 14:13:32.910] [NewRemoteActorSpec-akka.remote.default-remote-dispatcher-5] [akka.tcp://NewRemoteActorSpec@localhost:51061/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FNewRemoteActorSpec%40localhost%3A51062-0] Association with remote system [akka.tcp://NewRemoteActorSpec@localhost:51062] has failed, address is now gated for [5000] ms. Reason is: [Failed to write message to the transport].
We should also consider the if the structure of PropsData should be aligned with SerializedMessage as pointed out here: https://groups.google.com/d/msg/akka-user/K2yjpdurofQ/mcNyPbNelCIJ
1. akka.actor.serialize-creators=on
IllegalArgumentException: pre-creation serialization check failed
2. Remote deploy
[JVM-1] [WARN] [03/20/2014 14:13:32.910] [NewRemoteActorSpec-akka.remote.default-remote-dispatcher-5] [akka.tcp://NewRemoteActorSpec@localhost:51061/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FNewRemoteActorSpec%40localhost%3A51062-0] Association with remote system [akka.tcp://NewRemoteActorSpec@localhost:51062] has failed, address is now gated for [5000] ms. Reason is: [Failed to write message to the transport].
We should also consider the if the structure of PropsData should be aligned with SerializedMessage as pointed out here: https://groups.google.com/d/msg/akka-user/K2yjpdurofQ/mcNyPbNelCIJ
Leave a comment