Re: NullPointerException for conditions in compiled JSPs

2013-09-11 Thread Arvīds Grabovskis
2013/9/11 Konstantin Kolinko > 2013/9/11 Arvīds Grabovskis : > > Hi, > > > > If JSP includes a line "Hello,world!" > > where "nonExisting" is attribute that does not exist, then > > NullPointerException will be thrown. The cause is at > > > http://svn.apache.org/repos/asf/tomcat/trunk/java/org/ap

Re: NullPointerException for conditions in compiled JSPs

2013-09-11 Thread Christopher Schultz
Arvīds, On 9/11/13 11:07 AM, Arvīds Grabovskis wrote: > 2013/9/11 Konstantin Kolinko > > > 2013/9/11 Arvīds Grabovskis >: > > Hi, > > > > If JSP includes a line " test="${nonExisting}">Hello,world!" >

Re: NullPointerException for conditions in compiled JSPs

2013-09-11 Thread Konstantin Kolinko
2013/9/11 Arvīds Grabovskis : > Hi, > > If JSP includes a line "Hello,world!" > where "nonExisting" is attribute that does not exist, then > NullPointerException will be thrown. The cause is at > http://svn.apache.org/repos/asf/tomcat/trunk/java/org/apache/jasper/compiler/JspUtil.java > at > line #

NullPointerException for conditions in compiled JSPs

2013-09-11 Thread Arvīds Grabovskis
Hi, If JSP includes a line "Hello,world!" where "nonExisting" is attribute that does not exist, then NullPointerException will be thrown. The cause is at http://svn.apache.org/repos/asf/tomcat/trunk/java/org/apache/jasper/compiler/JspUtil.java at line #421 which generates something like: ((java.la