Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In GemFireCacheImpl.initialize(), it is possible that an uncaught exception is not logged and close the cache.
try { if (!isClient) { applyJarAndXmlFromClusterConfig(); } initializeDeclarativeCache(); completedCacheXml = true; } catch (RuntimeException e) { logger.error("Cache initialization for " + this.toString() + " failed because:", e); throw e; } finally { if (!completedCacheXml) { // so initializeDeclarativeCache threw an exception try { close(); } catch (Throwable ignore) { // I don't want init to throw an exception that came from the close. // I want it to throw the original exception that came from initializeDeclarativeCache. } configurationResponse = null; }
Attachments
Attachments
Issue Links
- links to