TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nullpointer



I am trying to run a servlet using jswd-1.0.1 and I get this error:

   Error: 500

Internal Servlet Error:

java.lang.NullPointerException
        at Setup.doGet(Setup.java, Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:715)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
        at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155)
        at
com.sun.web.core.InvokerServlet.service(InvokerServlet.java:168)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
        at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155)
        at com.sun.web.core.Context.handleRequest(Context.java:414)
        at
com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:139)

I have been scanning the java.sun.forum, but have had no luck.I don't
think it is my code, but of course it could be.Is it some type of config
thing? Anybody have any ideas? All the servlet does it take in
parameters from a HTML form, that is all right now until I get the thing
to work. There is an init() method, a dopost() that calls doGet() and a
destroy. The doGet takes in the parameters. Thanks.

erick