Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/09/2024 03:57 AM
Team,
I am facing issue when I try to submit a single request for multiple applications, say 2 applications, add access for an application and remove access for different application.
Please note: Add access and remove access are working fine when the request is submitted separately.
I get below error in the UI when I select the application roles to add and remove and select next:
Below is the error from logs:
"2024-09-09T09:36:52.259+00:00","ecm","services.JbpmWorkflowService","http-nio-8080-exec-271-8jrm2","DEBUG","Exit getchildRoleDisplayMap"
"2024-09-09T09:36:52.260+00:00","ecm","services.ArsRequestAllowedService","http-nio-8080-exec-271-8jrm2","DEBUG","isRequestAccessForSelfOrOthers ::: true and tile type is RequestAccessforOthers"
"2024-09-09T09:36:52.301+00:00","ecm","errors.GrailsExceptionResolver","http-nio-8080-exec-271-8jrm2","ERROR","NullPointerException occurred when processing request: [GET] /ECM/workflowmanagement/createrequestthirdstep/47608"
"2024-09-09T09:36:52.581+00:00","ecm","","null-8jrm2","","Cannot execute null+null. Stacktrace follows:"
"2024-09-09T09:36:52.581+00:00","ecm","","null-8jrm2","","org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error processing GroovyPageView: Error executing tag <g:render>: Error executing tag <g:render>: Cannot execute null+null 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)Caused by: org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag <g:render>: Error executing tag <g:render>: Cannot execute null+null at gsp_ECM_workflowmanagementcreaterequestthirdstep_gsp$_run_closure2.doCall(gsp_ECM_workflowmanagementcreaterequestthirdstep_gsp.groovy:443) at gsp_ECM_workflowmanagementcreaterequestthirdstep_gsp.run(gsp_ECM_workflowmanagementcreaterequestthirdstep_gsp.groovy:676) ... 7 moreCaused by: org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag <g:render>: Cannot execute null+null at gsp_ECM_workflowmanagement_createrequestthirdstep1_v2_gsp.run(gsp_ECM_workflowmanagement_createrequestthirdstep1_v2_gsp.groovy:1191) ... 9 moreCaused by: java.lang.NullPointerException: Cannot execute null+null at gsp_ECM_workflowmanagement_createrequestthirdstep5_v2_gsp.run(gsp_ECM_workflowmanagement_createrequestthirdstep5_v2_gsp.groovy:45) ... 10 more"
"2024-09-09T09:36:52.319+00:00","ecm","error.ErrorController","http-nio-8080-exec-271-8jrm2","ERROR","Exception"
"2024-09-09T09:36:52.581+00:00","ecm","","null-8jrm2","","org.codehaus.groovy.grails.web.errors.GrailsWrappedRuntimeException: Cannot execute null+null at
Below is the first check in my remove access workflow which checks if the request is for self? if remove access is self then moves to next, requirement is whenever the remove request is for self or raised by manager or role owner then task is created; if it is raised by random user the request is auto rejected. (works fine when request is submitted for only removing access request).
Please let me know if I am missing on something.
Regards,
Arpitha N
09/09/2024 05:43 AM