com.hazelcast.nio.serialization.HazelcastSerializationException

Problem while reading DataSerializable, namespace: 0, id: 7, class: 'null', exception: String index out of range: -2

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web158

  • via Unknown by Patchee,
  • Stack trace

    • com.hazelcast.nio.serialization.HazelcastSerializationException: Problem while reading DataSerializable, namespace: 0, id: 7, class: 'null', exception: String index out of range: -2 at com.hazelcast.internal.serialization.impl.DataSerializableSerializer.rethrowReadException(DataSerializableSerializer.java:141) at com.hazelcast.internal.serialization.impl.DataSerializableSerializer.read(DataSerializableSerializer.java:130) at com.hazelcast.internal.serialization.impl.DataSerializableSerializer.read(DataSerializableSerializer.java:52) at com.hazelcast.internal.serialization.impl.StreamSerializerAdapter.read(StreamSerializerAdapter.java:46) at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toObject(AbstractSerializationService.java:172) at com.hazelcast.spi.impl.NodeEngineImpl.toObject(NodeEngineImpl.java:307) at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:376) at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:117) at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.run(OperationThread.java:102) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -2 at java.lang.String.<init>(String.java:197) at com.hazelcast.internal.serialization.impl.ByteArrayObjectDataInput.readUTF(ByteArrayObjectDataInput.java:595) at com.hazelcast.internal.cluster.impl.operations.FinalizeJoinOperation.readInternal(FinalizeJoinOperation.java:185) at com.hazelcast.spi.Operation.readData(Operation.java:513) at com.hazelcast.internal.serialization.impl.DataSerializableSerializer.read(DataSerializableSerializer.java:127) ... 7 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    adawolfsadawolfs
    2 times, last one
    bpbhat77bpbhat77
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,