Jetty
  1. Jetty
  2. JETTY-419

Upgrade Jasper to get sensible compilation errors

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The current Jasper tag used in 6.1.5:
      SJSAS-9_1-B50G-BETA3-27_June_2007

      gives obscure NPE exception that hides the real messages.

      The problem has been encountered in other places.
      http://forums.java.net/jive/message.jspa?messageID=227424

      I can reproduce the error by having:
      include.jsp:
      <%
      foo // deliberately wrong
      %>

      foo.jsp:
      Hello world

      web.xml
      <jsp-property-group>
      <url-pattern>*.jsp</url-pattern>
      <page-encoding>UTF-8</page-encoding>
      <include-prelude>/include.jsp</include-prelude>
      </jsp-property-group>
      </jsp-config>

      Note that this is not the same as a previous issue (Jetty < 6.1.5) where a similar obscure ClassCastException was hiding the real error.

        Activity

        Hide
        Martin Algesten added a comment -

        Jetty 6.1.5 in JSP/Jasper component... ho humm...

        Show
        Martin Algesten added a comment - Jetty 6.1.5 in JSP/Jasper component... ho humm...
        Hide
        David Yu added a comment -

        Changes in head (rev 2072)
        Tag updated to SJSAS-9_1-B58C-FCS-22_Aug_2007

        Show
        David Yu added a comment - Changes in head (rev 2072) Tag updated to SJSAS-9_1-B58C-FCS-22_Aug_2007

          People

          • Assignee:
            David Yu
            Reporter:
            Martin Algesten
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: