Greetings all...
I consistantly get the following exception when trying to use Servlet.log() in the
latest version of the JWSDK. If I use ServletContext.log(), everything seems to work.
Error: 500
Internal Servlet Error:
java.lang.NullPointerException
at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:201)
at javax.servlet.GenericServlet.log(GenericServlet.java:319)
at RoutingServlet.doGet(RoutingServlet.java:76)
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.Context.handleRequest(Context.java:414)
at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:139)
It appears as if something is not initialized correctly in the GenericServlet. Is this
something I (as a developer) should be initializing, or is this just a bug?
- Paul Philion
___________________________________________________________________________
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