Hey!

First, please shut off your HTML when you post to the E-list.  Just use
text-only.

The reason you are not getting any response to your question is
two-fold.  It reads like your are asking a DB SQL question in a forum
that is for servlet questions, and you don't give enough information of
your problem to allow for a solution.

I would guess though, that you have forgotten to do resultset.next()
before doing a getxxx().  But we can only guess at this stage without
more information from you.

Danny Rubis



Shon Bull wrote:

> Hello,
> I'm testing a servlet that runs correctly in my development
> environment but returns
> this when I attempt to run from the Netscape enterprise server:
>
> java.lang.NullPointerException: trying to call
> executeQuery(Ljava/lang/String;)Ljava/sql/Result at
> Eval2_svlt.doGet(Eval2_svlt.java:62) * at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:252) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:330) at
> sun.servlet.netscape.NSRunner.run(NSRunner.java:144) at
> netscape.server.applet.ServerApplet.handleRequest(ServerApplet.java:69)
> at
> netscape.server.applet.HttpApplet.handleRequest(HttpApplet.java:680)
>
> Any help would be greatly appreciated.
> Thanks in advance.
>
>
>    ----------------------------------------------------------------
> Hello,
> I'm testing a servlet that runs correctly in my development
> environment but returns this when I attempt to run from the Netscape
> enterprise server:
>
> java.lang.NullPointerException: trying to call
> executeQuery(Ljava/lang/String;)Ljava/sql/Result at
> Eval2_svlt.doGet(Eval2_svlt.java:62) * at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:252) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:330) at
> sun.servlet.netscape.NSRunner.run(NSRunner.java:144) at
>
> etscape.server.applet.ServerApplet.handleRequest(ServerApplet.java:69)
> at
> netscape.server.applet.HttpApplet.handleRequest(HttpApplet.java:680)
>
> Any help would be greatly appreciated.
> Thanks in advance.
>
>
>    ----------------------------------------------------------------
> +++
> This e-mail message and any attachments are confidential and may be
> privileged.  If you are not the intended recipient, please notify Hale
> and Dorr LLP immediately -- by replying to this message or by sending
> an e-mail to [EMAIL PROTECTED] -- and destroy all copies of this
> message and any attachments. Thank you.
>

___________________________________________________________________________
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