akka/akka — pull request #2119 by patriknw (2014-04-07 12:08:44+00:00)
Title: =3974 per Persist (serialize) actor refs  with transport info (forward port)

* The reason for the problem with NoSuchElementException in ClusterSharding was
that actor references were not serialized with full address information. In
certain fail over scenarios the references could not be resolved and therefore
the ShardRegionTerminated did not match corresponding ShardRegionRegistered.
* Wrap serialization with transport information from defaultAddress

(cherry picked from commit 3e73ae5925cf1293a9a5d61e48919b1708e84df2)