Environment
Identity Manager 4.7
Identity Manager 4.8
Google Apps Driver 4.2.0.0 or older
Situation
The Google Apps Driver will process a few hundred events and then terminate with a Null
Pointer Exception. You are able to start the driver back up at which point it will process a some events and then crash again with a Null
Pointer Exception.
Driver Trace will show something similar to the details provided below:
<description>GoogleJsonResponseException: Member already exists.</description>
<exception class-name="com.google.api.client.googleapis.json.GoogleJsonResponseException">
<exception class-name="com.google.api.client.googleapis.json.GoogleJsonResponseException">
<status event-id="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" level="fatal" type="driver-status">
<description>java.lang.NullPointerException</description>
<exception class-name="java.lang.NullPointerException">
<stack-trace>java.lang.NullPointerException
at com.novell.nds.dirxml.driver.gmailshim.DirectoryAppClient.patchGroup(DirectoryAppClient.java:2241)
at com.novell.nds.dirxml.driver.gmailshim.GMailSubscriptionShim.handleGroupModify(GMailSubscriptionShim.java:7501)
at com.novell.nds.dirxml.driver.gmailshim.GMailSubscriptionShim.modifyHandler(GMailSubscriptionShim.java:4446)
at com.novell.nds.dirxml.driver.gmailshim.GMailSubscriptionShim.dispatch(GMailSubscriptionShim.java:635)
at com.novell.nds.dirxml.driver.gmailshim.GMailSubscriptionShim.execute(GMailSubscriptionShim.java:511)
at com.novell.nds.dirxml.engine.Subscriber.execute(Subscriber.java:473)
at com.novell.nds.dirxml.engine.Subscriber.execute(Subscriber.java:304)
at com.novell.nds.dirxml.engine.Subscriber$ModifyProcessor.process(Subscriber.java:1760)
at com.novell.nds.dirxml.engine.Subscriber.processEvent(Subscriber.java:1197)
at com.novell.nds.dirxml.engine.Subscriber.processEvents(Subscriber.java:1010)
at com.novell.nds.dirxml.engine.Driver.submitTransaction(Driver.java:901)
at com.novell.nds.dirxml.engine.DriverEntry.submitTransaction(DriverEntry.java:1174)
at com.novell.nds.dirxml.engine.DriverEntry.processCachedTransaction(DriverEntry.java:1058)
at com.novell.nds.dirxml.engine.DriverEntry.eventLoop(DriverEntry.java:866)
at com.novell.nds.dirxml.engine.DriverEntry.run(DriverEntry.java:640)
at java.lang.Thread.run(Thread.java:748)
<description>java.lang.NullPointerException</description>
<exception class-name="java.lang.NullPointerException">
<stack-trace>java.lang.NullPointerException
at com.novell.nds.dirxml.driver.gmailshim.DirectoryAppClient.patchGroup(DirectoryAppClient.java:2241)
at com.novell.nds.dirxml.driver.gmailshim.GMailSubscriptionShim.handleGroupModify(GMailSubscriptionShim.java:7501)
at com.novell.nds.dirxml.driver.gmailshim.GMailSubscriptionShim.modifyHandler(GMailSubscriptionShim.java:4446)
at com.novell.nds.dirxml.driver.gmailshim.GMailSubscriptionShim.dispatch(GMailSubscriptionShim.java:635)
at com.novell.nds.dirxml.driver.gmailshim.GMailSubscriptionShim.execute(GMailSubscriptionShim.java:511)
at com.novell.nds.dirxml.engine.Subscriber.execute(Subscriber.java:473)
at com.novell.nds.dirxml.engine.Subscriber.execute(Subscriber.java:304)
at com.novell.nds.dirxml.engine.Subscriber$ModifyProcessor.process(Subscriber.java:1760)
at com.novell.nds.dirxml.engine.Subscriber.processEvent(Subscriber.java:1197)
at com.novell.nds.dirxml.engine.Subscriber.processEvents(Subscriber.java:1010)
at com.novell.nds.dirxml.engine.Driver.submitTransaction(Driver.java:901)
at com.novell.nds.dirxml.engine.DriverEntry.submitTransaction(DriverEntry.java:1174)
at com.novell.nds.dirxml.engine.DriverEntry.processCachedTransaction(DriverEntry.java:1058)
at com.novell.nds.dirxml.engine.DriverEntry.eventLoop(DriverEntry.java:866)
at com.novell.nds.dirxml.engine.DriverEntry.run(DriverEntry.java:640)
at java.lang.Thread.run(Thread.java:748)
Resolution
Upgrade Google Apps Driver to Version 4.2.0.1, which is available for download here: https://dl.netiq.com/Download?buildid=9nCyPKLQNWg~
Cause
This issue is caused by a change that was made to the Google Groups API (circa December 2019) which causes near constant shutdowns to the Google Apps Driver.