Moloy,

Your error is telling you what you need to know:
You have a Null Pointer Exception error
In your doPost method.

You will need to either analyze your servlet to find
where the Null Pointer is and fix it or put in
System.out.println's in your servlet or do some kind
of logging to determine where it is to determine where
it is and fix it that way.

Also FYI, since the problem is in the Servlet -
attaching the HTML does no good and only uses up email
space.

Dave Updike
Sr. Consultant
Greenbrier & Russel, Inc. - Dallas, TX, USA



--- Moloy Biswas <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I am having a very serious problem with servlets. My
> Scenario is like
> this :
>
> I am having an HTML file (Company.html - attached
> with this mail) which
> is invoking a servlet (CompanyMasterServlet -
> aatached with this mail).
>
> When I am opening the html in the client end
> broswer, and after my input
>
> of data, I press submit which gives the BIG
> following errors
>
> 500 Internal Server Error
>
> The servlet named CompanyMasterServlet at the
> requested URL
>
>
> http://128.0.0.254:8080/servlet/CompanyMasterServlet
>
> reported this exception:
> java.lang.NullPointerException. Please report
> this to the administrator of the web server.
>
>      java.lang.NullPointerException at
> CompanyMasterServlet.doPost(Compiled Code) at
>
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
> at
>      javax.servlet.http.HttpServlet.service(Compiled
> Code) at
>
> com.sun.server.ServletState.callService(Compiled
> Code) at
>
>
com.sun.server.ServletManager.callServletService(Compiled
> Code) at
>
>
com.sun.server.http.servlet.InvokerServlet.service(Compiled
> Code)
> at
>      javax.servlet.http.HttpServlet.service(Compiled
> Code) at
>
> com.sun.server.ServletState.callService(Compiled
> Code) at
>
>
com.sun.server.ServletManager.callServletService(Compiled
> Code) at
>
>
com.sun.server.ProcessingState.invokeTargetServlet(Compiled
> Code)
> at
>
>
com.sun.server.http.HttpProcessingState.execute(Compiled
> Code) at
>
> com.sun.server.http.stages.Runner.process(Compiled
> Code) at
>
> com.sun.server.ProcessingSupport.process(Compiled
> Code) at
> com.sun.server.Service.process(Compiled  Code) at
>
com.sun.server.http.HttpServiceHandler.handleRequest(Compiled
> Code) at
>
>
com.sun.server.http.HttpServiceHandler.handleRequest(Compiled
> Code)
>
> at
>      com.sun.server.HandlerThread.run(Compiled Code)
>
>
> I NEED HELP VERY URGENTLY. THANK YOU in ADVANCE
>
> Moloy Biswas
> (Programmer - SREI (IT))
>
>
>
--------------------------------------------------------------
> SREI INTERNATIONAL FINANCE LTD., CALCUTTA, INDIA
>
>
___________________________________________________________________________
> 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
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

___________________________________________________________________________
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

Reply via email to