[midPoint] NullPointerException auxiliaryObjectClass
Radovan Semancik
radovan.semancik at evolveum.com
Tue Nov 8 15:43:24 CET 2016
Hi,
NullPointerException (almost) always means that you have hit a bug. To
be completely honest the handling of auxiliary object classes in the
inbound direction was never tested well. So it is very likely that this
is a bug. I can recommend to file a bug report:
https://wiki.evolveum.com/display/midPoint/I+Have+Found+a+Bug
However, I'm afraid that the whole midPoint development team is
currently very busy. We are preparing the 3.5 release with a lot of new
exciting features. Therefore the time for bugfixes is quite limited now
and we need to prioritized. It is unlikely that we will have the time to
fix this bug anytime soon unless a it is prioritized by midPoint subscriber.
--
Radovan Semancik
Software Architect
evolveum.com
On 10/18/2016 08:26 AM, Menke, Christopher wrote:
>
> 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
>
>
>
> _______________________________________________
> 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/20161108/b2a9d0e0/attachment.htm>
More information about the midPoint
mailing list