Hi,

we are currently using akka 2.3.6 and checking for migration from scala 
2.10.4 to 2.11.2. When I tried an update to scala 2.11.2, I noticed 
following things:

When I start my application (using a local leveldb) I cannot reload 
Snapshots - I get the following exception:

08:12:08.232 ERROR [akka.tcp://xxxxx@127.0.0.1:3552/system/snapshot-store] 
Error loading snapshot [SnapshotMetadata(xxxx,3,1411970788025)]
java.io.InvalidClassException: scala.Option; local class incompatible: 
stream classdesc serialVersionUID = -2062608324514658839, local class 
serialVersionUID =
-114498752079829388

I have a similar issue with the akka-persistence-mongo-casbah journal:

07:43:03.534 ERROR [akka.tcp://xxxxx@127.0.0.1:3552/system/snapshot-store] 
error loading snapshot { "_id" : { "$oid" : "5428f1275fe8f19e6086ec8c"}
, "persistenceId" : "xxxxxx" , "sequenceNr" : 0 , "timestamp" : 
1411969319306 , "snapshot" : <Binary Data>}
java.io.InvalidClassException: akka.persistence.SelectedSnapshot; local 
class incompatible: stream classdesc serialVersionUID = 
-7413351535605152403, local clas
s serialVersionUID = -8204699298693905400
        at java.io.ObjectStreamClass.initNonProxy(Unknown Source) 
~[na:1.7.0_45]

I guess the only workaround for this would be touching the serializers? 

Regards,
Christian

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to