[midPoint] - v3.9 - Problem linking resource shadows

Wojciech Staszewski wojciech.staszewski at diagnostyka.pl
Sun Apr 7 19:29:01 CEST 2019


Hello community!

After update to v3.9 I observe a random errors on shadows imported from
the resources.
The shadows are imported into the midPoint repository with no problem,
but if I try to link the shadow to an user I got an error.

The workaround is to remove shadow from repository and import it once
again. Then it works OK.
On average, 4 out of 20 imported shadows are problematic.

The error (fragments only):

2019-04-07 17:13:03,832 [] [http-nio-8080-exec-4] ERROR
(com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl): Error
getting object OID=d9555fd4-96d4-4a1e-a5d4-a013b16df16c:
org.hibernate.exception.ConstraintViolationException: could not execute
batch
com.evolveum.midpoint.util.exception.SystemException:
org.hibernate.exception.ConstraintViolationException: could not execute
batch
[...]
Caused by: java.sql.BatchUpdateException: Duplicate entry
'd9555fd4-96d4-4a1e-a5d4-a013b16df16c-1-29-abcdefg' for key 'PRIMARY'
        at
sun.reflect.GeneratedConstructorAccessor710.newInstance(Unknown Source)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

As I remeber, I didn't see this error in older versions.
Could this be a bug?

Regards,
WS

-- 
Wojciech Staszewski
Administrator Systemów Sieciowych
www.diagnostyka.pl
Diagnostyka Sp. z o. o.
ul. Prof. M. Życzkowskiego 16, 31-864 Kraków
Numer KRS: 0000381559 (Sąd Rejonowy dla Krakowa-Śródmieścia w Krakowie, XI Wydział Gospodarczy KRS)
NIP: 675-12-65-009; REGON: 356366975
Kapitał zakładowy: 33 756 500 zł.

Pomyśl o środowisku zanim wydrukujesz ten e-mail.




More information about the midPoint mailing list