Null Pointer Exception during Refresh Task Result | IDX Task Not Supported in IIQ 8.5

Hi All,

We are facing an issue in SailPoint IdentityIQ 8.5 where the Refresh Task Result is failing with a Null Pointer Exception.

As part of troubleshooting, we attempted to run the IDX task, but it appears that the task is not supported in IdentityIQ 8.5.

Current observations:

  • Refresh Task Result is failing with a Null Pointer Exception.
  • No recent changes were made to the task configuration.
  • Attempted to run IDX/re-index related activities, but they are not available/supported in IIQ 8.5.

Has anyone encountered a similar issue? Could you please provide guidance on:

  1. Common causes of Null Pointer Exceptions in Refresh Task Result.
  2. Any recommended troubleshooting steps for IIQ 8.5.
  3. Alternative approaches to rebuild or repair task result indexing in this version.

Any suggestions or references would be greatly appreciated.

Thanks in advance!

@bhoyars_1 One of the common reasons is something wrong with your iiq roles and you are running it with role related options.
Have you tried running without any options checked, and then gradually increase the options to see which particular option is throwing null pointer exception?

Hello Santhosh. I would first check whether the NPE occurs during task execution or when opening the TaskResult. The stack trace should help us narrow this down.

The Support Task for Hibernate IDX comes from SailPoint’s Correct IDX rule package, so it is not a built-in task. It is also different from Role Index Refresh or Full Text Index Refresh. The Compass article for it is not resolving at the moment because the community is mid-migration, so the easiest way to get the rule is to raise a SailPoint Support ticket and ask for it. When you say it is not supported in 8.5, could you also check whether that package is already imported under Setup > Tasks, and whether the task is missing or failing when you run it?

If this is an Identity Refresh task, I would follow Neel’s suggestion and test a copy with a few identities, enabling options one at a time. A similar issue involving Bundle.getDisplayableName() and Identity.getRoleSummary() was resolved by correcting IDX values in spt_identity_assigned_roles.

I would not assume IDX is the cause yet. If the stack trace points there, I would run the IDX task in read mode first, keeping “update DB table rows to resequence ‘idx’ key-column” unchecked. Please involve Support and take a backup before making corrections.

Could you share the full stack trace, task name, and 8.5 patch level?

https://community.sailpoint.com/t5/IdentityIQ-Wiki/Correct-IDX-rule-to-detect-and-fix-IDX-values/ta-p/73051 is not accessible.

Thanks for the reply.
if we enable provisioning assignment and Refresh assigned, detected roles and promote additional entitlements check box its failing with NPE.

Here is the syslogs:

RefreshWorker 1 exception: Cannot invoke “Object.getClass()” because “obj” is null
java.lang.NullPointerException: Cannot invoke “Object.getClass()” because “obj” is null
at sailpoint.persistence.ClassPersistenceManager.getManager(ClassPersistenceManager.java:166)
at sailpoint.persistence.ClassPersistenceManager.removeObject(ClassPersistenceManager.java:305)
at sailpoint.server.InternalContext.removeObject(InternalContext.java:894)
at sailpoint.api.EntitlementCorrelator.saveDetectionAnalysis(EntitlementCorrelator.java:1110)
at sailpoint.api.Identitizer.refresh(Identitizer.java:2407)
at sailpoint.task.IdentityRefreshExecutor$RefreshWorker.refreshAndProcess(IdentityRefreshExecutor.java:1616)
at sailpoint.task.IdentityRefreshExecutor$RefreshWorkerPool.queue(IdentityRefreshExecutor.java:1934)
at sailpoint.request.IdentityRefreshRequestExecutor.refresh(IdentityRefreshRequestExecutor.java:487)
at sailpoint.request.IdentityRefreshRequestExecutor.execute(IdentityRefreshRequestExecutor.java:209)
at sailpoint.request.RequestHandler.run(RequestHandler.java:163)

Hello @bhoyars_1 ,

If the NPE is occurring when you enable provisioning assignment and Refresh assigned, detected roles and promote additional entitlements check box, then you need to verify the code in assignment rules with logs if there are any for roles,

@bhoyars_1 This means something wrong with your Roles. You could check the assignment rules mapped with roles, if anything changed over their recently. Go to Debug, select object type as Bundle and sort it by created and then modified, see what all roles got created/modified since last successful role refresh. You need to review these roles to see if anything wrongly configured. If this doesn’t work, we need to enable additional loggers.

Thanks, everyone, for your responses. The issue was resolved after running the IDX task. Please find the IDX rule link below

If you need this document, i would suggest you message your CSM and request a copy of it.