Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-2874

Nullpointer Exception while exporing non-existant users.

    XMLWordPrintable

Details

    Description

      If a user is null i.e: the user exists in cached Bamboo database but has been deleted form LDAP. Bamboo logs that the user as null but, still tries to export the user.

      This causes a nullpointer exception -

      2008-07-12 01:01:16,336 ERROR [QuartzScheduler_Worker-3] [ScheduledBackupJob] java.lang.NullPointerException
      java.lang.NullPointerException
      at com.atlassian.bamboo.migration.UserMapper.shouldExportUser(UserMapper.java:70)
      at com.atlassian.bamboo.migration.UserMapper.exportXml(UserMapper.java:47)
      at com.atlassian.bamboo.migration.XmlMigrator.exportXml(XmlMigrator.java:216)
      at com.atlassian.bamboo.migration.XmlMigrator$$FastClassByCGLIB$$b6578fc7.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:694)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)

      Attachments

        Activity

          People

            mark@atlassian.com MarkC
            asridhar AjayA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: