You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2013/01/28 10:29:13 UTC
[jira] [Created] (TAP5-2059) Bridging to undefined clojure methods
may throw NullPointerException
Jochen Kemnade created TAP5-2059:
------------------------------------
Summary: 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
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