You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "xiaojian zhou (JIRA)" <ji...@apache.org> on 2017/10/20 22:45:00 UTC
[jira] [Created] (GEODE-3886) PdxInstanceFactoryImpl should pass a
pdxRegistry as parameter in newCreator
xiaojian zhou created GEODE-3886:
------------------------------------
Summary: PdxInstanceFactoryImpl should pass a pdxRegistry as parameter in newCreator
Key: GEODE-3886
URL: https://issues.apache.org/jira/browse/GEODE-3886
Project: Geode
Issue Type: Bug
Reporter: xiaojian zhou
Currently, there're a lot of calling of PdxInstanceFactoryImpl.newCreator(name, expectDomainClass). Inside the method it will get InternalCache's instance, then call getForPdx(). If cache not exist, it will throw CacheClosedException.
This is bad coding. The pdxRegistry should be got before calling the method.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)