You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org> on 2007/06/19 03:30:25 UTC

[jira] Closed: (TAPESTRY-1587) Script assets without a DTD result in a Server Error 500

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

Jesse Kuhnert closed TAPESTRY-1587.
-----------------------------------

       Resolution: Duplicate
    Fix Version/s: 4.1.2
         Assignee: Jesse Kuhnert

This has been fixed in version 4.1.2 already.  Thanks for posting the bug report either way though. 

> 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
>            Assignee: Jesse Kuhnert
>             Fix For: 4.1.2
>
>
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org