Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
If a client subscribes to an off-heap region that has small byte array value then the server will fail to push the value to the client. The server log will contain this exception: java.lang.IllegalStateException: Expected importNewBytes to be called.
The call stack: at com.gemstone.gemfire.internal.cache.tier.sockets.ClientUpdateMessageImpl.importNewObject(ClientUpdateMessageImpl.java:1705)
at com.gemstone.gemfire.internal.cache.EntryEventImpl.exportNewValue(EntryEventImpl.java:1288)
at com.gemstone.gemfire.internal.cache.tier.sockets.CacheClientNotifier.initializeMessage(CacheClientNotifier.java:1140)
at com.gemstone.gemfire.internal.cache.tier.sockets.CacheClientNotifier.constructClientMessage(CacheClientNotifier.java:761)
at com.gemstone.gemfire.internal.cache.tier.sockets.CacheClientNotifier.singletonNotifyClients(CacheClientNotifier.java:824)
at com.gemstone.gemfire.internal.cache.tier.sockets.CacheClientNotifier.notifyClients(CacheClientNotifier.java:776)
at com.gemstone.gemfire.internal.cache.LocalRegion.notifyBridgeClients(LocalRegion.java:6496)
at com.gemstone.gemfire.internal.cache.LocalRegion.invokePutCallbacks(LocalRegion.java:6244)
at com.gemstone.gemfire.internal.cache.BucketRegion.invokePutCallbacks(BucketRegion.java:1668)
at com.gemstone.gemfire.internal.cache.EntryEventImpl.invokeCallbacks(EntryEventImpl.java:2513)
at com.gemstone.gemfire.internal.cache.AbstractRegionEntry.dispatchListenerEvents(AbstractRegionEntry.java:144)