2 Replies Latest reply on Jul 19, 2012 7:30 AM by Dhanya Sreejith

    Role based Dashboard in GateIn 3.2

    Dhanya Sreejith Newbie

      hiii...

            We've successfully implemented role based dashboard in GateIn 3.2 as per the article in https://community.jboss.org/wiki/RedirectAUserToPageOnLoginlogoutBasedOnRole....  But on logging out after session timeout, we are getting a warning because of which the application is not correctly redirected to login page. The stack trace is given below :

       

      WARN  [SetCurrentIdentityFilter] An error occured while cache user profile

      java.lang.NullPointerException

          at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)

          at org.exoplatform.web.login.redirect.LoginRedirectService.getLogoutRedirectURL(LoginRedirectService.java:123)

          at org.exoplatform.web.login.redirect.LoginRedirectFilter.getLocationAfterLogout(LoginRedirectFilter.java:145)

          at org.exoplatform.web.login.redirect.LoginRedirectFilter.doFilter(LoginRedirectFilter.java:100)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:110)

          at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:80)

          at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:79)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)