Unfortunately, it looks like any move of a user from one OU to another
is producing a NullPointerException and the driver dies. We're using a
mirrored setup and this, of course, used to work fine prior to the
driver update.

Is this just a bug?

Here's a stack trace:

<move class-name="UserEntry"
event-id="aiidm01v#20150417160532#1#2:ae702041-e5d8-4943-faab-412070aed8e5"
qualified-src-dn="O=data\OU=SOUPeople\OU=Employees\CN=USERNAME"
src-dn="\SOUID\data\SOUPeople\Employees\USERNAME" src-entry-id="72725">
<association>USERNAME@sou.edu</association>
<parent dest-dn="SOUPeople\Employees"/>
</move>
</input>
</nds>
DirXML:
DirXML: [04/17/15 09:05:32.28]: TRACE: dispatch
DirXML: [04/17/15 09:05:32.28]: TRACE: modifyHandler
DirXML: [04/17/15 09:05:32.28]: TRACE: Remote Loader: Waiting for
receive...
DirXML: [04/17/15 09:05:32.28]: TRACE: modifyHandler: class-name ==
'UserEntry'
DirXML: [04/17/15 09:05:32.28]: TRACE: modifyHandler: association ==
'USERNAME@sou.edu'
DirXML: [04/17/15 09:05:32.28]: TRACE:
DirectoryAppClient.isEmailAddressFormat(): validating USERNAME@sou.edu
DirXML: [04/17/15 09:05:32.28]: TRACE:
DirectoryAppClient.retrieveUser(): Retrieving object USERNAME@sou.edu
DirXML: [04/17/15 09:05:32.66]: TRACE:
GMailSubscriptionShim.handleUserModify(): attr-name == 'GivenName'
DirXML: [04/17/15 09:05:32.66]: TRACE: addSingleValueHandler:
add-value == 'First'
DirXML: [04/17/15 09:05:32.66]: TRACE: getAssociationRefFromValue:
assoc-ref received a null Association-Ref
DirXML: [04/17/15 09:05:32.66]: TRACE: getValueAssociationRef:
assoc-ref received a null Association-Ref
DirXML: [04/17/15 09:05:32.66]: TRACE:
GMailSubscriptionShim.handleUserModify(): attr-name == 'IsSuspended'
DirXML: [04/17/15 09:05:32.66]: TRACE: addSingleValueHandler:
add-value == 'false'
DirXML: [04/17/15 09:05:32.66]: TRACE: getAssociationRefFromValue:
assoc-ref received a null Association-Ref
DirXML: [04/17/15 09:05:32.66]: TRACE: getValueAssociationRef:
assoc-ref received a null Association-Ref
DirXML: [04/17/15 09:05:32.66]: TRACE:
DirectoryAppClient.restoreuser(): Restoring system access for user
DirXML: [04/17/15 09:05:32.66]: TRACE:
GMailSubscriptionShim.handleUserModify(): attr-name == 'FamilyName'
DirXML: [04/17/15 09:05:32.66]: TRACE: addSingleValueHandler:
add-value == 'Last'
DirXML: [04/17/15 09:05:32.66]: TRACE: getAssociationRefFromValue:
assoc-ref received a null Association-Ref
DirXML: [04/17/15 09:05:32.66]: TRACE: getValueAssociationRef:
assoc-ref received a null Association-Ref
DirXML: [04/17/15 09:05:32.66]: TRACE:
GMailSubscriptionShim.handleUserModify(): attr-name ==
'WorkPhoneNumber'
DirXML: [04/17/15 09:05:32.66]: TRACE:
DirectoryAppClient.removePhoneByType(): Phone type = work
DirXML: [04/17/15 09:05:32.66]: TRACE:
ObjectMapper.getUserPhoneFromMap(): Entry()
DirXML: [04/17/15 09:05:32.66]: TRACE: addSingleValueHandler:
add-value == '541-123-4567'
DirXML: [04/17/15 09:05:32.66]: TRACE: getAssociationRefFromValue:
assoc-ref received a null Association-Ref
DirXML: [04/17/15 09:05:32.66]: TRACE: getValueAssociationRef:
assoc-ref received a null Association-Ref
DirXML: [04/17/15 09:05:32.66]: TRACE:
DirectoryAppClient.setPhoneNumber(): Phone type = work; Value =
541-123-4567
DirXML: [04/17/15 09:05:32.66]: TRACE:
GMailSubscriptionShim.handleUserModify(): attr-name == 'Assistant'
DirXML: [04/17/15 09:05:32.66]: TRACE:
DirectoryAppClient.removeRelationByType(): Relation = assistant
DirXML: [04/17/15 09:05:32.66]: TRACE:
DirectoryAppClient.removeRelationByType(): no Phones returned from
user.getRelations()
DirXML: [04/17/15 09:05:32.66]: TRACE:
GMailSubscriptionShim.handleUserModify(): attr-name == 'OrgName'
DirXML: [04/17/15 09:05:32.66]: TRACE:
DirectoryAppClient.removeOrganizationNameValue(): Type = work; Value =
null
DirXML: [04/17/15 09:05:32.66]: TRACE:
ObjectMapper.getUserOrganizationFromMap(): Entry()
DirXML: [04/17/15 09:05:32.66]: TRACE:
GMailSubscriptionShim.handleUserModify(): attr-name == 'Manager'
DirXML: [04/17/15 09:05:32.66]: TRACE:
DirectoryAppClient.removeRelationByType(): Relation = manager
DirXML: [04/17/15 09:05:32.66]: TRACE:
DirectoryAppClient.removeRelationByType(): no Phones returned from
user.getRelations()
DirXML: [04/17/15 09:05:32.66]: TRACE:
GMailSubscriptionShim.handleUserModify(): attr-name ==
'MobilePhoneNumber'
DirXML: [04/17/15 09:05:32.66]: TRACE:
DirectoryAppClient.removePhoneByType(): Phone type = mobile
DirXML: [04/17/15 09:05:32.66]: TRACE:
GMailSubscriptionShim.handleUserModify(): attr-name == 'Alias'
DirXML: [04/17/15 09:05:32.73]: TRACE: Remote Loader:
SubscriptionShim.execute() returned:
DirXML: [04/17/15 09:05:32.73]: TRACE: <nds dtdversion="3.0">
<source>
<product build="20150407_0011" instance="Google Apps"
version="4.0.5.0">GoogleApps Driver</product>
<contact>NetIQ Corporation</contact>
</source>
<output>
<status
event-id="aiidm01v#20150417160532#1#2:ae702041-e5d8-4943-faab-412070aed8e5"
level="fatal" type="driver-status">

<description>java.lang.NullPointerException</description>
<exception
class-name="java.lang.NullPointerException">

<stack-trace>java.lang.NullPointerException
at java.util.ArrayList.addAll(Unknown Source)
at
com.novell.nds.dirxml.driver.gmailshim.DirectoryAp pClient.removeAllUserAliasValues(DirectoryAppClien t.java:8589)
at
com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.removeAllValuesHandler(GMailSubscriptio nShim.java:8718)
at
com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.handleUserModify(GMailSubscriptionShim. java:4650)
at
com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.modifyHandler(GMailSubscriptionShim.jav a:3807)
at
com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.dispatch(GMailSubscriptionShim.java:616 )
at
com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.execute(GMailSubscriptionShim.java:485)
at
com.novell.nds.dirxml.remote.loader.Driver.driverS tart(Driver.java:155)
at
com.novell.nds.dirxml.remote.loader.RemoteLoader.r un(RemoteLoader.java:950)
at java.lang.Thread.run(Unknown Source)
</stack-trace>


--
christb
------------------------------------------------------------------------
christb's Profile: https://forums.netiq.com/member.php?userid=6487
View this thread: https://forums.netiq.com/showthread.php?t=53341