问题描述
2009-10-2622:08:21org.apache.catalina.core.StandardWrapperValveinvoke严重:Servlet.service()forservletregisterthrewexceptionorg.apache.jasper.JasperException:Attemptedabeanoperationonanullobject.atorg.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(JspRuntimeLibrary.java:600)atorg.apache.jsp.success_jsp._jspService(success_jsp.java:63)atorg.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:803)atorg.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)atorg.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)atorg.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:803)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)atorg.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)atorg.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)atorg.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)atorg.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)atmyservlet.control.HandleRegister.doPost(HandleRegister.java:79)atmyservlet.control.HandleRegister.doGet(HandleRegister.java:83)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:690)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:803)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)atorg.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)atorg.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)atorg.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)atorg.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)atorg.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)atjava.lang.Thread.run(UnknownSource)
解决方案
解决方案二:
到success_jsp.java中的第63行看看,是不是有一个空的对象:atorg.apache.jsp.success_jsp._jspService(success_jsp.java:63)
解决方案三:
org.apache.jasper.JasperException:Attemptedabeanoperationonanullobject.anullobject
解决方案四:
Attemptedabeanoperationonanullobject.atorg.apache.jsp.success_jsp._jspService(success_jsp.java:63)success.jsp中被传入了nullobject