[midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1

petr.kulheim at ibacz.eu petr.kulheim at ibacz.eu
Wed Jan 17 17:10:37 CET 2018


Hi Pavol,
provided exception bellow is from GUI action SAVE, with reconsiliation 
checkbox checked, no changed done. It is replicable.

If we run recosiliation task, there are about  30 errors in 
      <partialResults>
 
<operation>com.evolveum.midpoint.common.operation.reconciliation.errors</operation>
         <status>not_applicable</status>
         <token>1000000000000030110</token>
         <message>Last 30 failures:
      <partialResults>
 
<operation>com.evolveum.midpoint.common.operation.reconciliation.errors</operation>
         <status>not_applicable</status>
         <token>1000000000000030110</token>
         <message>Last 30 failures:
CN=Jan novak,OU=BRC,DC=wintest,DC=bbb,DC=sk: 
java.lang.IllegalStateException: Null parent for value PCV(1):[PC({
http://midpoint.evolveum.com/xml/ns/public/common/common-3
}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], 
PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, 
targetType={.../common/common-3}UserType, 
relation={.../common/org-3}default)], 
PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], 
PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, 
targetType={.../common/common-3}UserType, 
relation={.../common/org-3}default)], 
PP({.../common/common-3}createChannel):[PPV(String:
http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import
)]]], 
PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, 
targetType={.../common/common-3}RoleType, 
relation={.../common/org-3}default)], PC({
http://midpoint.evolveum.com/xml/ns/public/common/common-3
}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] 
in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3
}assignment):[PCV(1):[PC({
http://midpoint.evolveum.com/xml/ns/public/common/common-3
}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], 
PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, 
targetType={.../common/common-3}UserType, 
relation={.../common/org-3}default)], 
PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], 
PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, 
targetType={.../common/common-3}UserType, 
relation={.../common/org-3}default)], 
PP({.../common/common-3}createChannel):[PPV(String:
http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import
)]]], 
PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, 
targetType={.../common/common-3}RoleType, 
relation={.../common/org-3}default)], PC({
http://midpoint.evolveum.com/xml/ns/public/common/common-3
}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]], 
PCV(2):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3
}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], 
PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, 
targetType={.../common/common-3}UserType, 
relation={.../common/org-3}default)], 
PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], 
PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, 
targetType={.../common/common-3}UserType, 
relation={.../common/org-3}default)], 
PP({.../common/common-3}createChannel):[PPV(String:
http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import
)]]], PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3
}construction):[PCV(null):[PrismReference({.../common/common-3}resourceRef):[PRV(oid=feed0000-0000-0000-0000-000000000001, 
targetType={.../common/common-3}ResourceType, 
relation={.../common/org-3}default)]]], PC({
http://midpoint.evolveum.com/xml/ns/public/common/common-3
}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] 
(assignment in user:f259bab2-48eb-4e0f-b426-6b58445fdbae(jnovak)); in 
current user in 
LensFocusContext(UserType:f259bab2-48eb-4e0f-b426-6b58445fdbae)
.....


Looks like the same error as from GUI action, but no stack trace.
thx a lot

Petr






From:   Pavol Mederly <mederly at evolveum.com>
To:     midpoint at lists.evolveum.com
Date:   17/01/2018 16:05
Subject:        Re: [midPoint] Fw: Null parent for value PCV(1) Exception 
during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1
Sent by:        "midPoint" <midpoint-bounces at lists.evolveum.com>



Hello Petr,
just to make sure: You wrote that the exception occurs during 
reconciliation. I assume you mean reconciliation task.
But the stack trace corresponds to a GUI operation.
So, what's the case? Does it occur within a task or in GUI? If in GUI, is 
it replicable?
Pavol Mederly
Software developer
evolveum.com

On 17.01.2018 12:34, petr.kulheim at ibacz.eu wrote:
hi guys, 

we have customer's test environment where we have upgraded midpoint from 
3.5.1 to 3.6.1 
After this upgrade we have some users, about 30, having following 
Exception during reconsiliation: 

2018-01-15 17:33:30,325 [] [Thread-77] ERROR 
(com.evolveum.midpoint.web.component.progress.ProgressReporter): Error 
executing changes. 
java.lang.IllegalStateException: Null parent for value PCV(1):[PC({
http://midpoint.evolveum.com/xml/ns/public/common/common-3
}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], 
PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, 
targetType={.../common/common-3}UserType, 
relation={.../common/org-3}default)], 
PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], 
PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, 
targetType={.../common/common-3}UserType, 
relation={.../common/org-3}default)], 
PP({.../common/common-3}createChannel):[PPV(String:
http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation
)]]], 
PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, 
targetType={.../common/common-3}RoleType, 
relation={.../common/org-3}default)], PC({
http://midpoint.evolveum.com/xml/ns/public/common/common-3
}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] 
in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3
}assignment):[PCV(1):[PC({
http://midpoint.evolveum.com/xml/ns/public/common/common-3
}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], 
PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, 
targetType={.../common/common-3}UserType, 
relation={.../common/org-3}default)], 
PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], 
PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, 
targetType={.../common/common-3}UserType, 
relation={.../common/org-3}default)], 
PP({.../common/common-3}createChannel):[PPV(String:
http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation
)]]], 
PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, 
targetType={.../common/common-3}RoleType, 
relation={.../common/org-3}default)], PC({
http://midpoint.evolveum.com/xml/ns/public/common/common-3
}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] 
(assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)); in 
current user in 
LensFocusContext(UserType:09cff951-c031-4033-95a9-de85812ccc46) 
        at 
