[
https://issues.apache.org/jira/browse/GEODE-4882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16406851#comment-16406851
]
Bruce Schuchardt commented on GEODE-4882:
-----------------------------------------
This is due to some poorly thought out code in TypeRegistry that throws
CacheClosedException if there used to be a cache in the JVM and a PDXSerializer
was installed. The problem can be resolved by adding TypeRegistry.init() to
the setup method in this test.
> AnalyzeConnectorsSerializablesJUnitTest failing intermittently with
> CacheClosedException
> ----------------------------------------------------------------------------------------
>
> Key: GEODE-4882
> URL: https://issues.apache.org/jira/browse/GEODE-4882
> Project: Geode
> Issue Type: Bug
> Components: extensions, regions
> Reporter: Darrel Schneider
> Priority: Major
>
> The following failure has happened twice this week but not in a row. So this
> test is intermittently failing.
> {noformat}
> :geode-connectors:integrationTest
>
> org.apache.geode.codeAnalysis.AnalyzeConnectorsSerializablesJUnitTest >
> testSanctionedClassesExistAndDoDeserialize FAILED
> org.apache.geode.cache.CacheClosedException: Could not PDX serialize because
> the cache was closed
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)