You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Bruce Schuchardt (JIRA)" <ji...@apache.org> on 2017/01/09 19:24:58 UTC
[jira] [Resolved] (GEODE-2277) client cache fails to deserialize a
PdxInstance due to InternalGemFireError
[ https://issues.apache.org/jira/browse/GEODE-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruce Schuchardt resolved GEODE-2277.
-------------------------------------
Resolution: Cannot Reproduce
I set up a 4-site WAN test that created a bunch of PDX types using Json documents but could not reproduce this problem in thousands of runs of the test using various tweaks such as small batch sizes and random delays in gateway sender threads.
Logging has been modified so that we will see the server-side movement of PDX types across WAN and within clusters, so if this happens again we ought to be able to tell what part of the system is malfunctioning.
> client cache fails to deserialize a PdxInstance due to InternalGemFireError
> ---------------------------------------------------------------------------
>
> Key: GEODE-2277
> URL: https://issues.apache.org/jira/browse/GEODE-2277
> Project: Geode
> Issue Type: Bug
> Components: serialization
> Reporter: Bruce Schuchardt
>
> In a WAN configuration using partitioned regions and parallel gateways a client in one of the clusters failed to deserialize a PdxInstance received from one of the other clusters.
> {noformat}
> [error 2016/12/09 22:59:00.930 EST edgegemfire_4_2_rs-intTest-rhel7-2016-12-09-21-33-28-client-12_28424 <Cache Client Updater Thread on rs-intTest-rhel7-2016-12-09-21-33-28-client-12(bridgegemfire_4_4_rs-intTest-rhel7-2016-12-09-21-33-28-client-12_28256:28256)<ec><v1>:1032 port 29079> tid=0x33] Exception occurred in CacheListener
> org.apache.geode.InternalGemFireError: Unable to determine PDXType for id 64307729
> at org.apache.geode.pdx.internal.ClientTypeRegistration.returnCorrectExceptionForFailure(ClientTypeRegistration.java:305)
> at org.apache.geode.pdx.internal.ClientTypeRegistration.getEnumById(ClientTypeRegistration.java:208)
> at org.apache.geode.pdx.internal.LonerTypeRegistration.getEnumById(LonerTypeRegistration.java:133)
> at org.apache.geode.pdx.internal.TypeRegistry.getEnumInfoById(TypeRegistry.java:430)
> at org.apache.geode.pdx.internal.TypeRegistry.getEnumById(TypeRegistry.java:406)
> at org.apache.geode.internal.InternalDataSerializer.readPdxEnum(InternalDataSerializer.java:2258)
> at org.apache.geode.internal.InternalDataSerializer.basicReadObject(InternalDataSerializer.java:3007)
> at org.apache.geode.DataSerializer.readObject(DataSerializer.java:2897)
> at org.apache.geode.pdx.internal.PdxInputStream.readObject(PdxInputStream.java:251)
> at org.apache.geode.pdx.internal.PdxInputStream.readObject(PdxInputStream.java:96)
> at org.apache.geode.pdx.internal.PdxReaderImpl.readObject(PdxReaderImpl.java:332)
> at org.apache.geode.pdx.internal.PdxReaderImpl.readObject(PdxReaderImpl.java:325)
> at util.VersionedValueHolder.myFromData(VersionedValueHolder.java:610)
> at util.PdxVersionedValueHolder.fromData(PdxVersionedValueHolder.java:117)
> at org.apache.geode.pdx.internal.PdxReaderImpl.basicGetObject(PdxReaderImpl.java:737)
> at org.apache.geode.pdx.internal.PdxReaderImpl.getObject(PdxReaderImpl.java:682)
> at org.apache.geode.internal.InternalDataSerializer.readPdxSerializable(InternalDataSerializer.java:3218)
> at org.apache.geode.internal.InternalDataSerializer.basicReadObject(InternalDataSerializer.java:3005)
> at org.apache.geode.DataSerializer.readObject(DataSerializer.java:2897)
> at org.apache.geode.internal.util.BlobHelper.deserializeBlob(BlobHelper.java:90)
> at org.apache.geode.internal.cache.EntryEventImpl.deserialize(EntryEventImpl.java:1891)
> at org.apache.geode.internal.cache.EntryEventImpl.deserialize(EntryEventImpl.java:1884)
> at org.apache.geode.internal.offheap.OffHeapStoredObject.getDeserializedValue(OffHeapStoredObject.java:447)
> at org.apache.geode.internal.cache.EntryEventImpl.lambda$getNewValue$1(EntryEventImpl.java:951)
> at org.apache.geode.internal.cache.EntryEventImpl.callWithOffHeapLock(EntryEventImpl.java:980)
> at org.apache.geode.internal.cache.EntryEventImpl.getNewValue(EntryEventImpl.java:946)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)