You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dick Cavender (Jira)" <ji...@apache.org> on 2019/09/26 18:03:08 UTC

[jira] [Closed] (GEODE-6651) NPE for transaction read in partition regions with detectReadConflicts

     [ https://issues.apache.org/jira/browse/GEODE-6651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dick Cavender closed GEODE-6651.
--------------------------------

> NPE for transaction read in partition regions with detectReadConflicts
> ----------------------------------------------------------------------
>
>                 Key: GEODE-6651
>                 URL: https://issues.apache.org/jira/browse/GEODE-6651
>             Project: Geode
>          Issue Type: Bug
>          Components: transactions
>            Reporter: Mario Ivanac
>            Assignee: Mario Ivanac
>            Priority: Major
>              Labels: SmallFeature
>             Fix For: 1.10.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Hi, 
> we are using transactional reads and setting detectReadConflicts to true to ensure Isolation, as it is described in Apache Geode documentation.
> Only read operations are performed in transaction.
> This is working properly for replicated region but not for partitioned region. In the case of partitioned region, when we do the transaction commit we get the following Exception:
> terminate called after throwing an instance of 'apache::geode::client::Exception'
>   what():  java.lang.NullPointerException
>  at org.apache.geode.internal.cache.BucketRegion.getAdjunctReceivers(BucketRegion.java:1957)
>  at org.apache.geode.internal.cache.TXState.attachFilterProfileInformation(TXState.java:566)
>  at org.apache.geode.internal.cache.TXState.commit(TXState.java:478)
>  at org.apache.geode.internal.cache.TXStateProxyImpl.commit(TXStateProxyImpl.java:209)
>  at org.apache.geode.internal.cache.TXManagerImpl.commit(TXManagerImpl.java:409)
>  at org.apache.geode.internal.cache.tier.sockets.command.CommitCommand.commitTransaction(CommitCommand.java:95)
>  at org.apache.geode.internal.cache.tier.sockets.command.CommitCommand.cmdExecute(CommitCommand.java:83)
>  at org.apache.geode.internal.cache.tier.sockets.BaseCommand.execute(BaseCommand.java:172)
>  at org.apache.geode.internal.cache.tier.sockets.ServerConnection.doNormalMessage(ServerConnection.java:844)
>  at org.apache.geode.internal.cache.tier.sockets.OriginalServerConnection.doOneMessage(OriginalServerConnection.java:74)
>  at org.apache.geode.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1214)
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at org.apache.geode.internal.cache.tier.sockets.AcceptorImpl.lambda$initializeServerConnectionThreadPool$3(AcceptorImpl.java:594)
>  at org.apache.geode.internal.logging.LoggingThreadFactory.lambda$newThread$0(LoggingThreadFactory.java:121)
>  at java.lang.Thread.run(Thread.java:748)
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)