Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2.0.6
-
None
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)