Uploaded image for project: 'LAMS Development'
  1. LAMS Development
  2. LDEV-2771

Logging back to LAMS sometimes causes an exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: General
    • Labels:
      None
    • Environment:
      Firefox 9, Chrome 16

      Description

      Steps to reproduce:
      1. Log in as user A
      2. Log out
      3. Log in as user B

      *Sometimes* this causes an exception starting with:
      -----------------
      2012-01-06 10:54:24,809 FATAL [CustomStrutsExceptionHandler] fatal System exception: [java.lang.NullPointerException] :null
      java.lang.NullPointerException
      at org.lamsfoundation.lams.web.IndexAction.execute(IndexAction.java:103)
      -----------------

      It is caused by missing userDTO from session.
      It seems that LAMS is trying to access the old session where after log out no user data is stored anymore.

        Activity

        marcin Marcin Cieslak created issue -
        marcin Marcin Cieslak made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        ernieg Ernie Ghiglione made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            marcin Marcin Cieslak
            Reporter:
            marcin Marcin Cieslak
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development