高手们来开一下:
org.apache.jasper.JasperExceptionorg.apache.jasper.
JasperException org.apache.jasper.servlet.JspServletWrapper.handle
JspException(JspServletWrapper.java:460)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
net.muratec.macs.common.filter.SessionControlFilter.doFilter(SessionControlFilter.java:104)
原因
java.lang.NullPointerException net.muratec.macs.common.taglib.fab.FabModel.getTsc(FabModel.java:113)
net.muratec.macs.common.taglib.fab.util.FabDeviceUtil.<init>(FabDeviceUtil.java:22)
net.muratec.macs.common.taglib.fab.FabDeviceTag.createUtility(FabDeviceTag.java:78)
net.muratec.macs.common.taglib.fab.FabDeviceTag.doStartTag(FabDeviceTag.java:83)
org.apache.jsp.jsp.information.array.body_jsp._jspx_meth_fab_005fdevice_005f0(body_jsp.java:510)
org.apache.jsp.jsp.information.array.body_jsp._jspx_meth_fab_005ffab_005f0(body_jsp.java:446)
org.apache.jsp.jsp.information.array.body_jsp._jspService(body_jsp.java:181)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
net.muratec.macs.common.filter.SessionControlFilter.doFilter(SessionControlFilter.java:104)
在本地运行报这个错误,但是在服务器上可以运行,请有经验的指点一下
------解决方案--------------------
net.muratec.macs.common.taglib.fab.FabModel.getTsc(FabModel.java:113)
这个类自己写的吧?检查下为啥113行有
空指针错误,再来分析原因。