tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Rodak" <bro...@cmcflex.com>
Subject RE: interesting java.lang.NullPointerException error when first viewing an index.jsp page - refresh once and page loads correctly
Date Fri, 10 Jan 2003 22:49:27 GMT
Paul,

Here is a link to the Java - http://www.flex-internet.com/java.txt

Thanks again for your help

Brandon Rodak
Web Services
Computer Marketing Corporation
http://www.cmcflex.com & http://www.flex-internet.com

-----Original Message-----
From: Pulat Yunusov [mailto:pyunusov@rogers.com]
Sent: Friday, January 10, 2003 3:13 PM
To: Tomcat Users List
Subject: Re: interesting java.lang.NullPointerException error when first
viewing an index.jsp page - refresh once and page loads correctly


On Friday 10 January 2003 04:40 pm, Brandon Rodak wrote:
> Paul,
>
> You can view the source of the page at
> http://www.flex-internet.com/source.txt
>
> and the full error and stack trace (?) at
> http://www.flex-internet.com/error.txt
>
> Thanks for the help,
>
> Brandon Rodak
> Web Services
> Computer Marketing Corporation
> http://www.cmcflex.com & http://www.flex-internet.com

Brandon, I meant you could look at index$jsp.java (line 75) mentioned in the
NPE stacktrace to look for clues. It's in your Tomcat's work directory
hierarchy. Can you post it too?

I am almost certain the problem is in that scriptlet at the top of the page
but without looking at the generated servlet's line 75, I can't tell which
null reference causes the NPE. The elders were right to caution against
scriptlets after all.

Paul

--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message