- 2018-11-02 13:01:31.988 ERROR 501 --- [mailSenderExecutor-6] c.p.ltg.srs.ups.service.UPSServiceImpl : Exception in getUsersProfile of UPSServiceImpl with userIds {}[ffffffff57c72f27e4b0bf9a7e6cfa76, ffffffff5b806b8c245ee1777e5ed101]
- java.lang.NullPointerException: null
- at java.util.HashMap.merge(HashMap.java:1216)
- at java.util.stream.Collectors.lambda$toMap$214(Collectors.java:1320)
- at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
- at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
- at java.util.Iterator.forEachRemaining(Iterator.java:116)
- at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
- at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
- at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
- at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
- at com.pearson.ltg.srs.ups.service.UPSServiceImpl.lambda$setUserInUserIdNotificationTypeMap$44(UPSServiceImpl.java:248)
- at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
- at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
- at com.pearson.ltg.srs.ups.service.UPSServiceImpl.setUserInUserIdNotificationTypeMap(UPSServiceImpl.java:244)
- at com.pearson.ltg.srs.ups.service.UPSServiceImpl.getUsersProfile(UPSServiceImpl.java:216)
- at com.pearson.ltg.srs.ups.service.UPSServiceImpl$$FastClassBySpringCGLIB$$e3d34904.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
- at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
- at com.pearson.ltg.srs.ups.service.UPSServiceImpl$$EnhancerBySpringCGLIB$$15e823df.getUsersProfile(<generated>)
- at com.pearson.ltg.srs.search.service.AbstractAdminSearchService.lambda$searchAdministratorsForIndividualNotification$0(AbstractAdminSearchService.java:63)
- at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
- at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612)
- at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
- at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
- at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
- at com.pearson.ltg.srs.search.service.AbstractAdminSearchService.searchAdministratorsForIndividualNotification(AbstractAdminSearchService.java:67)
- at com.pearson.ltg.srs.email.service.RegistrationNotificationServiceImpl.searchNotifiableAdministrators(RegistrationNotificationServiceImpl.java:461)
- at com.pearson.ltg.srs.email.service.RegistrationNotificationServiceImpl.sendRegistrationCompleteNotification(RegistrationNotificationServiceImpl.java:187)
- at com.pearson.ltg.srs.email.service.RegistrationNotificationServiceImpl$$FastClassBySpringCGLIB$$fbf2816e.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
- at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:115)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- 2018-11-02 13:01:31.989 ERROR 501 --- [mailSenderExecutor-6] .e.s.RegistrationNotificationServiceImpl : Exception into sendAccountRequestNotification of RegistrationNotificationServiceImpl with registrationId a03ad67d-5196-42ed-8c5a-fe66af297322
- com.pearson.ltg.srs.exception.RegistrationServiceException: Failed to get user profile attributes
- at com.pearson.ltg.srs.ups.service.UPSServiceImpl.getUsersProfile(UPSServiceImpl.java:221)
- at com.pearson.ltg.srs.ups.service.UPSServiceImpl$$FastClassBySpringCGLIB$$e3d34904.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
- at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
- at com.pearson.ltg.srs.ups.service.UPSServiceImpl$$EnhancerBySpringCGLIB$$15e823df.getUsersProfile(<generated>)
- at com.pearson.ltg.srs.search.service.AbstractAdminSearchService.lambda$searchAdministratorsForIndividualNotification$0(AbstractAdminSearchService.java:63)
- at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
- at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612)
- at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
- at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
- at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
- at com.pearson.ltg.srs.search.service.AbstractAdminSearchService.searchAdministratorsForIndividualNotification(AbstractAdminSearchService.java:67)
- at com.pearson.ltg.srs.email.service.RegistrationNotificationServiceImpl.searchNotifiableAdministrators(RegistrationNotificationServiceImpl.java:461)
- at com.pearson.ltg.srs.email.service.RegistrationNotificationServiceImpl.sendRegistrationCompleteNotification(RegistrationNotificationServiceImpl.java:187)
- at com.pearson.ltg.srs.email.service.RegistrationNotificationServiceImpl$$FastClassBySpringCGLIB$$fbf2816e.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
- at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:115)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: java.lang.NullPointerException: null
- at java.util.HashMap.merge(HashMap.java:1216)
- at java.util.stream.Collectors.lambda$toMap$214(Collectors.java:1320)
- at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
- at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
- at java.util.Iterator.forEachRemaining(Iterator.java:116)
- at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
- at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
- at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
- at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
- at com.pearson.ltg.srs.ups.service.UPSServiceImpl.lambda$setUserInUserIdNotificationTypeMap$44(UPSServiceImpl.java:248)
- at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
- at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
- at com.pearson.ltg.srs.ups.service.UPSServiceImpl.setUserInUserIdNotificationTypeMap(UPSServiceImpl.java:244)
- at com.pearson.ltg.srs.ups.service.UPSServiceImpl.getUsersProfile(UPSServiceImpl.java:216)
- ... 34 common frames omitted
- 2018-11-02 13:01:36.459 INFO 501 --- [http-nio-0.0.0.0-8080-exec-111] .v.i.OrganizationLifeCycleProxyV20090701 : No child organizations found for organization Id 8a9480bc28dee8910128e432371d57dc