Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1587

Script assets without a DTD result in a Server Error 500

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 4.1.1
    • 4.1.2
    • Framework, JavaScript
    • None
    • Windows Vista / Jetty

    Description

      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.

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            mvonballmo Marco Von Ballmoos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: