Let me add that this bug is reproducible in Glassfish 4.0 (not just Jetty).
Eirik.
On Fri, Feb 21, 2014 at 5:52 PM, Eirik Bjørsnøs <eirbjo_at_gmail.com> wrote:
> Hi!
>
> I've just filed: https://java.net/jira/browse/JSP-39
>
> This issue causes JSPs like this to fail with a NPE:
>
> <c:if test="${doesNotExist}">
> Nope
> </c:if>
>
> The bug is caused by Glassfish's Jasper not taking into account the
> type coercion change introduced in EL 3.0 for non-primitive types
> (now they're returned as null instead of false).
>
> This is a showstopper for us upgrading to Jetty 9.1.x.
>
> The "same" bug is already fixed in Tomcat 8 with a minor change. I've
> attached a patch for Glassfish JSP which fixes the NPE issue.
>
> Any chance someone from the Glassfish team can take a look at this?
>
> Thanks,
> Eirik.