Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-1508

client subscription to an off-heap region that has small byte array value fails with IllegalStateException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0-incubating.M3
    • offheap
    • 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)

      Attachments

        Activity

          People

            dschneider Darrel Schneider
            dschneider Darrel Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: