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

Jochen Kemnade updated TAP5-2059:
---------------------------------

    Attachment: 0001-Throw-an-exception-if-the-retrieved-Clojure-var-for-.patch
    
> Bridging to undefined clojure methods may throw NullPointerException
> --------------------------------------------------------------------
>
>                 Key: TAP5-2059
>                 URL: https://issues.apache.org/jira/browse/TAP5-2059
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-clojure
>    Affects Versions: 5.3.6, 5.4
>            Reporter: Jochen Kemnade
>            Priority: Minor
>              Labels: NullPointerException, assertion, clojure, patch
>         Attachments: 
> 0001-Throw-an-exception-if-the-retrieved-Clojure-var-for-.patch
>
>
> When bridging to an undefined clojure method, the `Var` lookup will return 
> `null`. When this `null` is injected into the `PlasticField`, either an 
> `AssertionError` will be thrown, or, if assertions are disabled, a 
> `NullPointerException` will eventually be thrown from somewhere deep in the 
> generated bytecode. A meaningful exception would be better in that case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to