[midPoint] [midpoint 4.4] Error messages after migrations.

Sébastien MARBRIER smarbrier at positivethinking.tech
Tue Jan 4 11:36:30 CET 2022


Hello and Happy New Year,

After migrating midpoint 4.0.1  to 4.4 (through 4.0.4)

The following error messages can be found after start up:

022-01-04 08:56:54,900 [REPOSITORY] [main] WARN (com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller): Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}reportEngine was removed from the schema, skipped processing of that item
2022-01-04 08:56:54,901 [REPOSITORY] [main] WARN (com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller): Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}jasper was removed from the schema, skipped processing of that item
2022-01-04 08:56:54,901 [REPOSITORY] [main] WARN (com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever): Object report: Reconciliation report (OID:00000000-0000-0000-0000-000000000100) parsed with 2 warnings
2022-01-04 08:56:54,914 [REPOSITORY] [main] WARN (com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller): Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}reportEngine was removed from the schema, skipped processing of that item
2022-01-04 08:56:54,914 [REPOSITORY] [main] WARN (com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller): Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}jasper was removed from the schema, skipped processing of that item
2022-01-04 08:56:54,914 [REPOSITORY] [main] WARN (com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever): Object report: Users in MidPoint (OID:00000000-0000-0000-0000-000000000110) parsed with 2 warnings
2022-01-04 08:56:54,926 [REPOSITORY] [main] WARN (com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller): Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}reportEngine was removed from the schema, skipped processing of that item
2022-01-04 08:56:54,927 [REPOSITORY] [main] WARN (com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller): Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}jasper was removed from the schema, skipped processing of that item
2022-01-04 08:56:54,927 [REPOSITORY] [main] WARN (com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever): Object report: Certification definitions report (OID:00000000-0000-0000-0000-000000000130) parsed with 2 warnings
2022-01-04 08:56:54,934 [REPOSITORY] [main] WARN (com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller): Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}reportEngine was removed from the schema, skipped processing of that item
2022-01-04 08:56:54,934 [REPOSITORY] [main] WARN (com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller): Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}jasper was removed from the schema, skipped processing of that item
2022-01-04 08:56:54,934 [REPOSITORY] [main] WARN (com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever): Object report: Certification campaigns report (OID:00000000-0000-0000-0000-000000000140) parsed with 2 warnings
2022-01-04 08:56:54,941 [REPOSITORY] [main] WARN (com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller): Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}reportEngine was removed from the schema, skipped processing of that item
2022-01-04 08:56:54,941 [REPOSITORY] [main] WARN (com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller): Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}jasper was removed from the schema, skipped processing of that item
2022-01-04 08:56:54,941 [REPOSITORY] [main] WARN (com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever): Object report: Certification cases report (OID:00000000-0000-0000-0000-000000000150) parsed with 2 warnings
2022-01-04 08:56:54,948 [REPOSITORY] [main] WARN (com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller): Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}reportEngine was removed from the schema, skipped processing of that item
2022-01-04 08:56:54,948 [REPOSITORY] [main] WARN (com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller): Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}jasper was removed from the schema, skipped processing of that item
2022-01-04 08:56:54,948 [REPOSITORY] [main] WARN (com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever): Object report: Certification decisions report (OID:00000000-0000-0000-0000-000000000160) parsed with 2 warnings

Those warning do not seem to be critical but since I encounter blocking issues later, I would a system as clean as possible.

For instance, I was not able to find jasper in the schema documentation for earlier version only this:
https://evolveum.com/downloads/midpoint/4.1/midpoint-4.1-javadoc/com/evolveum/midpoint/xml/ns/_public/common/common_3/JasperReportEngineConfigurationType.html

