[midPoint] NullPointerException auxiliaryObjectClass

Menke, Christopher christopher.menke at gwdg.de
Tue Oct 18 08:26:24 CEST 2016


Dear all,

I tried to configure an LDAP resource to import all LDAP accounts to midPoint but there is a problem with support of auxiliaryObjectClass.
Attributes of ObjectClass "InetOrgPerson" will be imported successfully, but no attributes of our own ObjectClass will be imported (example: userType).
As well I got an "Internal error: java.lang.NullPointerException: null" Error for each user (see attachments).

Can someone help (Version: 3.4 Update 1)?

<schema>
      <cachingMetadata>
         <retrievalTimestamp>2016-10-18T07:59:10.793+02:00</retrievalTimestamp>
         <serialNumber>d357b113014f44ba-9ad8882eb135eaa7</serialNumber>
      </cachingMetadata>
      <generationConstraints>
         <generateObjectClass>ri:inetOrgPerson</generateObjectClass>
         <generateObjectClass>ri:TESTuser</generateObjectClass>
      </generationConstraints>
   </schema>
   <schemaHandling>
      <objectType>
         <kind>account</kind>
         <default>true</default>
         <objectClass>ri:inetOrgPerson</objectClass>
         <auxiliaryObjectClass>ri:TESTuser</auxiliaryObjectClass>
         <attribute>
            <c:ref>ri:cn</c:ref>
            <tolerant>true</tolerant>
            <exclusiveStrong>false</exclusiveStrong>
            <inbound>
               <authoritative>true</authoritative>
               <exclusive>false</exclusive>
               <strength>normal</strength>
               <target>
                  <c:path>$user/name</c:path>
               </target>
            </inbound>
         </attribute>
        <attribute>
            <c:ref>ri:sn</c:ref>
            <tolerant>true</tolerant>
            <exclusiveStrong>false</exclusiveStrong>
            <inbound>
               <authoritative>true</authoritative>
               <exclusive>false</exclusive>
               <strength>normal</strength>
               <target>
                  <c:path>$user/familyName</c:path>
               </target>
            </inbound>
         </attribute>
         <attribute>
            <c:ref>ri:givenName</c:ref>
            <tolerant>true</tolerant>
            <exclusiveStrong>false</exclusiveStrong>
            <inbound>
               <authoritative>true</authoritative>
               <exclusive>false</exclusive>
               <strength>normal</strength>
               <target>
                  <c:path>$user/extension/businessAddress1</c:path>
               </target>
            </inbound>
         </attribute>
         <attribute>
            <c:ref>ri:userType</c:ref>
            <tolerant>true</tolerant>
           <exclusiveStrong>false</exclusiveStrong>
            <inbound>
               <authoritative>true</authoritative>
               <exclusive>false</exclusive>
               <strength>normal</strength>
               <target>
                  <c:path>$user/extension/userType</c:path>
               </target>
            </inbound>
         </attribute>
      </objectType>
   </schemaHandling>


Best regards,

Christopher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20161018/447869bf/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error3.PNG
Type: image/png
Size: 40903 bytes
Desc: error3.PNG
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20161018/447869bf/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error2.PNG
Type: image/png
Size: 40414 bytes
Desc: error2.PNG
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20161018/447869bf/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error1.PNG
Type: image/png
Size: 52310 bytes
Desc: error1.PNG
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20161018/447869bf/attachment-0002.png>


More information about the midPoint mailing list