严重: Servlet.service() for servlet jsp threw exception 10

严重:Servlet.service()forservletjspthrewexceptionjava.lang.NullPointerExceptionatjava.n... 严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at java.net.URLEncoder.encode(Unknown Source)
at java.net.URLEncoder.encode(Unknown Source)
at org.apache.jsp.querycone_jsp._jspService(querycone_jsp.java:413)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at ser.coneSer.doPost(coneSer.java:92)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
2014-7-19 15:05:02 org.apache.catalina.core.StandardWrapperValve invoke
展开
 我来答
前田优
2014-07-19 · 超过58用户采纳过TA的回答
知道答主
回答量:103
采纳率:0%
帮助的人:108万
展开全部
空指针异常,空指针异常非常常见,写代码要细心才能最大程度得避免空指针异常。至于排除问题,你可以根据调用堆栈查到你的jsp代码,一般通过代码走查就可以找到原因,不行就下断点调试吧。解决这类问题是基本功,加油!
这样可以么?
追问
能帮我远程调试下么?
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
灬若风灬
2014-07-19 · 超过16用户采纳过TA的回答
知道答主
回答量:40
采纳率:0%
帮助的人:21.3万
展开全部
空指针,querycone_jsp.java:413去这行看看方法,然后去dao里看看sql语句哪个是空,就可以解决
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式