Yes, I think i see what you are saying.. but I think if we examined line 538 of
UploadTestServlet.java, we should be able to track the object which is null..
Probably the file that is being uploaded itself? Since, according to Vijay, this
servlet seems to work on another server..
Geeta
"Prabhu, Deepak" wrote:
> Looking at the problem Geeta..with the exceptions having a top down approach
> and the first line showing a NullPointerException in the doPost method, I
> guess one of the parameters passed to doPost is null and is not being
> handled properly.
> Maybe Vijay you would like to have a look at all the request parameters
> passed to the servlet.
>
> Deepak
> -----Original Message-----
> From: Geeta Ramani [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 07, 2000 10:39 AM
> To: [EMAIL PROTECTED]
> Subject: Re: File Upload...
>
> Hmm.. certainly *didn't* mean to sound arrogant. In fact I really did want
> to
> know what that line of code said: the idea being we could probably then
> figure
> out what the null pointer exception was about. Hopefully this is just the
> Monday
> morning blues..??!
>
> Geeta
>
> Daljit Singh Dhillon wrote:
>
> > Geeta if you know the answer, why don't you yourself write the answer
> > directly, instead of such indirect arrogant way .
> >
> > If you don't have time for questions that sound stupid to you please don't
> > respond to them, but why do you want to be oversmart.
> >
> > Bhul chuk shama kare parantu, "Vidya vinay shobhate" means Knowledge only
> > suit to humble beings.
> >
> > Regards,
> > Daljit
> > =======================
> > It's never too late to begin
> > =======================
> > ----- Original Message -----
> > From: Geeta Ramani <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, August 07, 2000 6:55 PM
> > Subject: Re: File Upload...
> >
> > > Vijay:
> > >
> > > What does line 538 (of UploadTestServlet.java) say?
> > >
> > > Geeta
> > >
> > > Yashaswi Bhat wrote:
> > >
> > > > Hi all,
> > > >
> > > > I am getting the following exception while trying to uload a file
> using
> > Jason
> > > > Hunter's classes.
> > > >
> > > >
> ************************************************************************
> > > > java.lang.NullPointerException
> > > > at UploadTestServlet.doPost(UploadTestServlet.java, Compiled
> > Code)
> > > > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:538)
> > > > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:611)
> > > > at com.livesoftware.jrun.JRun.runServlet(JRun.java, Compiled
> > Code)
> > > > at
> > com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java)
> > > > at
> > com.livesoftware.jrun.JRunGeneric.handleProxyConnection(JRunGeneric.java)
> > > > at
> > > >
> >
> com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(JR
> > unProxyServiceHandler.java)
> > > > at
> > > >
> >
> com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.ja
> > va,
> > > > Compiled Code)
> > > >
> > *************************************************************************
> > > >
> > > > Please help asap. The same servlet is running fine on another machine.
> > (Both
> > > > these machines are NT Servers).
> > > >
> > > > Regards,
> > > > Vijay.
> > > >
> > > > ____________________________________________________________________
> > > > Get free email and a permanent address at http://www.amexmail.com/?A=1
> > > >
> > > >
> >
> ___________________________________________________________________________
> > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > > > of the message "signoff SERVLET-INTEREST".
> > > >
> > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > > > Resources:
> http://java.sun.com/products/servlet/external-resources.html
> > > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> > >
> > >
> >
> ___________________________________________________________________________
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > > of the message "signoff SERVLET-INTEREST".
> > >
> > > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > > Resources: http://java.sun.com/products/servlet/external-resources.html
> > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
> >
> ___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html