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.
@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
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.
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.
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