com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:495) 
~[model-impl-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:461) 
~[model-impl-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.model.impl.lens.LensFocusContext.checkConsistence(LensFocusContext.java:459) 
~[model-impl-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:453) 
~[model-impl-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.model.impl.lens.LensContext.checkConsistence(LensContext.java:678) 
~[model-impl-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocusFocus(FocusProcessor.java:398) 
~[model-impl-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocus(FocusProcessor.java:173) 
~[model-impl-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:227) 
~[model-impl-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1254) 
~[model-impl-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:225) 
~[model-impl-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:114) 
~[model-impl-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:440) 
~[model-impl-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:197) 
~[model-impl-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:572) 
~[model-impl-3.6.1.jar:na] 
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.8.0_111] 
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[na:1.8.0_111] 
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
~[na:1.8.0_111] 
        at java.lang.reflect.Method.invoke(Method.java:498) 
~[na:1.8.0_111] 
        at 
org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507) 
~[wicket-ioc-7.6.0.jar:7.6.0] 
        at com.sun.proxy.$Proxy164.executeChanges(Unknown Source) ~[na:na] 

        at 
com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187) 
~[classes/:na] 
        at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111] 
Caused by: java.lang.IllegalStateException: Null parent for value 
PCV(1):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3
}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], 
PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, 
targetType={.../common/common-3}UserType, 
relation={.../common/org-3}default)], 
PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], 
PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, 
targetType={.../common/common-3}UserType, 
relation={.../common/org-3}default)], 
PP({.../common/common-3}createChannel):[PPV(String:
http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation
)]]], 
PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, 
targetType={.../common/common-3}RoleType, 
relation={.../common/org-3}default)], PC({
http://midpoint.evolveum.com/xml/ns/public/common/common-3
}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] 
in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3
}assignment):[PCV(1):[PC({
http://midpoint.evolveum.com/xml/ns/public/common/common-3
}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], 
PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, 
targetType={.../common/common-3}UserType, 
relation={.../common/org-3}default)], 
PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], 
PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, 
targetType={.../common/common-3}UserType, 
relation={.../common/org-3}default)], 
PP({.../common/common-3}createChannel):[PPV(String:
http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation
)]]], 
PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, 
targetType={.../common/common-3}RoleType, 
relation={.../common/org-3}default)], PC({
http://midpoint.evolveum.com/xml/ns/public/common/common-3
}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] 
(assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)) 
        at 
com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:748) 
~[prism-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688) 
~[prism-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.prism.PrismContainerValue.checkConsistenceInternal(PrismContainerValue.java:1271) 
~[prism-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:754) 
~[prism-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688) 
~[prism-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.prism.PrismObject.checkConsistenceInternal(PrismObject.java:409) 
~[prism-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.prism.Item.checkConsistence(Item.java:709) 
~[prism-3.6.1.jar:na] 
        at 
com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:491) 
~[model-impl-3.6.1.jar:na] 
        ... 21 common frames omitted 


I have found it comes from 
com.evolveum.midpoint.prism.Item radek 748, 

                        if (val.getParent() == null) { 
                                throw new IllegalStateException("Null 
parent for value "+val+" in item "+this+" ("+path+" in "+rootItem+")"); 
                        } 


So far we haven't found any suspicious Users/Accounts metadata. 
Likely it is related to AD resource. 
Any hint or advice would be appreciated. 

Thx 

Petr Kulheim
JEE Developer

IBA CZ, s.r.o.
Office: Petržílkova 2565/23, 158 00 Praha, CZ
Phone: +420 603 272826
E-mail: petr.kulheim at ibacz.eu 



Disclaimer:

The information contained in this communication is intended solely for the 
use of the individual or entity to whom it is addressed and others 
authorized to receive it.
It may contain confidential or legally privileged information.
If you are not the intended recipient you are hereby notified that any 
disclosure, copying, distribution or taking any action in reliance on the 
contents of this information is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us 
immediately by forwarding this email to ict at ibacz.eu and then delete it 
from your system.
IBA Group is neither liable for the proper and complete transmission of 
the information contained in this communication nor for any delay in its 
receipt. 


_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
http://lists.evolveum.com/mailman/listinfo/midpoint

_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
http://lists.evolveum.com/mailman/listinfo/midpoint



Disclaimer:

The information contained in this communication is intended solely for the 
use of the individual or entity to whom it is addressed and others 
authorized to receive it.
It may contain confidential or legally privileged information.
If you are not the intended recipient you are hereby notified that any 
disclosure, copying, distribution or taking any action in reliance on the 
contents of this information is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us 
immediately by forwarding this email to ict at ibacz.eu and then delete it 
from your system.
IBA Group is neither liable for the proper and complete transmission of 
the information contained in this communication nor for any delay in its 
receipt.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180117/98e3b5c0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 48578 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180117/98e3b5c0/attachment.png>


More information about the midPoint mailing list