hi guys
i'm facing a typical problem. i've written a servlet which tackes two
parameters from user as inupt and depending upon these parameters it makes a
database query and generates graph as gif image, using ACME gif encoder. the
problem is when i run this program with jswdk 1.0.1, it runs perfectly but i
got the following error when i tried it to run under java webserver 2.0
will anyone suggest any solution.
The servlet named HWGraphics at the requested URL
http://90.0.21.27/servlet/HWGraphics
reported this exception: java.lang.NullPointerException. Please report this
to the administrator of the web server.
java.lang.NullPointerException at HWGraphics.getData(Compiled Code) at
HWGraphics.doGet(HWGraphics.java:114) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:715) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at
com.sun.server.ServletState.callService(ServletState.java:226) at
com.sun.server.ServletManager.callServletService(ServletManager.java:936) at
com.sun.server.http.servlet.InvokerServlet.service(InvokerServlet.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at
com.sun.server.ServletState.callService(ServletState.java:226) at
com.sun.server.ServletManager.callServletService(ServletManager.java:936) at
com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423)
at
com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79)
at com.sun.server.http.stages.Runner.process(Runner.java:79) at
com.sun.server.ProcessingSupport.process(Compiled Code) at
com.sun.server.Service.process(Service.java:204) at
com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java
:374) at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code)
at com.sun.server.HandlerThread.run(Compiled Code)
thanks in advance
sayantan
___________________________________________________________________________
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