Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When the distributed system is shutting down, TXManagerImpl.isDistributed() can throw the below NPE:
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)
Since the cache is closing down, a CacheClosedException should be thrown instead.