Re: interesting java.lang.NullPointerException error when first viewing an index.jsp page - refresh once and page loads correctly

2003-01-10 Thread Pulat Yunusov
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:   
For additional commands, e-mail: 




Re: "Servlet unavailable" discussion

2002-12-01 Thread Pulat Yunusov
It's a good point, thanks. I guess this behavior is standard for contexts not 
reloadable automatically.
Paul

On Sunday 01 December 2002 01:28 pm, Reynir Hübner wrote:
> I've have got this error, when a class that the servlet uses has changed.
>
> If a class that the servlet relies on has been changed and compiled
> afterwards the servlet was compiled it may report as unavailable. Because
> this is an error you should get at compile time, but not runtime.
>
> There may be other reasons, such as reliant class missing in classpath etc.
>
> Hope it helps
> -reynir
>
> > -Original Message-
> > From: Paul Yunusov [mailto:[EMAIL PROTECTED]]
> > Sent: 1. desember 2002 15:02
> > To: [EMAIL PROTECTED]
> > Subject: "Servlet unavailable" discussion
> >
> >
> > Hello,
> >
> > I  was wondering what, in general, can cause a servlet to be
> > "unavailable" as
> > reported by a StandardWrapperValve of Tomcat 4.1.12.
> > Thanks,
> > Paul
> >
> > --
> > To unsubscribe, e-mail:
> >  [EMAIL PROTECTED]>
> > For
> > additional commands,
> > e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: