There is no attachment available for the CompanyMasterServlet java program.
please send one so that there is possibility for pinpoint the exact error
position. from the error messages, in the doPost method you are trying to
invoke method on object which is not instantiated or it is equal to null.
jaya

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Moloy
Biswas
Sent: Thursday, January 20, 2000 2:21 PM
To: [EMAIL PROTECTED]
Subject: SERIOUS SERVLET PROBLEM
Importance: High


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

___________________________________________________________________________
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