Tomcat   错误代号500-   如何解决?

Tomcat   错误代号500-   如何解决?

这是我做的一个WEB项目打开时出的错误!!求各位高手给看看!在这先谢谢了!O(∩_∩)O哈哈~

type Exception report

message

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

exception

org.apache.jasper.JasperException: java.lang.NullPointerException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.bjsxt.shopping.util.filter.IPFilter.doFilter(IPFilter.java:31)


root cause

java.lang.NullPointerException
com.bjsxt.shopping.category.CategoryService.getCategories(CategoryService.java:102)
org.apache.jsp.Index_jsp._jspService(Index_jsp.java:95)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.bjsxt.shopping.util.filter.IPFilter.doFilter(IPFilter.java:31)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.


Apache  Tomcat/6.0.14 
空指针异常

你看看CategoryService.java 102行是什么

还有就是楼主问题解决记得结贴,你的结帖率:0.00%
我这是第三次发帖!前面刚刚发了两个问题还没解决呢!!O(∩_∩)O哈哈~不是我人品的问题哦!!谢谢我先看看了!!