2022-01-04 08:56:55,119 [REPOSITORY] [main] WARN (com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller): Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}auditSearch has no definition (in value CTD ({.../common/common-3}ObjectCollectionType))while parsing (
  metadata =>
    (
      createTimestamp =>
        2021-11-26T17:41:34.532+01:00 (class org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl)
      requestTimestamp =>
        2021-11-26T17:41:34.526+01:00 (class org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl)
      createChannel =>
        http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#init (class java.lang.String)
    )
  {...common/common-3}auditSearch =>
    (
      {...common/common-3}recordQuery =>
        parser ValueParser(DOM-less, select * from m_audit_event as aer where aer.outcome=3 and aer.eventStage=1, namespace declarations)
      {...common/common-3}domainQuery =>
        P
[...]
2022-01-04 08:56:55,119 [REPOSITORY] [main] WARN (com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever): Object objectCollection: Error audit records (OID:00000000-0000-0000-0001-000000000004) parsed with 1 warnings

Same as above, I don't find auditSearch in the online documentation, even in the version 4.0
Can someone could give a tip to clean the system ?

My critical issue is still the outbound mapping on the LDAP connectors (see below).

I also encounter this issue at start-up  :
2022-01-04 08:56:56,128 [PROVISIONING] [main] ERROR (com.evolveum.midpoint.provisioning.impl.ConnectorManager): Inconsistent representation of ConnectorType, one has connectorVersion and other does not. OIDs: null and d3f1b045-bf18-4fd6-a3d6-40a8586a1bed
2022-01-04 08:56:56,131 [PROVISIONING] [main] ERROR (com.evolveum.midpoint.provisioning.impl.ConnectorManager): Inconsistent representation of ConnectorType, one has connectorVersion and other does not. OIDs: null and d73dd0be-b347-41d4-a40a-b43974fe5bc1

I removed the previous versions of the connectors and only the bundled versions with midpoint 4.4 are present (2.4 for the csv and  3.3 for ldap) and all the ressources are up to date.

There are also mamy errors such as :
2022-01-04 08:57:11,111 [] [midPointScheduler_Worker-2] INFO (org.apache.directory.api.ldap.model.schema.registries.Registries): ERR_13748_MATCHING_RULE_NO_SYNTAX The MatchingRule 2.5.13.21 does not have a syntax. This is invalid
2022-01-04 08:57:11,111 [] [midPointScheduler_Worker-2] INFO (org.apache.directory.api.ldap.model.schema.registries.Registries): ERR_13748_MATCHING_RULE_NO_SYNTAX The MatchingRule 2.5.13.4 does not have a syntax. This is invalid
2022-01-04 08:57:11,111 [] [midPointScheduler_Worker-2] INFO (org.apache.directory.api.ldap.model.schema.registries.Registries): ERR_13748_MATCHING_RULE_NO_SYNTAX The MatchingRule 2.5.13.7 does not have a syntax. This is invalid

I have no clue about the root cause.

And to finish, the blocking errors on the ldap :
2022-01-04 08:57:13,703 [] [midPointScheduler_Worker-2] ERROR (com.evolveum.midpoint.repo.common.expression.Expression): Error evaluating expression in expression in mapping in outbound mapping for attribute {.../resource/instance-3}sn in resource:resourceName Unknown path segment familyName-{}
java.lang.IllegalArgumentException: Unknown path segment familyName
        at com.evolveum.midpoint.prism.polystring.PolyString.resolve(PolyString.java:177)
        at com.evolveum.midpoint.prism.util.ItemDeltaItem.resolveStructuredPropertyItem(ItemDeltaItem.java:401)
        at com.evolveum.midpoint.prism.util.ItemDeltaItem.resolveStructuredProperty(ItemDeltaItem.java:389)

The mapping did not change between the two versions so I really don't get it.
In the affected resource, the occurrences for sn are:
<xsd:element maxOccurs="unbounded" name="sn" type="xsd:string">
                            <xsd:annotation>
                                <xsd:appinfo>
                                    <a:displayOrder>450</a:displayOrder>
                                    <a:matchingRule xmlns:qn166="http://prism.evolveum.com/xml/ns/public/matching-rule-3">qn166:stringIgnoreCase</a:matchingRule>
                                    <ra:nativeAttributeName>sn</ra:nativeAttributeName>
                                    <ra:frameworkAttributeName>sn</ra:frameworkAttributeName>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>

And :
<attribute >
                <ref>ri:sn</ref>
                <description>Surname</description>
                <limitations>
                    <minOccurs>0</minOccurs>
                    <maxOccurs>1</maxOccurs>
                </limitations>
                <outbound>
                    <strength>strong</strength>
                    <source>
                        <path>$focus/familyName</path>
                    </source>
                    <expression>
                        <function>
                            <libraryRef oid="xx-xxx-xxx" type="FunctionLibraryType"/>
                            <name>FunctionName</name>
                            <parameter xsi:type="c:ExpressionParameterType">
                                <name>texte</name>
                                <expression>
                                    <path>familyName</path>
                                </expression>
                            </parameter>
                        </function>
                    </expression>
                </outbound>
            </attribute>

Does anyone would have some ideas about wthat's going on ?

Thank you very much for your help.

[logo]<https://www.positivethinking.tech/>

Sébastien Marbrier  | Senior IT Consultant
smarbrier at positivethinking.tech<mailto:smarbrier at positivethinking.tech>

Tel. +41 21 601 81 00<tel:+41%2021%20601%2081%2000>

[Teams chat]<https://teams.microsoft.com/l/chat/0/0?users=smarbrier@positivethinking.tech>
 <https://teams.microsoft.com/l/chat/0/0?users=smarbrier@positivethinking.tech>
Chat with me on Teams<https://teams.microsoft.com/l/chat/0/0?users=smarbrier@positivethinking.tech>



[LinkedIn]<https://www.linkedin.com/company/the-positive-thinking-company/>  [Instagram] <https://www.instagram.com/positivethinkingcompany/>   [Vimeo] <https://twitter.com/PTC_Tech>   [Vimeo] <https://youtube.com/channel/UCfaImWa6r0IoZoUYLhbiF7w>
Avenue de cour, 135 - 1007 Lausanne
www.positivethinking.tech<https://www.positivethinking.tech/>

________________________________
Help save paper, do you really need to print this email?
The content of this email and any attachments are confidential and are intended solely for the person and/or company to whom they are addressed. The information may also be legally privileged. No employee or agent is authorized to conclude any binding agreement on behalf of Positive Thinking Company with another party by email without express written confirmation. If you have received this email in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by return E-mail and delete this message, its attachments and all copies from your system. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. Thank you for your cooperation.



________________________________
Positive Thinking Company puts security at a high priority in its conduct of business. Therefore, we have put our best efforts into ensuring that this email and its attached documents are error and virus-free. Nonetheless, full security of emails/documents cannot be ensured. Therefore, the recipient is responsible for checking the email/documents for threats with its own security measures, prior to opening it. Positive Thinking Company does not accept liability for any damage inflicted by using the content of this email/documents. If you are not the intended recipient, please notify the sender and delete this email/document.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220104/0d940d61/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7735 bytes
Desc: image001.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220104/0d940d61/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 686 bytes
Desc: image002.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220104/0d940d61/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 2337 bytes
Desc: image003.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220104/0d940d61/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 2756 bytes
Desc: image004.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220104/0d940d61/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 2358 bytes
Desc: image005.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220104/0d940d61/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 2669 bytes
Desc: image006.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220104/0d940d61/attachment-0011.png>


More information about the midPoint mailing list