[midPoint] MidPoint 3.7 Reconciliation errors (NPE)

Pavol Mederly mederly at evolveum.com
Mon Dec 18 14:28:40 CET 2017


Fixed in this commit 
<https://github.com/Evolveum/midpoint/commit/5e0c73fba6136b92e860787e5fbfb1de21fc9a79>. 
You can use either master branch, or post-3.7-fixes branch, or you can 
apply just that one commit to your source tree.

I am sorry about that.

To stay on the safe side you could wait for the tests 
<https://travis-ci.org/Evolveum/midpoint/builds> to run (or run them 
manually by mvn clean install).

Pavol Mederly
Software developer
evolveum.com

On 18.12.2017 14:12, Pavol Mederly wrote:
> Hello Wojciech,
>
> thanks for reporting this one. It looks like a stupid mistake on my 
> side. I can offer you only a workaround: please check the failing 
> object to see if there is an assignment with an empty "extension" item 
> (i.e. <extension></extension>). If so, please delete the extension 
> item. I will fix the bug soon.
>
> Pavol Mederly
> Software developer
> evolveum.com
>
> On 18.12.2017 13:45, Wojciech Staszewski wrote:
>> Well,
>>
>> Now the bigger problems are starting:
>>
>> In 3.6 my reconciliation tasks were finished with no errors,
>> In 3.7 the same tasks are showing NPE:
>>
>> 2017-12-18 13:42:12,203 [] [midPointScheduler_Worker-5] ERROR 
>> (com.evolveum.midpoint.model.impl.lens.projector.Projector): Runtime 
>> error in projector: null
>> java.lang.NullPointerException: null
>>          at 
>> com.evolveum.midpoint.schema.util.ObjectTypeUtil.mergeExtension(ObjectTypeUtil.java:758)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.LensUtil.mergeExtensionContainers(LensUtil.java:688)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.LensUtil.mergeExtension(LensUtil.java:675)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.LensUtil.computeAssignmentPathVariables(LensUtil.java:605)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.Construction.evaluate(Construction.java:327)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.EvaluatedAssignmentImpl.evaluateConstructions(EvaluatedAssignmentImpl.java:330)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentProcessor.evaluateConstructions(AssignmentProcessor.java:561)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentProcessor.evaluateConstructions(AssignmentProcessor.java:542)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentProcessor.processAssignmentsProjectionsWithFocus(AssignmentProcessor.java:299)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentProcessor.processAssignmentsProjections(AssignmentProcessor.java:173)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.projector.focus.FocusProcessor.lambda$processFocusFocus$4(FocusProcessor.java:246)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:947)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:934)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.projector.focus.FocusProcessor.processFocusFocus(FocusProcessor.java:245)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.projector.focus.FocusProcessor.processFocus(FocusProcessor.java:140)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:229)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:947)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:227)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:116)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:445)
>>          at 
>> com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:202)
>>          at 
>> com.evolveum.midpoint.model.impl.sync.SynchronizationServiceImpl.reactToChange(SynchronizationServiceImpl.java:752)
>>          at 
>> com.evolveum.midpoint.model.impl.sync.SynchronizationServiceImpl.notifyChange(SynchronizationServiceImpl.java:276)
>>          at 
>> com.evolveum.midpoint.provisioning.impl.ChangeNotificationDispatcherImpl.notifyChange(ChangeNotificationDispatcherImpl.java:146)
>>          at 
>> com.evolveum.midpoint.model.impl.sync.SynchronizeAccountResultHandler.handleObjectInternal(SynchronizeAccountResultHandler.java:199)
>>          at 
>> com.evolveum.midpoint.model.impl.sync.SynchronizeAccountResultHandler.handleObject(SynchronizeAccountResultHandler.java:122)
>>          at 
>> com.evolveum.midpoint.model.impl.util.AbstractSearchIterativeResultHandler.processRequest(AbstractSearchIterativeResultHandler.java:329)
>>          at 
>> com.evolveum.midpoint.model.impl.util.AbstractSearchIterativeResultHandler.handle(AbstractSearchIterativeResultHandler.java:187)
>>          at 
>> com.evolveum.midpoint.provisioning.impl.ShadowCache.lambda$searchObjectsIterative$4(ShadowCache.java:1347)
>>          at 
>> com.evolveum.midpoint.provisioning.impl.ResourceObjectConverter.lambda$searchResourceObjects$0(ResourceObjectConverter.java:1240)
>>          at 
>> com.evolveum.midpoint.provisioning.ucf.impl.connid.ConnectorInstanceConnIdImpl$2.handle(ConnectorInstanceConnIdImpl.java:2249)
>>          at 
>> org.identityconnectors.framework.impl.api.SearchResultsHandlerLoggingProxy.handle(SearchResultsHandlerLoggingProxy.java:64)
>>          at 
>> org.identityconnectors.framework.impl.api.StreamHandlerUtil$ObjectStreamHandlerAdapter.handle(StreamHandlerUtil.java:101)
>>          at 
>> org.identityconnectors.framework.impl.api.BufferedResultsProxy.invoke(BufferedResultsProxy.java:262)
>>          at 
>> org.identityconnectors.framework.impl.api.DelegatingTimeoutProxy.invoke(DelegatingTimeoutProxy.java:94)
>>          at com.sun.proxy.$Proxy222.search(Unknown Source)
>>          at sun.reflect.GeneratedMethodAccessor1143.invoke(Unknown 
>> Source)
>>          at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>          at java.lang.reflect.Method.invoke(Method.java:498)
>>          at 
>> org.identityconnectors.framework.impl.api.LoggingProxy.invoke(LoggingProxy.java:83)
>>          at com.sun.proxy.$Proxy222.search(Unknown Source)
>>          at 
>> org.identityconnectors.framework.impl.api.AbstractConnectorFacade.search(AbstractConnectorFacade.java:179)
>>          at 
>> com.evolveum.midpoint.provisioning.ucf.impl.connid.ConnectorInstanceConnIdImpl.search(ConnectorInstanceConnIdImpl.java:2345)
>>          at 
>> com.evolveum.midpoint.provisioning.impl.ResourceObjectConverter.searchResourceObjects(ResourceObjectConverter.java:1224)
>>          at 
>> com.evolveum.midpoint.provisioning.impl.ShadowCache.searchObjectsIterative(ShadowCache.java:1394)
>>          at 
>> com.evolveum.midpoint.provisioning.impl.ShadowCache.searchObjectsIterative(ShadowCache.java:1276)
>>          at 
>> com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.searchObjectsIterative(ProvisioningServiceImpl.java:1036)
>>          at 
>> com.evolveum.midpoint.model.impl.sync.ReconciliationTaskHandler.performResourceReconciliation(ReconciliationTaskHandler.java:469)
>>          at 
>> com.evolveum.midpoint.model.impl.sync.ReconciliationTaskHandler.run(ReconciliationTaskHandler.java:259)
>>          at 
>> com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.executeHandler(JobExecutor.java:639)
>>          at 
>> com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.executeRecurrentTask(JobExecutor.java:522)
>>          at 
>> com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.execute(JobExecutor.java:180)
>>          at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>>          at 
>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:588)
>>
>> W dniu 18.12.2017 o 13:24, Wojciech Staszewski pisze:
>>> Forgive me but i must ask one more question:
>>>
>>> In 3.6 on the Resources List page was the cog icon in every row. 
>>> When clicked, context menu appeared with some options.
>>> Now this is missing and the only options are "test connection" and 
>>> "edit xml". Why? :(
>>>
>>> Regards!
>>> WS
>>> W dniu 18.12.2017 o 13:14, Wojciech Staszewski pisze:
>>>> Thanks Evolveum!
>>>>
>>>> Just upgraded and just little question:
>>>> The user list is now paged by 10 users by default. Previous was 20 
>>>> as far as I remember. Where to set default page size to set bigger 
>>>> value?
>>>>
>>>> Thanks!
>>>> WS
>>>>
>>>> W dniu 18.12.2017 o 12:45, Radovan Semancik pisze:
>>>>> The Evolveum team is proud to announce the release of midPoint 
>>>>> version 3.7.
>>>>>
>>>>> Release 3.7 is a twenty third midPoint release code-named Darwin. 
>>>>> The 3.7 release brings new deployment model and numerous gradual 
>>>>> improvements. There are improvements of identity governance 
>>>>> features, improvements of user interface and internal improvements.
>>>>>
>>>>> For more information about the 3.7 release please see release 
>>>>> notes at http://wiki.evolveum.com/display/midPoint/Release+3.7
>>>>>
>>>>> We would like to express a special thanks for all midPoint 
>>>>> subscribers, partners, supporters and especially the contributors. 
>>>>> The Evolveum team would like to express many thanks for your 
>>>>> interest, feedback and contributions.
>>>>>
>>>> _______________________________________________
>>>> 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
>>>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20171218/04a8ad3f/attachment.htm>


More information about the midPoint mailing list