Project

General

Profile

Actions

Defect #2474

open

Report IdentityStateExecutor doesn't work for deleted identities

Added by Ondřej Kopr over 4 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/01/2020
Due date:
% Done:

0%

Estimated time:

Description

Report IdentityStateExecutor made get query for current identity and when identity was already deleted the report throw null pointer exception. The report is also used in Status task (CzechIdMStatusNotificationTask) and when the report throw the error status task doesn't show any another messages.

020-09-01 17:17:58.370 ERROR 10741 --- [task-executor-1] b.i.n.s.t.CzechIdMStatusNotificationTask : Error during send sendContractsStatus status.
java.lang.NullPointerException: null191191
        at eu.bcvsolutions.idm.extras.report.identity.IdentityStateExecutor.getIdentityState(IdentityStateExecutor.java:184)
        at eu.bcvsolutions.idm.extras.report.identity.IdentityStateExecutor$$FastClassBySpringCGLIB$$a6e3bdac.invoke(<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)

Please could you fix this?

Actions

Also available in: Atom PDF