You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Swapnil Bawaskar (JIRA)" <ji...@apache.org> on 2016/03/15 02:19:33 UTC
[jira] [Updated] (GEODE-1099) NPE thrown from
TXManagerImpl.isDistributed() when distributed system is shutting down
[ https://issues.apache.org/jira/browse/GEODE-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Swapnil Bawaskar updated GEODE-1099:
------------------------------------
Attachment: TXManagerImplNPE.diff
Attaching a simple test that re-produces the issue.
> NPE thrown from TXManagerImpl.isDistributed() when distributed system is shutting down
> --------------------------------------------------------------------------------------
>
> Key: GEODE-1099
> URL: https://issues.apache.org/jira/browse/GEODE-1099
> Project: Geode
> Issue Type: Bug
> Components: transactions
> Reporter: Swapnil Bawaskar
> Attachments: TXManagerImplNPE.diff
>
>
> When the distributed system is shutting down, TXManagerImpl.isDistributed() can throw the below NPE:
> {noformat}
> java.lang.NullPointerException
> at com.gemstone.gemfire.internal.cache.TXManagerImpl.isDistributed(TXManagerImpl.java:1507)
> at com.gemstone.gemfire.internal.cache.TXManagerImpJUnitTest.testIsDistributed(TXManagerImpJUnitTest.java:339)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {noformat}
> Since the cache is closing down, a CacheClosedException should be thrown instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)