Quicklink launching error

Which IIQ version are you inquiring about?

8.5

We had a quicklink which can be open to everyone and has a workflow form which creates a Allowed userlist for launcher to perform action. The quicklink is working when i open as IAM user but getting below error when login as normal user

javax.faces.FacesException: #{quickLinks.chooseQuickLink}: java.lang.NullPointerException:
Cannot invoke “sailpoint.object.QuickLink.getName()” because “ql” is null

I tried deleting the scope and quicklink and added again from debug page as it is test env. but still seeing same issue.

Hi @lsaipriya26 ,

I believe Dynamic scope is corrupted. So you can delete the dynamic scope everyone and create new and configure. Hope it will works.

Thanks,

Harikrishna

@lsaipriya26 Can you please provide the objects that you are using. Will be able to find out the issue if we see the quicklink and other associated objects.

Hello @lsaipriya26 , Can you share DynamicScope, quicklink object details. Seems like code written for DynamicScope is failing because of null variable

Could you please check the dynamic scope, as others suggested?

<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?> i had tried re creating both but issue still exists

Hi @lsaipriya26 ,

Kindly create new Dynamic scope similar as everyone dynamic scope and configure new dynamic scope in Quicklink.

Hello Saipriya. Since you already recreated the scope and QuickLink through Debug, I would check the associated QuickLinkOptions next.

There is a very similar case with the same chooseQuickLink NPE where spt_quick_link_options contained entries with a null quick_link. That thread also notes that editing DynamicScopes through Debug can leave these associations inconsistent because the changes may not persist correctly through Hibernate, which could explain why recreating them through Debug did not help.

I would first recreate the population through Global Settings → Quicklink Populations rather than Debug. If the issue still persists, check for orphaned QuickLinkOptions entries where quick_link is null. In the previous case, removing those invalid rows resolved the issue.

@lsaipriya26 couple of things we can do

  1. When you go to ui and try to save the quick link population are you getting any error. If yes then in db there will be quick_link_options that may be null so delete that row from sailpoint API.
  2. if point 1 there is no error that mean quicklink dynamic scope is fine, then it wil come to your quicklink and workflow and inside workflow some form and analysis there.
    As per error it seems issue with quicklink only. So delete that quicklink and scope will not resolve the issue , you need to check below code and run that it will fix the issue

https://community.sailpoint.com/t5/IdentityIQ-Forum/Quicklinks-and-Dynamic-Scopes-Are-Corrupted-on-Deployment/m-p/167064#M135626

Table name : SPT_QUICKLINK_OPTIONS

Thank you all for suggesting the solution , by removing those null values it is working as expected