[jira] [Updated] (JEXL-239) Add NPE check to property for MapGetExecutor
[ https://issues.apache.org/jira/browse/JEXL-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Biestro updated JEXL-239: --- Fix Version/s: 3.0 > Add NPE check to property for MapGetExecutor > > > Key: JEXL-239 > URL: https://issues.apache.org/jira/browse/JEXL-239 > Project: Commons JEXL > Issue Type: Improvement >Affects Versions: 2.1.1 >Reporter: Bruno P. Kinoshita >Assignee: Henri Biestro >Priority: Minor > Fix For: 3.0 > > > From GitHub pull request #2 https://github.com/apache/commons-jexl/pull/2 > {quote} > When the MapGetExecutor is init by the key null, the property of > MapGetExecutor will be null. > If the MapGetExecutor is cached and the key is changed (like map[index]), > there will throw an NPE. > I think the intention for the condition is to compare the class > compatibility, so I add the NPE check here. > {quote} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (JEXL-239) Add NPE check to property for MapGetExecutor
[ https://issues.apache.org/jira/browse/JEXL-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Biestro updated JEXL-239: --- Assignee: Henri Biestro > Add NPE check to property for MapGetExecutor > > > Key: JEXL-239 > URL: https://issues.apache.org/jira/browse/JEXL-239 > Project: Commons JEXL > Issue Type: Improvement >Affects Versions: 2.1.1 >Reporter: Bruno P. Kinoshita >Assignee: Henri Biestro >Priority: Minor > > From GitHub pull request #2 https://github.com/apache/commons-jexl/pull/2 > {quote} > When the MapGetExecutor is init by the key null, the property of > MapGetExecutor will be null. > If the MapGetExecutor is cached and the key is changed (like map[index]), > there will throw an NPE. > I think the intention for the condition is to compare the class > compatibility, so I add the NPE check here. > {quote} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (JEXL-239) Add NPE check to property for MapGetExecutor
[ https://issues.apache.org/jira/browse/JEXL-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Biestro updated JEXL-239: --- Affects Version/s: 2.1.1 > Add NPE check to property for MapGetExecutor > > > Key: JEXL-239 > URL: https://issues.apache.org/jira/browse/JEXL-239 > Project: Commons JEXL > Issue Type: Improvement >Affects Versions: 2.1.1 >Reporter: Bruno P. Kinoshita >Priority: Minor > > From GitHub pull request #2 https://github.com/apache/commons-jexl/pull/2 > {quote} > When the MapGetExecutor is init by the key null, the property of > MapGetExecutor will be null. > If the MapGetExecutor is cached and the key is changed (like map[index]), > there will throw an NPE. > I think the intention for the condition is to compare the class > compatibility, so I add the NPE check here. > {quote} -- This message was sent by Atlassian JIRA (v6.4.14#64029)