为了账号安全,请及时绑定邮箱和手机立即绑定

jsp页面有空指针

jsp页面有空指针

YI雪 2017-07-26 11:06:11
type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exceptionorg.apache.jasper.JasperException: An exception occurred processing JSP page /zhifubao/return_url.jsp at line 366363: String a[] = out_trade_no.split("z");  364: supplierSecurityMoney.setBidId(Integer.valueOf(a[0]));365: supplierSecurityMoney.setSecurityMoney(Double.valueOf(total_fee));366: supplierSecurityMoneyManager.saveSecurityMoney(supplierSecurityMoney);367: 368: 369: //鏇存柊璁㈠崟鐘舵�Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:96) com.csbex.bidwards.util.DomainFilter.doFilter(DomainFilter.java:56)root causejava.lang.NullPointerException com.csbex.bidwards.bidding.user.manager.SupplierSecurityMoneyManager.saveSecurityMoney(SupplierSecurityMoneyManager.java:53) org.apache.jsp.zhifubao.return_005furl_jsp._jspService(return_005furl_jsp.java:431) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:96) com.csbex.bidwards.util.DomainFilter.doFilter(DomainFilter.java:56)note The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.
查看完整描述

2 回答

?
产品经理不是经理

TA贡献481条经验 获得超143个赞

你页面怎么写的?


查看完整回答
反对 回复 2017-07-26
  • YI雪
    YI雪
    ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(request.getSession().getServletContext()); SupplierSecurityMoneyManager supplierSecurityMoneyManager = (SupplierSecurityMoneyManager)ctx.getBean("supplierSecurityMoneyManager"); SupplierSecurityMoney supplierSecurityMoney=new SupplierSecurityMoney(); String a[] = out_trade_no.split("z"); supplierSecurityMoney.setBidId(Integer.valueOf(a[0])); supplierSecurityMoney.setSecurityMoney(Double.valueOf(total_fee)); supplierSecurityMoneyManager.saveSecurityMoney(supplierSecurityMoney);
  • 2 回答
  • 0 关注
  • 1202 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信