Removing user throws NullPointerException

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.7.3
    • Affects Version/s: 2.7.1
    • Component/s: None
    • None

      Using LDAP for Group Management. When removing a local user, Confluence throws:

      org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getUserCommentedSpaces' in class com.atlassian.confluence.user.actions.RemoveUserAction threw exception class java.lang.NullPointerException : null
      at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:188)
      caused by: java.lang.NullPointerException
      at com.atlassian.confluence.spaces.persistence.dao.hibernate.HibernateSpaceDao.mySqlGetSpacesContainingCommentsByUser(HibernateSpaceDao.java:215)
      
      

      This only happens in Confluence 2.7.1 with MySQL 5

      The problem does not appear when using :

      • Confluence 2.7.1 and HSQL
      • Confluence 2.7.3 and MySQL 5

              Assignee:
              Unassigned
              Reporter:
              Fennie Ng [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: