-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting exception please suggest #12
Comments
@mukul4u2005: can you describe your setup a bit? do you have a reproducer? |
I am using subzero-all-0.6 jar , It is working fine on my local machine but when I am deploying on production the deserialization is not working , The serialization is not giving any issue but when I am doing get operation on Map in hazelcast it is throwing this exception . |
do you have subzero registered on all members and clients? |
I am deploying hazelcast as embeded of war file and doing programmatic configuration as:
So there are two tomcat instance and making cluster there. Some time i got same exception like during migration and not I am getting this exception when I am doing get operation on Map. |
can you post a full stacktrace? |
|
any chance you could share your domain classes? you can obfustate them, but it's hard to tell anything from the log. |
public class AllocationDetails {
getter-setter and public class AllocationInstance {
getter-setter |
can you try to create a reproducer? if there is a serialization issue then it should be possible to create a local reproducer - just start multiple Hazelcast instances in a single JVM. |
hmmm I will try to create but I found on kryo website support some people facing similar exception because they did not have output.flush(); after writeObject method. @OverRide
Is that can be reason. Mean in Subzero we have to mention sumwhere |
SubZero calls the flush, see subzero/subzero-core/src/main/java/info/jerrinot/subzero/internal/strategy/KryoStrategy.java Line 70 in 5f80142
|
Ok I am trying to reproduce but for your information there are some exception in log files showing during replication as: An exception occurred while executing migration operation com.hazelcast.map.impl.operation.MapReplicationOperation{serviceName='hz:impl:mapService', identityHash=270795521, partitionId=0, replicaIndex=0, callId=0, invocationTime=-1 (1970-01-01 00:59:59.999), waitTimeout=-1, callTimeout=9223372036854775807} |
@mukul4u2005: hi, do you have any uppdate/reproducer? |
@jerrinot: Hi, That I tried to reproduce on my local it is working fine but it is failing in INT environment with same implementation. SO I am not sure what is happening. |
com.hazelcast.nio.serialization.HazelcastSerializationException: info.jerrinot.subzero.relocated.com.esotericsoftware.kryo.KryoException: Buffer underflow
The text was updated successfully, but these errors were encountered: