Nullpointer Exception Met While Encrypted Data Synchronization Task Was Running

Hi there, sailors Hopefully, all is well with you.

Nullpointer exception has been occurring when I’m executing the “Encrypted Data Synchronization task”.We first encountered a different error message, which read, “An unexpected error occurred: Given final block not properly padded. Such issues can arise if a bad key is used during decryption…” But in some way, we managed to locate the application whose password isn’t decryptable and fixed it, then from later execution onwards we’re encountering a Null Pointer Exception.I would appreciate any assistance with this matter.

Current Error:- An unexpected error occurred: java.lang.NullPointerException

Hi @LohithHarish,

Have you configured correctly the keystore?
You can follow this guide:
https://community.sailpoint.com/t5/Technical-White-Papers/Using-the-IdentityIQ-Keystore/ta-p/75490

If yes, try to activate, on for time, the flag of the task:
image

first only application, later only identity ecc…so you can find in which type of object there is a problem.

Also, you can activate the logs for this task for have more informations:
log4j.logger.sailpoint.task.EncryptedDataSyncExecutor=trace

Sure this task is tring to recalculate a pwd of something without pwd or inconsistent

Thanks for the reply @enistri_devo i’ll give it a try

Finally, we were able to figure out the reason for this failure. There are a few apps that were corrupted, which caused this.

1 Like

@enistri_devo Thanks for your suggestions. I am also getting JavaNullPointerException while running the Encrypted Data Synchronization task. Below is the Catalina.out log for the same

2024-08-30T17:03:08,584 ERROR QuartzScheduler_Worker-1 sailpoint.task.EncryptedDataSyncExecutor:358 - Error executing Key Sync.
java.lang.NullPointerException: null
at sailpoint.tools.path.PutAllPathVisitor.visit(PutAllPathVisitor.java:46) ~[identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.tools.path.Path.accept(Path.java:56) ~[identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.tools.MapUtil.putAll(MapUtil.java:112) ~[identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.task.EncryptedDataSyncExecutor.encryptAppConfigAttr(EncryptedDataSyncExecutor.java:581) ~[identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.task.EncryptedDataSyncExecutor.handleApplication(EncryptedDataSyncExecutor.java:542) ~[identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.task.EncryptedDataSyncExecutor.roundtrip(EncryptedDataSyncExecutor.java:407) ~[identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.task.EncryptedDataSyncExecutor.execute(EncryptedDataSyncExecutor.java:304) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.TaskManager.runSync(TaskManager.java:981) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.TaskManager.runSync(TaskManager.java:764) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.scheduler.JobAdapter.execute(JobAdapter.java:128) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:?]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:?]

Also, I have run the task by activating those flag one at a time. But every time it failed with NullPointerException, but while activating Disable Application Synchronizationflag, got An unexpected error occurred: org.hibernate.exception.GenericJDBCException: could not execute statement. Please assist.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.