Debugging ?

Hello,

In the following error dump from SC, what is the best way to go about finding the cause of the error please?

Exception Handler

Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.

Exception Details: javax.servlet.ServletException

javax.faces.FacesException: java.sql.SQLException: execute() never called

Possible Source of Error:

Class Name: org.apache.jasper.runtime.PageContextImpl

File Name: PageContextImpl.java

Method Name: doHandlePageException

Line Number: 827

Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.

Stack Trace:

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl .java:827)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.j ava:763)

org.apache.jsp.Single_jsp._jspService(Single_jsp.java:99)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)

javax.servlet.http.HttpServlet.service(HttpServlet.java:860)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)

javax.servlet.http.HttpServlet.service(HttpServlet.java:860)

sun.reflect.GeneratedMethodAccessor107.invoke( Unknown Source )

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

java.lang.reflect.Method.invoke(Method.java:585)

org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)

Thanks very much!

BobK

[1858 byte] By [bobk5444] at [2007-11-26 9:47:22]
# 1
Try to use Log() method in your code and look at the sever log to find which line of code has problem
x_z at 2007-7-7 0:53:48 > top of Java-index,Development Tools,Java Tools...