HazelcastSerializationException: There is no suitable de-serializer for type 65536

1,016 views
Skip to first unread message

Martin Lichtin

unread,
Aug 24, 2016, 8:47:53 AM8/24/16
to Hazelcast
Seeing (only once so far) the following exception:

2016-08-24 12:57:09,611 | ERROR | tp-config.IO.thread-in-0 | NodeEngine | logging.Slf4jFactory$Slf4jLogger 68 | 157 - com.hazelcast - 3.6.4 | [127.0.0.1]:5801 [inucsys1-stp-config] [3.6.4] Failed to process packet:Packet{header=32, isResponse=false, isOperation=false, isEvent=false, partitionId=-1, conn=Connection [/127.0.0.1:5801 -> /127.0.0.1:53693], endpoint=null, alive=true, type=MEMBER}
com.hazelcast.nio.serialization.HazelcastSerializationException: There is no suitable de-serializer for type 65536. This exception is likely to be caused by differences in the serialization configuration between members or between clients and members.
        at com.hazelcast.internal.serialization.impl.AbstractSerializationService.newHazelcastSerializationException(AbstractSerializationService.java:183)[157:com.hazelcast:3.6.4]
        at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toObject(AbstractSerializationService.java:165)[157:com.hazelcast:3.6.4]
        at com.hazelcast.nio.tcp.TcpIpConnectionManager.handle(TcpIpConnectionManager.java:233)[157:com.hazelcast:3.6.4]
        at com.hazelcast.spi.impl.NodeEngineImpl$ConnectionManagerPacketHandler.handle(NodeEngineImpl.java:124)[157:com.hazelcast:3.6.4]
        at com.hazelcast.spi.impl.packetdispatcher.impl.PacketDispatcherImpl.dispatch(PacketDispatcherImpl.java:63)[157:com.hazelcast:3.6.4]
        at com.hazelcast.nio.tcp.MemberReadHandler.handlePacket(MemberReadHandler.java:75)[157:com.hazelcast:3.6.4]
        at com.hazelcast.nio.tcp.MemberReadHandler.onRead(MemberReadHandler.java:58)[157:com.hazelcast:3.6.4]
        at com.hazelcast.nio.tcp.nonblocking.NonBlockingSocketReader.handle(NonBlockingSocketReader.java:178)[157:com.hazelcast:3.6.4]
        at com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.handleSelectionKey(NonBlockingIOThread.java:329)[157:com.hazelcast:3.6.4]
        at com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.handleSelectionKeys(NonBlockingIOThread.java:314)[157:com.hazelcast:3.6.4]
        at com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.selectLoop(NonBlockingIOThread.java:234)[157:com.hazelcast:3.6.4]
        at com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.run(NonBlockingIOThread.java:187)[157:com.hazelcast:3.6.4]

The two JVMs with Hazelcast are running the exact same code and configuration.

mukul panwar

unread,
Aug 24, 2016, 10:52:22 AM8/24/16
to Hazelcast
Could you share the configuration for members and client.

Martin Lichtin

unread,
Aug 24, 2016, 1:55:34 PM8/24/16
to Hazelcast
Configuration from JMX:

Config{groupConfig=GroupConfig [name=inucsys1-stp-config, password=********], properties={hazelcast.jmx.detailed=true, hazelcast.logging.type=slf4j, hazelcast.jmx=true}, networkConfig=NetworkConfig{publicAddress='null', port=5801, portCount=100, portAutoIncrement=true, join=JoinConfig{multicastConfig=MulticastConfig [enabled=false, multicastGroup=224.2.2.3, multicastPort=54328, multicastTimeToLive=32, multicastTimeoutSeconds=2, trustedInterfaces=[], loopbackModeEnabled=false], tcpIpConfig=TcpIpConfig [enabled=true, connectionTimeoutSeconds=5, members=[127.0.0.1], requiredMember=null], awsConfig=AwsConfig{enabled=false, region='us-east-1', securityGroupName='null', tagKey='null', tagValue='null', hostHeader='ec2.amazonaws.com', iamRole='null', connectionTimeoutSeconds=5}, discoveryProvidersConfig=com.hazelcast.config.DiscoveryConfig@55ac4c79}, interfaces=InterfacesConfig{enabled=false, interfaces=[]}, sslConfig=null, socketInterceptorConfig=null, symmetricEncryptionConfig=null}, mapConfigs={*=MapConfig{name='*'', inMemoryFormat=BINARY', backupCount=1, asyncBackupCount=0, timeToLiveSeconds=0, maxIdleSeconds=0, evictionPolicy='NONE', evictionPercentage=25, minEvictionCheckMillis=100, maxSizeConfig=MaxSizeConfig{maxSizePolicy='PER_NODE', size=2147483647}, readBackupData=false, hotRestart=HotRestartConfig{enabled=false, fsync=false}, nearCacheConfig=null, mapStoreConfig=MapStoreConfig{enabled=true, className='null', factoryClassName='null', writeDelaySeconds=0, writeBatchSize=1, implementation=ch.xxx.CollectionLoader@5eff04a4, factoryImplementation=ch.xxx.LoaderFactory@11a8d2ed, properties={}, readOnly=null, initialLoadMode=EAGER, writeCoalescing=true}, mergePolicyConfig='com.hazelcast.map.merge.PutIfAbsentMapMergePolicy', wanReplicationRef=null, entryListenerConfigs=[], mapIndexConfigs=[], mapAttributeConfigs=[], quorumName=null, queryCacheConfigs=[], cacheDeserializedValues=INDEX_ONLY}}, topicConfigs={}, reliableTopicConfigs={}, queueConfigs={}, multiMapConfigs={}, executorConfigs={default=ExecutorConfig{name='default', poolSize=16, queueCapacity=2147483647}}, semaphoreConfigs={}, ringbufferConfigs={}, wanReplicationConfigs={}, listenerConfigs=[], partitionGroupConfig=PartitionGroupConfig{enabled=false, groupType=PER_MEMBER, memberGroupConfigs=[]}, managementCenterConfig=ManagementCenterConfig{enabled=false, url='null', updateInterval=3}, securityConfig=SecurityConfig{enabled=false, memberCredentialsConfig=CredentialsFactoryConfig{className='null', implementation=null, properties={}}, memberLoginModuleConfigs=[], clientLoginModuleConfigs=[], clientPolicyConfig=PermissionPolicyConfig{className='null', implementation=null, properties={}}, clientPermissionConfigs=[]}, liteMember=false}
Reply all
Reply to author
Forward
0 new messages