commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Faizan H Ali (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JEXL-138) Erroneous "inaccessible or unknown property" warning
Date Fri, 04 Dec 2015 00:06:10 GMT

    [ https://issues.apache.org/jira/browse/JEXL-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15039175#comment-15039175
] 

Faizan H Ali commented on JEXL-138:
-----------------------------------

Hey, any updates on a fix for this? 

> Erroneous "inaccessible or unknown property" warning
> ----------------------------------------------------
>
>                 Key: JEXL-138
>                 URL: https://issues.apache.org/jira/browse/JEXL-138
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>            Reporter: Kennard Consulting
>            Assignee: Henri Biestro
>             Fix For: 2.1.2, 3.0
>
>         Attachments: JexlTest.java
>
>
> JEXL displays an erroneous "inaccessible or unknown property" warning when you try to
access a property is both accessible, and known, but that happens to return null.
> Please see the attached test case. JEXL reports:
> {{'foo.bar;' inaccessible or unknown property foo}}
> But foo is clearly an accessible and known property because it is accessed directly 2
lines above, and 1 line above we access 'foo.baz' which works without error.
> The difference seems to be that getBaz() returns "baz" whereas getBar() returns null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message