java.lang.ClassCastException: com.gemstone.gemfire.internal.cache.EntrySnapshot cannot be cast to com.gemstone.gemfire.internal.cache.LocalRegion$NonTXEntry

Stack Overflow | Xiawei Zhang | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Running Gemfire Query during Transaction on field without Query Index

    Stack Overflow | 5 months ago | Xiawei Zhang
    java.lang.ClassCastException: com.gemstone.gemfire.internal.cache.EntrySnapshot cannot be cast to com.gemstone.gemfire.internal.cache.LocalRegion$NonTXEntry

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.gemstone.gemfire.internal.cache.EntrySnapshot cannot be cast to com.gemstone.gemfire.internal.cache.LocalRegion$NonTXEntry

      at com.gemstone.gemfire.internal.cache.EntriesSet$EntriesIterator.moveNext()
    2. com.gemstone.gemfire
      DefaultQuery.execute
      1. com.gemstone.gemfire.internal.cache.EntriesSet$EntriesIterator.moveNext(EntriesSet.java:183)
      2. com.gemstone.gemfire.internal.cache.EntriesSet$EntriesIterator.<init>(EntriesSet.java:121)
      3. com.gemstone.gemfire.internal.cache.EntriesSet.iterator(EntriesSet.java:85)
      4. com.gemstone.gemfire.cache.query.internal.ResultsCollectionWrapper.iterator(ResultsCollectionWrapper.java:181)
      5. com.gemstone.gemfire.cache.query.internal.QRegion.iterator(QRegion.java:225)
      6. com.gemstone.gemfire.cache.query.internal.CompiledSelect.doNestedIterations(CompiledSelect.java:712)
      7. com.gemstone.gemfire.cache.query.internal.CompiledSelect.doIterationEvaluate(CompiledSelect.java:577)
      8. com.gemstone.gemfire.cache.query.internal.CompiledSelect.evaluate(CompiledSelect.java:413)
      9. com.gemstone.gemfire.cache.query.internal.DefaultQuery.executeUsingContext(DefaultQuery.java:529)
      10. com.gemstone.gemfire.cache.query.internal.DefaultQuery.execute(DefaultQuery.java:365)
      10 frames