You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2018/03/24 19:33:00 UTC

[jira] [Resolved] (CONFIGURATION-689) NullPointerException in ExprLookup when not using variables

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

Oliver Heger resolved CONFIGURATION-689.
----------------------------------------
    Resolution: Not A Problem

Closing as it was confirmed that the current implementation does not cause any concrete problem.

> NullPointerException in ExprLookup when not using variables
> -----------------------------------------------------------
>
>                 Key: CONFIGURATION-689
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-689
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Interpolation
>    Affects Versions: 2.2
>            Reporter: Steven Paligo
>            Priority: Major
>
> When an ExprLookup instance is created with the default constructor, the "variables" object is null. During a lookup, initializeContext(JexlContext) iterates over "variables" which triggers a NullPointerException.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)