Uploaded image for project: 'atlassian-seraph'
  1. atlassian-seraph
  2. SER-31

NullPointerException when clicking logout link

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Medium Medium
    • None
    • 0.7.5
    • None
    • true

      When the app server is restarted, and user sessions lost, if a user who had been logged in clicks the logout link, they get this exception:

      java.lang.NullPointerException
      at com.atlassian.seraph.logout.LogoutServlet.isRelativeRedirect(LogoutServlet.java:68)
      at com.atlassian.seraph.logout.LogoutServlet.service(LogoutServlet.java:45)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
      at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168)
      at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181)
      at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:37)
      at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36)
      at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      at com.caucho.server.http.Invocation.service(Invocation.java:315)
      at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
      at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
      at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
      at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
      at java.lang.Thread.run(Thread.java:534)

            [SER-31] NullPointerException when clicking logout link

            Why are notifications on the SER project being sent to jira-developers? Seems a very wide spray.

            Ian Daniel [Atlassian] added a comment - Why are notifications on the SER project being sent to jira-developers? Seems a very wide spray.

            ah, i see. thanks. carry on

            Cheryl Jerozal [Atlassian] added a comment - ah, i see. thanks. carry on

            I removed you. The jira-dev group was signed up for all notifications in the Seraph project. Jed's doing a cleanup.

            Steve Smith (Inactive) added a comment - I removed you. The jira-dev group was signed up for all notifications in the Seraph project. Jed's doing a cleanup.

            i'm not in jira-developers, though maybe i was just removed. i didn't get any more notifications after the one for my comment.

            is there something special about this issue that means people in jira-developers get updates but not to other non-special things (unless watching those)?

            Cheryl Jerozal [Atlassian] added a comment - i'm not in jira-developers, though maybe i was just removed. i didn't get any more notifications after the one for my comment. is there something special about this issue that means people in jira-developers get updates but not to other non-special things (unless watching those)?

            It shouldn't as this Spam Sam issue has been fixed. So I don't know
            what's going on there

            ATLASSIAN - http://www.atlassian.com
            Our products help over 8,500 customers in more than 95 countries to
            collaborate

            Samuel Le Berrigaud added a comment - It shouldn't as this Spam Sam issue has been fixed. So I don't know what's going on there – ATLASSIAN - http://www.atlassian.com Our products help over 8,500 customers in more than 95 countries to collaborate

            Cheryl,

            You get it as you are a member of the jira-developers group. Partha I have no idea about, unless someone added him to jira-developers briefly - he is not a member now.

            Jed Wesley-Smith (Inactive) added a comment - Cheryl, You get it as you are a member of the jira-developers group. Partha I have no idea about, unless someone added him to jira-developers briefly - he is not a member now.

            it was sent to me too and probably others. maybe it has to do with this?

            Cheryl Jerozal [Atlassian] added a comment - it was sent to me too and probably others. maybe it has to do with this ?

            Why was this sent to me?

            Cheers,
            Partha

            Partha Kamal added a comment - Why was this sent to me? Cheers, Partha

            to be specific the configuration is seraph-config.xml and the required <init-param> is logout.url

            Jed Wesley-Smith (Inactive) added a comment - to be specific the configuration is seraph-config.xml and the required <init-param> is logout.url

            If this happens, it is because the user didn't specify the login url in their configuration.

            Don Brown (Inactive) added a comment - If this happens, it is because the user didn't specify the login url in their configuration.

              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                17 years, 30 weeks, 2 days ago