Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Issue with "Request Access for Self/Others" in v24.5

Chamundeeswari
New Contributor III
New Contributor III

Hi,

We recently upgraded to version 24.5. When we try to request access for any application as Self or Others, we get the error "{"msg":"An unexpected error occurred.","errorCode":1}" in the UI as shown in the screenshot.

Chamundeeswari_0-1718188995990.png

On checking the logs, it shows that NullpointerException is thrown when it tries to recommend apps. Did anyone else face this issue?

Log:

2024-06-12T15:45:56+05:30-ecm-services.WorkflownewuiService-http-nio-8080-exec-54-bmtkh-ERROR-Exception in getAppRecommendations
 
2024-06-12T15:45:57+05:30-ecm--null-bmtkh--java.lang.NullPointerException: Cannot invoke method isEmpty() on null object at com.saviynt.ecm.analytics.AccessRulesService.getRecommendationData(AccessRulesService.groovy:4019) at com.saviynt.ecm.services.WorkflownewuiService.getAppRecommendationsForRequest(WorkflownewuiService.groovy:2381) at com.saviynt.ecm.workflow.WorkflownewuiController$_closure50.doCall(WorkflownewuiController.groovy:1288) at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53) at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:158) at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62) at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59) at com.mrhaki.grails.plugin.xframeoptions.web.XFrameOptionsFilter.doFilterInternal(XFrameOptionsFilter.java:69) at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82) at java.lang.Thread.run(Thread.java:750)
 
Any help is much appreciated. Thank you!
 
Cheers! 🙂
5 REPLIES 5

rushikeshvartak
All-Star
All-Star

Disable below options in global configs

rushikeshvartak_0-1718197182282.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Chamundeeswari
New Contributor III
New Contributor III

Hi Rushikesh,

Thanks for the response. This definitely fixed the issue. But if we do need App and Access request recommendations, the problem will appear again. So, could you help us to understand what caused the issue ? 

Thanks!

Cheers 🙂

Currently it has issues in v24.5 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Chamundeeswari
New Contributor III
New Contributor III

Oh ok! Was there any mention about the version it would be fixed ?

V24.6


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.