You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Vadim Lotarev (JIRA)" <ji...@apache.org> on 2018/02/05 14:44:00 UTC
[jira] [Created] (GEODE-4573) Query execution within a transaction
(JTA) produces a ClassCastException in version 1.4.0
Vadim Lotarev created GEODE-4573:
------------------------------------
Summary: Query execution within a transaction (JTA) produces a ClassCastException in version 1.4.0
Key: GEODE-4573
URL: https://issues.apache.org/jira/browse/GEODE-4573
Project: Geode
Issue Type: Bug
Reporter: Vadim Lotarev
The stack trace is like that:
{code:java}
Caused by: java.lang.ClassCastException: org.apache.geode.internal.cache.TXEntry cannot be cast to org.apache.geode.internal.cache.LocalRegion$NonTXEntry (com.versonix.common.util.StdOutLogger:49)
at org.apache.geode.internal.cache.EntriesSet$EntriesIterator.moveNext(EntriesSet.java:179) (com.versonix.common.util.StdOutLogger:49)
at org.apache.geode.internal.cache.EntriesSet$EntriesIterator.<init>(EntriesSet.java:118) (com.versonix.common.util.StdOutLogger:49)
at org.apache.geode.internal.cache.EntriesSet.iterator(EntriesSet.java:83) (com.versonix.common.util.StdOutLogger:49)
at org.apache.geode.cache.query.internal.ResultsCollectionWrapper.iterator(ResultsCollectionWrapper.java:184) (com.versonix.common.util.StdOutLogger:49)
at org.apache.geode.cache.query.internal.QRegion.iterator(QRegion.java:244) (com.versonix.common.util.StdOutLogger:49)
at org.apache.geode.cache.query.internal.CompiledSelect.doNestedIterations(CompiledSelect.java:834) (com.versonix.common.util.StdOutLogger:49)
at org.apache.geode.cache.query.internal.CompiledSelect.doIterationEvaluate(CompiledSelect.java:701) (com.versonix.common.util.StdOutLogger:49)
at org.apache.geode.cache.query.internal.CompiledSelect.evaluate(CompiledSelect.java:545) (com.versonix.common.util.StdOutLogger:49)
at org.apache.geode.cache.query.internal.CompiledSelect.evaluate(CompiledSelect.java:55) (com.versonix.common.util.StdOutLogger:49)
at org.apache.geode.cache.query.internal.DefaultQuery.executeUsingContext(DefaultQuery.java:557) (com.versonix.common.util.StdOutLogger:49)
at org.apache.geode.cache.query.internal.DefaultQuery.execute(DefaultQuery.java:384) (com.versonix.common.util.StdOutLogger:49)
{code}
When property {{-Dgemfire.restoreSetOperationTransactionBehavior=true}} is set than everything works without errors.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)