random java.io.InvalidClassException - local class incompatible
My app was chugging along nicely when, out of nowhere, this Exception scrolled past. The app continued fine after that. I have one app that simply puts Order objects in a cache and another that listens for the related map events and changes a field with an UpdaterProcessor . It's just instances of the same class over and over. Everything is taking place on the same machine so there is no network involved. CPU is at 10% so nothing is starving for processor. How could I get this?
Thanks,
Andrew
Exception in thread "QueueReader" (Wrapped: Failed request execution for Distrib
utedCache service on Member(Id=1, Timestamp=2009-02-26 09:56:15.85, Address=192.
168.10.25:8088, MachineId=25113, Location=process:5796, Role=CoherenceServer) (W
rapped) trading_app.Order; local class incompatible: stream classdesc serialVers
ionUID = 422439667212490291, local class serialVersionUID = 3144431307305301980)
java.io.InvalidClassException: trading_app.Order; local class incompatible: str
eam classdesc serialVersionUID = 422439667212490291, local class serialVersionUI
D = 3144431307305301980
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:158
3)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at com.tangosol.util.ExternalizableHelper.readSerializable(Externalizabl
eHelper.java:2135)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(Externaliza
bleHelper.java:2262)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(Externaliz
ableHelper.java:2643)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelpe
r.java:256)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
rid.DistributedCache$ConverterFromBinary.convert(DistributedCache.CDB:4)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
rid.DistributedCache$Storage$BinaryEntry.getValue(DistributedCache.CDB:13)
at com.tangosol.util.processor.UpdaterProcessor.process(UpdaterProcessor
.java:104)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
rid.DistributedCache$Storage.invoke(DistributedCache.CDB:20)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
rid.DistributedCache.onInvokeRequest(DistributedCache.CDB:50)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
rid.DistributedCache$InvokeRequest.run(DistributedCache.CDB:1)
at com.tangosol.coherence.component.net.message.requestMessage.Distribut
edCacheKeyRequest.onReceived(DistributedCacheKeyRequest.CDB:12)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.G
rid.onMessage(Grid.CDB:9)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.G
rid.onNotify(Grid.CDB:130)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
rid.DistributedCache.onNotify(DistributedCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:37)
at java.lang.Thread.run(Thread.java:619)