JavaShop网上商城技术支持论坛

 找回密码
 会员注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

好友

主题
发表于 2016-4-15 16:27:45 | 查看: 4741| 回复: 0
发布安装到第一步出现NullPointerException错误
javax.servlet.ServletException: java.lang.NullPointerException
        org.apache.shiro.web.servlet.AdviceFilter.cleanup(AdviceFilter.java:196)
        org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:148)
        org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
        org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
        org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
        org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
        org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
        org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
        org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
        org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
        org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
        org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
        com.enation.eop.DispatcherFilter.doFilter(DispatcherFilter.java:88)

进入AuthFilter.java发现是
AdminUser user = UserConext.getCurrentAdminUser();
if (user.getFounder() == 1) {
        return true;
}

user为null
您需要登录后才可以回帖 登录 | 会员注册

Archiver|手机版|小黑屋|java电商系统b2b2c源码

GMT+8, 2020-10-31 19:20 , Processed in 0.067405 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表