标题:[求助]JSP+TOMCAT+MYSQL弄的网站转到另一页时出现的异常
只看楼主
奥丁
Rank: 1
等 级:新手上路
帖 子:327
专家分:0
注 册:2006-10-18
结帖率:100%
 问题点数:0 回复次数:4 
[求助]JSP+TOMCAT+MYSQL弄的网站转到另一页时出现的异常

Error page error


An error occurred in the bean. Error Message is: null
Stack Trace is :
java.lang.NullPointerException
    at com.intacpurun.wsms.comm.Util.getCityList(Util.java:43)
    at org.apache.jsp.serviceintroduce_jsp._jspService(serviceintroduce_jsp.java:111)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    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:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:852)
    at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)
    at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
    at java.lang.Thread.run(Thread.java:619)




我在学校弄是可以运行的,回家来就不行了呢?
帮忙看下什么意思?

搜索更多相关主题的帖子: TOMCAT JSP MYSQL java apache 
2007-09-30 09:19
cssky
Rank: 1
等 级:新手上路
帖 子:26
专家分:0
注 册:2007-8-20
得分:0 
com.intacpurun. //报得很明显..它为空..
2007-09-30 09:24
奥丁
Rank: 1
等 级:新手上路
帖 子:327
专家分:0
注 册:2006-10-18
得分:0 
这里是得到数据库里的东西 是数据库没连好?
2007-09-30 10:01
luoxian_2003
Rank: 1
等 级:新手上路
威 望:2
帖 子:163
专家分:0
注 册:2006-2-22
得分:0 
检查下相应的字段名称是否写错了

天地有正气,凛烈万古存。
2007-09-30 10:43
ConZhang
Rank: 1
来 自:北京
等 级:新手上路
帖 子:282
专家分:0
注 册:2007-8-7
得分:0 
好像不是字段的事啊?

2007-10-10 12:09



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-174214-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.261888 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved