Am Montag, 11. Februar 2013 15:11:50 UTC+1 schrieb Malaka Ekanayake:
Hi all,
I am using Hazelcast to synchronize data between swing application running on a LAN . I have developed a prototype and base on the results of the prototype I started on the real swing application. But i'm getting com.hazelcast.nio.HazelcastSerializationException: Problem when serializing type 0 with the swing app.
Hazelcast is configured through spring
I'm using hazelcast 2.5 and hazelcast-spring 2.5.
All my map entities have implemented Serializable and have a default constructor.
But every time a member try to join to the cluster it gives following stack trace
Feb 11, 2013 7:27:57 PM com.hazelcast.cluster.ClusterService
SEVERE: [10.20.11.199]:6701 [dev] error processing messages packet=Packet [REMOTELY_PROCESS] name=remotelyProcess, connection=Connection [/
10.20.11.183:43318 -> Address[10.20.11.183]:6701] live=true, client=false, type=MEMBER,blockId=-1, keySize=0, valueSize=395 client=false obj=com.hazelcast.nio.HazelcastSerializationException: Problem when serializing type 0 callId=-1
com.hazelcast.nio.HazelcastSerializationException: Problem when serializing type 0
at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:128)
at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:156)
at com.hazelcast.nio.Serializer.readObject(Serializer.java:71)
at com.hazelcast.impl.ThreadContext.toObject(ThreadContext.java:135)
at com.hazelcast.nio.IOUtil.toObject(IOUtil.java:163)
at com.hazelcast.cluster.ClusterManager$8.process(ClusterManager.java:167)
at com.hazelcast.cluster.ClusterService.processPacket(ClusterService.java:185)
at com.hazelcast.cluster.ClusterService.dequeuePackets(ClusterService.java:236)
at com.hazelcast.cluster.ClusterService.run(ClusterService.java:200)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: Problem reading DataSerializable class : com.hazelcast.cluster.JoinInfo, exception: java.io.EOFException
at com.hazelcast.nio.Serializer$DataSerializer.read(Serializer.java:107)
at com.hazelcast.nio.Serializer$DataSerializer.read(Serializer.java:79)
at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:121)
You help is greatly appreciated because I'm stuck with this issue for few days now.
Regards
Malaka