Hi guys!

I'm running the Google Apps 1.0.0 on IdM 4.0.1.1 and I'm coming across
an interesting crash where if a preferredName attribute (maps to GA's
NickNames) comes across with an empty value, the driver crashes (much
more detail at the bottom).

<modify-attr attr-name="NickNames">
<remove-value>
<value timestamp="1333633122#7"
type="string">contactinfo</value>
</remove-value>
<add-value>
<value timestamp="1337741280#8" type="string"/>
</add-value>
</modify-attr>

I was wondering how to go about tackling this. I'm not sure that it's
really a bug, tho I wouldn't expect the driver to crash, just bail or
something. Anyway, I was thinking it was more an issue of me needing to
add, say, a Rule that only carries the add/modify-attr attr-name if the
"string" isn't empty. For the life of me, I haven't been able to get my
Rules to evaluate if a value is empty or not.

Any suggestions would be appreciated.

Thanks,

Bill

More on the error:


[05/22/12 21:48:02.868]:Google Apps ST:
DirXML Log Event -------------------
Driver: \IDMVAULT\services\DriverSet\Google Apps
Channel: Subscriber
Status: Fatal
Message: Code(-9005) The driver returned a "fatal" status
indicating that the driver should be shut down. Detail from driver:
<description>java.lang.NullPointerException</description>
<exception class-name="java.lang.NullPointerException">
<stack-trace>java.lang.NullPointerException
at java.lang.String.&lt;init>(Unknown Source)
at
com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.add_valueNicknameValueHandler(GMailSubs criptionShim.java:5146)
at
com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.handleUserModify(GMailSubscriptionShim. java:3494)
at
com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.modifyHandler(GMailSubscriptionShim.jav a:3299)
at
com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.dispatch(GMailSubscriptionShim.java:562 )
at
com.novell.nds.dirxml.driver.gmailshim.GMailSubscr iptionShim.execute(GMailSubscriptionShim.java:453)
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:1491)
at
com.novell.nds.dirxml.engine.Subscriber.processEve nt(Subscriber.java:1094)
at
com.novell.nds.dirxml.engine.Subscriber.processEve nts(Subscriber.java:938)
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">&lt;nds dtdversion="4.0"
ndsversion="8.x">
&lt;source>
&lt;product edition="Standard" version="4.0.1.0">DirXML&lt;/product>
&lt;contact>Novell, Inc.&lt;/contact>
&lt;/source>
&lt;input>
&lt;modify cached-time="20120523024800.220Z" class-name="UserEntry"
event-id="matthew#20120523024800#3#1:d496eb11-ec80-4233-909d-11eb96d480ec"
qualified-src-dn="O=vault\OU=users\CN=blee"
src-dn="\IDMVAULT\vault\users\blee" src-entry-id="49559"
timestamp="1337741280#8">
&lt;association
state="associated">https://apps-apis.google.com/a/feeds/tiu.edu/user/2.0/blee&lt;/association>
&lt;modify-attr attr-name="NickNames">
&lt;remove-value>
&lt;value timestamp="1333633122#7"
type="string">contactinfo&lt;/value>
&lt;/remove-value>
&lt;add-value>
&lt;value timestamp="1337741280#8" type="string"/>
&lt;/add-value>
&lt;/modify-attr>
&lt;/modify>
&lt;move class-name="UserEntry"
event-id="matthew#20120523024800#3#1:d496eb11-ec80-4233-909d-11eb96d480ec_opData0"
qualified-src-dn="O=vault\OU=users\CN=blee"
src-dn="\IDMVAULT\vault\users\blee" src-entry-id="49559">
&lt;association>https://apps-apis.google.com/a/feeds/tiu.edu/user/2.0/blee&lt;/association>
&lt;parent dest-dn="employees\"/>
&lt;/move>
&lt;/input>
&lt;/nds></document>


--
bscully
------------------------------------------------------------------------
bscully's Profile: http://forums.novell.com/member.php?userid=16027
View this thread: http://forums.novell.com/showthread.php?t=456148