Refresh identity error

Which IIQ version are you inquiring about?

8.3

Please share any images or screenshots, if relevant.

*I have an error while running the refresh identites task it ends with a nullPointer error and this is the stack trace. appreciate it if you can help me

2025-09-15T15:11:21,311 WARN RefreshWorker 13 sailpoint.connector.JDBCConnector:1001 - ProvisioningRule must return a ProvisioningResult.
2025-09-15T15:11:21,326 WARN RefreshWorker 5 sailpoint.connector.JDBCConnector:1001 - ProvisioningRule must return a ProvisioningResult.
2025-09-15T15:11:21,326 WARN RefreshWorker 7 sailpoint.provisioning.TemplateCompiler:1097 - Ignoring accountId field in non-Create request
2025-09-15T15:11:21,326 ERROR RefreshWorker 7 org.apache.bsf.BSFManager:451 - Exception:
java.security.PrivilegedActionException: null
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at org.apache.bsf.BSFManager.eval(BSFManager.java:442) [bsf.jar:?]
at sailpoint.server.BSFRuleRunner.runScript(BSFRuleRunner.java:347) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.server.InternalContext.runScript(InternalContext.java:1296) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.server.InternalContext.runScript(InternalContext.java:1277) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.api.DynamicValuator.evaluate(DynamicValuator.java:399) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.provisioning.TemplateCompiler.getFieldValue(TemplateCompiler.java:1345) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.provisioning.TemplateCompiler.convertField(TemplateCompiler.java:812) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.provisioning.TemplateCompiler.convertTemplate(TemplateCompiler.java:564) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.provisioning.TemplateCompiler.compile(TemplateCompiler.java:326) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.provisioning.ApplicationPolicyExpander.expandTemplate(ApplicationPolicyExpander.java:684) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.provisioning.ApplicationPolicyExpander.expandTemplates(ApplicationPolicyExpander.java:341) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.provisioning.ApplicationPolicyExpander.expandTemplates(ApplicationPolicyExpander.java:457) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.provisioning.ApplicationPolicyExpander.expandTemplates(ApplicationPolicyExpander.java:300) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.provisioning.ApplicationPolicyExpander.expandApplicationTemplates(ApplicationPolicyExpander.java:234) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.provisioning.PlanCompiler.compileProject(PlanCompiler.java:1575) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.provisioning.PlanCompiler.compile(PlanCompiler.java:1456) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.api.Provisioner.compile(Provisioner.java:568) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.api.Provisioner.reconcile(Provisioner.java:844) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.api.Provisioner.reconcileAutoAssignments(Provisioner.java:789) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.api.Identitizer.refresh(Identitizer.java:2448) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.task.IdentityRefreshExecutor$RefreshWorker.refreshAndProcess(IdentityRefreshExecutor.java:1610) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
at sailpoint.task.IdentityRefreshExecutor$RefreshWorker.run(IdentityRefreshExecutor.java:1535) [identityiq.jar:8.3p3 Build d5deab2519b-20230629-092050]
Caused by: org.apache.bsf.BSFException: The application script threw an exception: java.lang.NullPointerException: Null Pointer in Method Invocation BSF info: script at line: 0 column: columnNo
at bsh.util.BeanShellBSFEngine.eval(BeanShellBSFEngine.java:197) ~[bsh-2.1.8.jar:2.1.8 2018-10-02 08:36:04]
at org.apache.bsf.BSFManager$5.run(BSFManager.java:445) ~[bsf.jar:?]
… 23 more

Hi Emna,

Do you know if this error is triggered by the Refresh Rules or the Identity Mapping Rules? Are you running the Identity Refresh for a specific set of users or for all users? What details are shown on the Task Results page when it fails?

It’s very likely the issue is coming from a custom rule where a null value wasn’t handled properly.

-Ganesh

Hi @eneffati ,

Could you please review the refresh task to identify if any events are being triggered during its execution? Also, check whether any ‘after provisioning’ rules are being applied and the variables that are used within the ‘after provisioning’ rules are properly initialized and populated with values, and confirm that none of them are causing NullPointerException errors."

I found that this code was causing an error it’s in the modify form of one application but this has been working for so long and they didn’t have any issues with it once I removed it everything went back to normal

String ex_Id= (String)link.getAttribute(“id”);
if(ex_Id == null){
ex_Id =“”;
}
return ex_Id;

I had this error in the logs
2025-09-15T15:54:43,398 ERROR RefreshWorker 13 sailpoint.provisioning.TemplateCompiler:1351 - There was a problem evaluating the field named ex_Id with value definition

Hi Emna, the error seems to come from a custom Provisioning Rule or template during the Identity Refresh. One of the rules isn’t returning a ProvisioningResult or is calling a null object. Please review the ProvisioningRule and templates for null values and ensure they always return a valid result.

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