On Jun 20, 2007, at 7:58 PM, Bharath CP wrote:

>
> It has become a very difficult job to get to the root of jsp  
> exceptions. The
> stack trace's last reference to the code is
> "pageContext.handlePageException(_jsp_e);" in the compiled jsp
> (_hotel_0details_0base__jsp.java:483). And this line of code is in  
> the catch
> block. This line of code (pageContext.handlePageException(_jsp_e);)  
> is there
> in almost all jsps and it appears to me that all the exceptions  
> that occur
> are traced only from here though it is very clear that the  
> exception has
> happened elsewhere. It also doesnot say what kind of exception.

Your error reporting code needs to print out the entire stack trace.   
Wrapped exceptions normally report the getCause() exception as well,  
but it's possible for error reporting code to only print out the  
outer wrapper (which isn't particularly useful.)

-- Scott

>
> Can anyone help me understand how i get to the actual place where the
> exception is thrown or give me a link to some page or document that  
> might
> help in solving this problem.
>
> below is the stack trace:
>
> ERROR com.hcomemea.common.RESPONSEINFO 2007-06-19 16:58:11,956
> [tcpConnection-9021-4062] [nl_NL] [aM709nxLgu87] - Could not  
> process the
> request: /pageDetails.do
> javax.servlet.jsp.JspException: Exception thrown by getter for  
> property
> alternativeChoiceURI of bean alternativeHotelViewHelper
>         at
> com.caucho.jsp.QPageContext.handlePageException(QPageContext.java:669)
>         at
> _WEB_22dINF._HCOM_0APP._propertysearch._hotel_0details._hotel_0details 
> _0base__jsp._jspService(_hotel_0details_0base__jsp.java:483)
>         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
>         at com.caucho.jsp.Page.subservice(Page.java:506)
>         at
> com.caucho.server.http.FilterChainPage.doFilter 
> (FilterChainPage.java:182)
>         at com.caucho.server.http.Invocation.service 
> (Invocation.java:315)
>         at
> com.caucho.server.http.CacheInvocation.service(CacheInvocation.java: 
> 115)
>         at
> com.caucho.server.http.QRequestDispatcher.forward 
> (QRequestDispatcher.java:223)
>         at
> com.caucho.server.http.QRequestDispatcher.forward 
> (QRequestDispatcher.java:103)
>         at
> com.caucho.server.http.QRequestDispatcher.forward 
> (QRequestDispatcher.java:80)
>         at
> org.apache.struts.action.RequestProcessor.doForward 
> (RequestProcessor.java:1063)
>         at
> org.apache.struts.tiles.TilesRequestProcessor.doForward 
> (TilesRequestProcessor.java:263)
>         at
> org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition 
> (TilesRequestProcessor.java:239)
>         at
> org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig 
> (TilesRequestProcessor.java:302)
>         at
> org.apache.struts.action.RequestProcessor.process 
> (RequestProcessor.java:229)
>         at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java: 
> 1194)
>         at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java: 
> 126)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java: 
> 103)
>         at
> com.caucho.server.http.FilterChainServlet.doFilter 
> (FilterChainServlet.java:96)
>         at com.caucho.server.http.Invocation.service 
> (Invocation.java:315)
>         at
> com.caucho.server.http.CacheInvocation.service(CacheInvocation.java: 
> 115)
>         at
> com.caucho.server.http.QRequestDispatcher.forward 
> (QRequestDispatcher.java:223)
>         at
> com.caucho.server.http.QRequestDispatcher.forward 
> (QRequestDispatcher.java:103)
>
> -- 
> View this message in context: http://www.nabble.com/Hard-to-find- 
> the-root-of-the-exception.-tf3956243.html#a11225907
> Sent from the Resin mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to