[ 
https://issues.apache.org/jira/browse/GEODE-3299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kenneth Howe reopened GEODE-3299:
---------------------------------

Additional testing has shown cases where FunctionContext.getCache() returns 
null, resulting in unexpected NullPointerExceptions.

> Gfsh functions should acquire Cache from FunctionContext
> --------------------------------------------------------
>
>                 Key: GEODE-3299
>                 URL: https://issues.apache.org/jira/browse/GEODE-3299
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>            Reporter: Kirk Lund
>            Assignee: Kenneth Howe
>             Fix For: 1.4.0
>
>
> Gfsh functions in geode-core 
> org.apache.geode.management.internal.cli.functions currently acquire a 
> reference to the Cache in several ways including from a singleton in 
> CacheFactory which is prone to deadlocking. They should be modified to 
> uniformly acquire the Cache from FunctionContext instead.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to