You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/02/08 02:57:07 UTC

[jira] Closed: (TAPESTRY-2114) Boolean property named 'getX' used in .tml causes NPE

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

Howard M. Lewis Ship closed TAPESTRY-2114.
------------------------------------------

    Resolution: Cannot Reproduce

I've added a test to prove this invalid.

A stack trace would be helpful if you are still getting this error.  I can't explain it.

> 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
>            Assignee: Howard M. Lewis Ship
>            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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org