geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swapnil Bawaskar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-3377) A client subscription queue can fail to get its initial image from another member with a NullPointerException if gemfire.PREFER_SERIALIZED=true
Date Thu, 12 Oct 2017 07:27:24 GMT

     [ https://issues.apache.org/jira/browse/GEODE-3377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Swapnil Bawaskar updated GEODE-3377:
------------------------------------
    Fix Version/s: 1.3.0

> A client subscription queue can fail to get its initial image from another member with
a NullPointerException if gemfire.PREFER_SERIALIZED=true
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-3377
>                 URL: https://issues.apache.org/jira/browse/GEODE-3377
>             Project: Geode
>          Issue Type: Bug
>          Components: client queues
>            Reporter: Barry Oglesby
>             Fix For: 1.3.0
>
>
> The exception is:
> {noformat}
> [warning 2017/07/31 11:56:42.575 PDT server-3 <Handshaker 0.0.0.0/0.0.0.0:59396 Thread
0> tid=0x55] Initialization failed for Region /_gfe_non_durable_client_with_id_(client:42713:loner):59369:a17e019a:client_2_queue
> org.apache.geode.ToDataException: toData failed on DataSerializable class org.apache.geode.internal.cache.tier.sockets.HAEventWrapper
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.InternalDataSerializer.invokeToData(InternalDataSerializer.java:2329)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.InternalDataSerializer.writeDSFID(InternalDataSerializer.java:1406)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.InternalDataSerializer.basicWriteObject(InternalDataSerializer.java:2067)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.DataSerializer.writeObject(DataSerializer.java:2936)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.util.BlobHelper.serializeToBlob(BlobHelper.java:53)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.EntryEventImpl.serialize(EntryEventImpl.java:1969)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.EntryEventImpl.serialize(EntryEventImpl.java:1955)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.PreferBytesCachedDeserializable.<init>(PreferBytesCachedDeserializable.java:69)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.CachedDeserializableFactory.create(CachedDeserializableFactory.java:82)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.AbstractRegionMap.initialImagePut(AbstractRegionMap.java:780)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.InitialImageOperation.processChunk(InitialImageOperation.java:928)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.InitialImageOperation$ImageProcessor.process(InitialImageOperation.java:1249)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.distributed.internal.ReplyMessage.process(ReplyMessage.java:213)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.InitialImageOperation$ImageReplyMessage.process(InitialImageOperation.java:2725)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.distributed.internal.ReplyMessage.dmProcess(ReplyMessage.java:193)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.distributed.internal.ReplyMessage.process(ReplyMessage.java:186)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:374)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:440)
> 	at Remote Member '(server-3:42728)<v9>:1027' in java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at Remote Member '(server-3:42728)<v9>:1027' in java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.distributed.internal.DistributionManager.runUntilShutdown(DistributionManager.java:665)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.distributed.internal.DistributionManager$5$1.run(DistributionManager.java:961)
> 	at Remote Member '(server-3:42728)<v9>:1027' in java.lang.Thread.run(Thread.java:745)
> 	at org.apache.geode.distributed.internal.ReplyException.handleAsUnexpected(ReplyException.java:85)
> 	at org.apache.geode.internal.cache.InitialImageOperation.getFromOne(InitialImageOperation.java:501)
> 	at org.apache.geode.internal.cache.DistributedRegion.getInitialImageAndRecovery(DistributedRegion.java:1214)
> 	at org.apache.geode.internal.cache.DistributedRegion.initialize(DistributedRegion.java:1056)
> 	at org.apache.geode.internal.cache.HARegion.initialize(HARegion.java:340)
> 	at org.apache.geode.internal.cache.GemFireCacheImpl.createVMRegion(GemFireCacheImpl.java:3090)
> 	at org.apache.geode.internal.cache.HARegion.getInstance(HARegion.java:260)
> 	at org.apache.geode.internal.cache.ha.HARegionQueue.createHARegion(HARegionQueue.java:367)
> 	at org.apache.geode.internal.cache.ha.HARegionQueue.<init>(HARegionQueue.java:347)
> 	at org.apache.geode.internal.cache.ha.HARegionQueue$BlockingHARegionQueue.<init>(HARegionQueue.java:2100)
> 	at org.apache.geode.internal.cache.ha.HARegionQueue$DurableHARegionQueue.<init>(HARegionQueue.java:2331)
> 	at org.apache.geode.internal.cache.ha.HARegionQueue.getHARegionQueueInstance(HARegionQueue.java:1953)
> 	at org.apache.geode.internal.cache.tier.sockets.CacheClientProxy$MessageDispatcher.<init>(CacheClientProxy.java:2321)
> 	at org.apache.geode.internal.cache.tier.sockets.CacheClientProxy.initializeMessageDispatcher(CacheClientProxy.java:1730)
> 	at org.apache.geode.internal.cache.tier.sockets.CacheClientNotifier.initializeProxy(CacheClientNotifier.java:610)
> 	at org.apache.geode.internal.cache.tier.sockets.CacheClientNotifier.registerClient(CacheClientNotifier.java:537)
> 	at org.apache.geode.internal.cache.tier.sockets.CacheClientNotifier.registerGFEClient(CacheClientNotifier.java:330)
> 	at org.apache.geode.internal.cache.tier.sockets.CacheClientNotifier.registerClient(CacheClientNotifier.java:277)
> 	at org.apache.geode.internal.cache.tier.sockets.AcceptorImpl.handleNewClientConnection(AcceptorImpl.java:1444)
> 	at org.apache.geode.internal.cache.tier.sockets.AcceptorImpl$5.run(AcceptorImpl.java:1319)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NullPointerException
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.tier.sockets.HAEventWrapper.toData(HAEventWrapper.java:287)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.InternalDataSerializer.invokeToData(InternalDataSerializer.java:2299)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.InternalDataSerializer.writeDSFID(InternalDataSerializer.java:1406)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.InternalDataSerializer.basicWriteObject(InternalDataSerializer.java:2067)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.DataSerializer.writeObject(DataSerializer.java:2936)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.util.BlobHelper.serializeToBlob(BlobHelper.java:53)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.EntryEventImpl.serialize(EntryEventImpl.java:1969)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.EntryEventImpl.serialize(EntryEventImpl.java:1955)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.PreferBytesCachedDeserializable.<init>(PreferBytesCachedDeserializable.java:69)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.CachedDeserializableFactory.create(CachedDeserializableFactory.java:82)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.AbstractRegionMap.initialImagePut(AbstractRegionMap.java:780)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.InitialImageOperation.processChunk(InitialImageOperation.java:928)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.InitialImageOperation$ImageProcessor.process(InitialImageOperation.java:1249)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.distributed.internal.ReplyMessage.process(ReplyMessage.java:213)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.internal.cache.InitialImageOperation$ImageReplyMessage.process(InitialImageOperation.java:2725)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.distributed.internal.ReplyMessage.dmProcess(ReplyMessage.java:193)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.distributed.internal.ReplyMessage.process(ReplyMessage.java:186)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:374)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:440)
> 	at Remote Member '(server-3:42728)<v9>:1027' in java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at Remote Member '(server-3:42728)<v9>:1027' in java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.distributed.internal.DistributionManager.runUntilShutdown(DistributionManager.java:665)
> 	at Remote Member '(server-3:42728)<v9>:1027' in org.apache.geode.distributed.internal.DistributionManager$5$1.run(DistributionManager.java:961)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message