Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

JVM hangs with Hazelcast error on stop and start



All the JVM's are hung on Hazelcast during the process of stopping. The JVMs are not starting correctly either.

Error Messages

TcpIpConnecti I com.hazelcast.nio.tcp.TcpIpConnection []:5702 [53f26df308b4d8c40bc4db51d40fde04] [3.4.1] Connection [my_server/] lost. Reason: java.lang.IllegalArgumentException[Packet versions are not matching! This -> 3, Incoming -> 1]
[11/27/16 14:58:36:223 EST] 000000ad ReadHandler W com.hazelcast.nio.tcp.ReadHandler []:5702 [53f26df308b4d8c40bc4db51d40fde04] [3.4.1] hz._hzInstance_1_53f26df308b4d8c40bc4db51d40fde04.IO.thread-in-1 Closing socket to endpoint null, Cause:java.lang.IllegalArgumentException: Packet versions are not matching! This -> 3, Incoming -> 1
java.lang.IllegalArgumentException: Packet versions are not matching! This -> 3, Incoming -> 1
at com.hazelcast.nio.Packet.readFrom(
at com.hazelcast.nio.tcp.DefaultPacketReader.readPacket(
at com.hazelcast.nio.tcp.ReadHandler.handle(
at com.hazelcast.nio.tcp.InSelectorImpl.handleSelectionKey(
at com.hazelcast.nio.tcp.AbstractIOSelector.handleSelectionKeys(

Steps to Reproduce

Executed schedule job to restart JVMs.

Root Cause

A software use or operation error. One node seems to still be running an old version of Hazelcast.


 Restart all nodes in the cluster to make sure that they are all up to date. If one node hasn't been upgraded/updated remove it from the cluster.


Suggest Edit

Published December 11, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us