Hi all,

I have implemented the Google driver in my environment.
I can create a new Shared Contact but when I update the email address, I
received the following exception:


Code:
--------------------
09:54:41 1138 Drvrs: google-system ST:Stripping operation data from input document
09:54:41 1138 Drvrs: google-system ST:execute
09:54:41 1138 Drvrs: google-system ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.1.2">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify cached-time="20130527075440.612Z" class-name="ContactEntry" event-id="CHBSMV-CORPDT02-NDS#20130527075440#1#1:bc909b58-587c-42c2-9a6d-d1729b00655f" qualified-src-dn="dc=corp\O=mycompany\OU=people\OU=users\CN=test s" src-dn="\CDTEST\corp\mycompany\people\users\tests" src-entry-id="41917" timestamp="1369641280#2">
<association state="associated">https://www.google.com/m8/feeds/contacts/test.mycompany.com/full/2d0f8c390ec74c2a</association>
<modify-attr attr-name="WorkEmailAddress">
<remove-value>
<value timestamp="1369641247#2" type="string">user.test@mycompanytst.com</value>
</remove-value>
<add-value>
<value timestamp="1369641280#2" type="string">user.test@test.mycompany.com</value>
</add-value>
</modify-attr>
<modify-attr attr-name="ProfileGivenName">
<remove-all-values/>
<add-value>
<value type="string">user</value>
</add-value>
</modify-attr>
<modify-attr attr-name="ProfileFamilyName">
<remove-all-values/>
<add-value>
<value type="string">test</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
09:54:41 1138 Drvrs: google-system ST:connect
09:54:41 1138 Drvrs: google-system ST:dispatch
09:54:41 1138 Drvrs: google-system ST:modifyHandler
09:54:41 1138 Drvrs: google-system ST:modifyHandler: class-name == 'ContactEntry'
09:54:41 1138 Drvrs: google-system ST:modifyHandler: association == 'https://www.google.com/m8/feeds/contacts/test.mycompany.com/full/2d0f8c390ec74c2a'
09:54:41 1138 Drvrs: google-system ST:modifyHandler: attr-name == 'WorkEmailAddress'
09:54:41 1138 Drvrs: google-system ST:getAssociationRefFromValue: assoc-ref received a null Association-Ref
09:54:41 1138 Drvrs: google-system ST:GMailSubscriptionShim.removeValueHandler(): remove-value == 'user.test@mycompanytst.com'; Assoc-ref = null
09:54:41 1138 Drvrs: google-system ST:AppsForYourDomain.removeProfileEmailAttributeBy TypeAndValue: Username = 'https://www.google.com/m8/feeds/contacts/test.mycompany.com/full/2d0f8c390ec74c2a'.; EmailAddress Value = user.test@mycompanytst.com; Email Type = http://schemas.google.com/g/2005#work
09:54:41 1138 Drvrs: google-system ST:appsForYourDomain.getContactObject: EntryURL = https://www.google.com/m8/feeds/cont...0f8c390ec74c2a
09:54:41 1138 Drvrs: google-system ST:AppsForYourDomainClient.getContactObject creating URL from spec = https://www.google.com/m8/feeds/cont...0f8c390ec74c2a
09:54:41 1138 Drvrs: google-system ST:Restoring operation data to output document
09:54:41 1138 Drvrs: google-system ST:SubscriptionShim.execute() returned:
09:54:41 1138 Drvrs: google-system ST:
<nds dtdversion="3.0">
<source>
<product build="20130328_1359" instance="google-system" version="4.0.2.1">GoogleApps Driver</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status event-id="CHBSMV-CORPDT02-NDS#20130527075440#1#1:bc909b58-587c-42c2-9a6d-d1729b00655f" level="fatal" type="driver-status">
<description>java.lang.NullPointerException</description>
<exception class-name="java.lang.NullPointerException">
<stack-trace>java.lang.NullPointerException
at java.lang.String.compareTo(Unknown Source)
at com.novell.nds.dirxml.driver.gmailshim.AppsForYour DomainClient.getEmailObjectByType(AppsForYourDomai nClient.java:4079)
at com.novell.nds.dirxml.driver.gmailshim.AppsForYour DomainClient.removeProfileEmailAttributeByTypeAndV alue(AppsForYourDomainClient.java:4428)
at com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.removeValueHandler(GMailSubscriptionShi m.java:8018)
at com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.handleContactModify(GMailSubscriptionSh im.java:5331)
at com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.modifyHandler(GMailSubscriptionShim.jav a:3822)
at com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.dispatch(GMailSubscriptionShim.java:603 )
at com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.execute(GMailSubscriptionShim.java:494)
at com.novell.nds.dirxml.engine.Subscriber.execute(Su bscriber.java:448)
at com.novell.nds.dirxml.engine.Subscriber.execute(Su bscriber.java:282)
at com.novell.nds.dirxml.engine.Subscriber$ModifyProc essor.process(Subscriber.java:1499)
at com.novell.nds.dirxml.engine.Subscriber.processEve nt(Subscriber.java:1102)

09:54:41 1138 Drvrs: at com.novell.nds.dirxml.engine.Subscriber.processEve nts(Subscriber.java:946)
at com.novell.nds.dirxml.engine.Driver.submitTransact ion(Driver.java:628)
at com.novell.nds.dirxml.engine.DriverEntry.submitTra nsaction(DriverEntry.java:1065)
at com.novell.nds.dirxml.engine.DriverEntry.processCa chedTransaction(DriverEntry.java:949)
at com.novell.nds.dirxml.engine.DriverEntry.eventLoop (DriverEntry.java:771)
at com.novell.nds.dirxml.engine.DriverEntry.run(Drive rEntry.java:561)
at java.lang.Thread.run(Unknown Source)
</stack-trace>
</exception>
<document xml:space="preserve"><nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.1.2">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify cached-time="20130527075440.612Z" class-name="ContactEntry" event-id="CHBSMV-CORPDT02-NDS#20130527075440#1#1:bc909b58-587c-42c2-9a6d-d1729b00655f" qualified-src-dn="dc=corp\O=mycompany\OU=people\OU=users\CN=test s" src-dn="\CDTEST\corp\mycompany\people\users\tests" src-entry-id="41917" timestamp="1369641280#2">
<association state="associated">https://www.google.com/m8/feeds/contacts/test.mycompany.com/full/2d0f8c390ec74c2a</association>
<modify-attr attr-name="WorkEmailAddress">
<remove-value>
<value timestamp="1369641247#2" type="string">user.test@mycompanytst.com</value>
</remove-value>
<add-value>
<value timestamp="1369641280#2" type="string">user.test@test.mycompany.com</value>
</add-value>
</modify-attr>
<modify-attr attr-name="ProfileGivenName">
<remove-all-values/>
<add-value>
09:54:41 1138 Drvrs: <value type="string">user</value>
</add-value>
</modify-attr>
<modify-attr attr-name="ProfileFamilyName">
<remove-all-values/>
<add-value>
<value type="string">test</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds></document>
<operation-data association="https://www.google.com/m8/feeds/contacts/test.mycompany.com/full/2d0f8c390ec74c2a" src-dn="\CDTEST\corp\mycompany\people\users\tests" user-profile="update"/>
</status>
</output>
</nds>
--------------------


Do you have an idea where it could come from?

Thanks for your help!


--
marieno2
------------------------------------------------------------------------
marieno2's Profile: https://forums.netiq.com/member.php?userid=417
View this thread: https://forums.netiq.com/showthread.php?t=47830