Script assets without a DTD result in a Server Error 500
--------------------------------------------------------
Key: TAPESTRY-1587
URL: https://issues.apache.org/jira/browse/TAPESTRY-1587
Project: Tapestry
Issue Type: Bug
Components: Framework, JavaScript
Affects Versions: 4.1.1
Environment: Windows Vista / Jetty
Reporter: Marco Von Ballmoos
The exception handler in Script.java (line 138-142) accesses the binding,
resulting in an NPE:
throw new ApplicationRuntimeException(ex.getMessage(), this,
getBinding("script").getLocation(), ex);
In the snippet above, "getBinding("script")" returns null. I'm not sure what
the best way is to fix this, but the server crash right now is extremely ugly
since there is NO indication what the problem is.
--
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]