Whether or not the exception could provide more specific information is a question for the Tomcat developers (Jasper is part of Tomcat, not Struts). My guess is that it would be non-trivial, but I encourage you to head over to tomcat-user and ask, since better error reporting is always a good thing ;-)

L.

Murray Collingwood wrote:
Hi all

I came across this message this afternoon. I've tried stepping through with the debugger but can't seem to work out why I keep getting this error. The code appears to be okay, the bean and property are set correctly. I'm assuming it is something in my "display.jsp" file but there is nothing obvious - it seems to fail after I have updated some related tables. Normal display of the data is working okay. Do you think the error message could tell me which property it was trying to retrieve from which bean? The message is:

type Exception report

message description The server encountered an internal error () that prevented it from fulfilling this request.

exception
org.apache.jasper.JasperException: Attempted a bean operation on a null object.
        
org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(JspRuntimeLibrary.ja
va:601)
        
org.apache.jsp.WEB_002dINF.pages.tours.display_jsp._jspService(display_jsp.java:18
9)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
        
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
        
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.ja
va:386)
        
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
        org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)


Kind regards
mc


FOCUS Computing
Mob: 0415 24 26 24
[EMAIL PROTECTED]
http://www.focus-computing.com.au





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to