In moqui-Hazelcast docker-container faced issue of Externalizable

Problem: After building the image of moqui-Hazelcast, I have created a container simply and then simply run/start container ,
And Here I got this Error:

Suppressed error in entity cache clearing [moqui.security.ArtifactGroupMember; create]
com.hazelcast.nio.serialization.HazelcastSerializationException: Problem while reading Externalizable class: org.moqui.impl.entity.condition.ListCondition, exception: java.lang.NoSuchMethodException: org.moqui.impl.entity.condition.ListCondition.<init>()
   at com.hazelcast.internal.serialization.impl.JavaDefaultSerializers$ExternalizableSerializer.read(JavaDefaultSerializers.java:158) ~[hazelcast-all-4.0.2.jar:4.0.2]
   at com.hazelcast.internal.serialization.impl.JavaDefaultSerializers$ExternalizableSerializer.read(JavaDefaultSerializers.java:134) ~[hazelcast-all-4.0.2.jar:4.0.2]
   at com.hazelcast.internal.serialization.impl.StreamSerializerAdapter.read(StreamSerializerAdapter.java:44) ~[hazelcast-all-4.0.2.jar:4.0.2]
   at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toObject(AbstractSerializationService.java:203) ~[hazelcast-all-4.0.2.jar:4.0.2]
   at com.hazelcast.cache.impl.CachePartitionsIterator.toObject(CachePartitionsIterator.java:98) ~[hazelcast-all-4.0.2.jar:4.0.2]
   at com.hazelcast.cache.impl.AbstractCachePartitionsIterator.next(AbstractCachePartitionsIterator.java:135) ~[hazelcast-all-4.0.2.jar:4.0.2]
   at com.hazelcast.cache.impl.AbstractCachePartitionsIterator.next(AbstractCachePartitionsIterator.java:84) ~[hazelcast-all-4.0.2.jar:4.0.2]
   at org.moqui.impl.entity.EntityCache.clearCacheForValueActual(EntityCache.groovy:322) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
   at org.moqui.hazelcast.HazelcastDciTopicToolFactory$EntityCacheListener$_onMessage_closure1.doCall(HazelcastDciTopicToolFactory.groovy:127) ~[moqui-hazelcast-1.1.3.jar:?]
   at org.moqui.hazelcast.HazelcastDciTopicToolFactory$EntityCacheListener$_onMessage_closure1.call(HazelcastDciTopicToolFactory.groovy) ~[moqui-hazelcast-1.1.3.jar:?]
   at org.moqui.impl.context.ExecutionContextImpl$ThreadPoolRunnable.run(ExecutionContextImpl.java:270) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
   at java.lang.Thread.run(Thread.java:829) ~[?:?]

Its about serialization error In the process of Cache. and then this error leads to container Hazelcast failure

Hazelcast shutdown
01:55:06.285  INFO         main .moqui.i.c.ExecutionContextFactoryImpl Destroying ToolFactory: MCache
01:55:06.285  INFO         main .moqui.i.c.TransactionInternalBitronix Shutting down Bitronix
01:55:06.660 ERROR         main       o.moqui.i.w.MoquiContextListener Error initializing webapp context: java.lang.IllegalStateException: CacheManager /hz/moqui-cache-manager/ is already closed.
java.lang.IllegalStateException: CacheManager /hz/moqui-cache-manager/ is already closed.
	at com.hazelcast.cache.impl.AbstractHazelcastCacheManager.ensureOpen(AbstractHazelcastCacheManager.java:356) ~[hazelcast-all-4.0.2.jar:4.0.2]
	at com.hazelcast.cache.impl.AbstractHazelcastCacheManager.getCacheNames(AbstractHazelcastCacheManager.java:251) ~[hazelcast-all-4.0.2.jar:4.0.2]
	at org.moqui.impl.context.CacheFacadeImpl.destroy(CacheFacadeImpl.groovy:82) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
	at org.moqui.impl.context.ExecutionContextFactoryImpl.destroy(ExecutionContextFactoryImpl.groovy:844) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]

An interesting aspect is that when the container is stopped and then restarted, the error magically disappears from the container and it started smoothly.

How to resolve this?
Has anyone else experienced a similar issue and can shed some light on what might be causing it?