java.lang.NullPointerException怎么解决
javax.servlet.ServletExceptionorg.apache.struts.action.RequestProcessor.processExcept...
javax.servlet.ServletException
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.netsh.chat.util.ChkAllUserEnterChattingFilter.doFilter(ChkAllUserEnterChattingFilter.java:96)
com.netsh.chat.util.GetLoginUserInfoFilter.doFilter(GetLoginUserInfoFilter.java:37)
com.netsh.util.SetCharacterEncodingGBKFilter.doFilter(SetCharacterEncodingGBKFilter.java:28)
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:406) 展开
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.netsh.chat.util.ChkAllUserEnterChattingFilter.doFilter(ChkAllUserEnterChattingFilter.java:96)
com.netsh.chat.util.GetLoginUserInfoFilter.doFilter(GetLoginUserInfoFilter.java:37)
com.netsh.util.SetCharacterEncodingGBKFilter.doFilter(SetCharacterEncodingGBKFilter.java:28)
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:406) 展开
4个回答
展开全部
com.netsh.chat.util.ChkAllUserEnterChattingFilter.doFilter(ChkAllUserEnterChattingFilter.java:96)
这句出现null值
查看一下,如果是变量最好加上非空判断.
这句出现null值
查看一下,如果是变量最好加上非空判断.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
这些异常信息里那部分是你的代码,是org.tuckey.web 开头的包,还是com.netsh.chat.util的包,你找吧,从下往上找,挨个看是哪个类出现空指针了
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
空指针。你随着代码找下,看哪儿有一个地方引用是空的
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |