Boolean property named 'getX' used in .tml causes NPE
-----------------------------------------------------

                 Key: TAPESTRY-2114
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2114
             Project: Tapestry
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.0.7
         Environment: Jetty, Tapestry 5.0.7, WinXP
            Reporter: Szemere
            Priority: Minor


If you have a getter like
boolean getReportNotNull() in the page java file and reference it in the .tml 
file as:
<t:if test="reportNotNull">
then Tapestry parses it okay and validates fine, but it blows up with an NPE 
when it comes to render.

A clear solution is to always name it isReportNotNull, but I believe the error 
reporting should be better and this may be symptomatic of a larger issue.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to