and more in a single search tool across platforms. Read the announcement here. |
03/18/2024 07:13 AM
Hi everyone,
I currently struggle with a new issue and I'm quite sure at one point it worked.
When a new "Create User Request" is created, somebody needs to approve / decline that request, based on the specified workflow. When I click "Approve" or "Reject", I receive the following error message:
The Log entries don't help me much. Do you have any idea where this may be coming from.
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.827738441Z stdout F 2024-03-18 14:10:00,827 [http-nio-8080-exec-339] DEBUG workflow.WorkflowmanagementController - Approve Request"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842106391Z stdout F 2024-03-18 14:10:00,842 [http-nio-8080-exec-339] ERROR errors.GrailsExceptionResolver - NumberFormatException occurred when processing request: [POST] /ECM/workflowmanagement/approverequest"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842118191Z stdout F For input string: "undefined". Stacktrace follows:"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842121191Z stdout F java.lang.NumberFormatException: For input string: "undefined""
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842124291Z stdout F at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842127491Z stdout F at java.lang.Long.parseLong(Long.java:589)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842130291Z stdout F at java.lang.Long.<init>(Long.java:965)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842133191Z stdout F at com.saviynt.ecm.services.WorkflowService.approveRequest(WorkflowService.groovy:21392)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842136391Z stdout F at com.saviynt.ecm.workflow.WorkflowmanagementController$_closure24.doCall(WorkflowmanagementController.groovy:880)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842139391Z stdout F at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842142291Z stdout F at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:159)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842144791Z stdout F at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842147291Z stdout F at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842149991Z stdout F at com.mrhaki.grails.plugin.xframeoptions.web.XFrameOptionsFilter.doFilterInternal(XFrameOptionsFilter.java:69)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842152491Z stdout F at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.842154991Z stdout F at java.lang.Thread.run(Thread.java:750)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912725837Z stdout F 2024-03-18 14:10:00,912 [http-nio-8080-exec-339] ERROR error.ErrorController - Exception"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912748137Z stdout F org.codehaus.groovy.grails.web.errors.GrailsWrappedRuntimeException: For input string: "undefined""
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912753137Z stdout F at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912765137Z stdout F at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:159)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912768537Z stdout F at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912770937Z stdout F at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912774537Z stdout F at com.mrhaki.grails.plugin.xframeoptions.web.XFrameOptionsFilter.doFilterInternal(XFrameOptionsFilter.java:69)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912780237Z stdout F at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912785737Z stdout F at java.lang.Thread.run(Thread.java:750)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912791337Z stdout F Caused by: java.lang.NumberFormatException: For input string: "undefined""
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912796437Z stdout F at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912799037Z stdout F at java.lang.Long.parseLong(Long.java:589)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912801337Z stdout F at java.lang.Long.<init>(Long.java:965)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912803637Z stdout F at com.saviynt.ecm.services.WorkflowService.approveRequest(WorkflowService.groovy:21392)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912805837Z stdout F at com.saviynt.ecm.workflow.WorkflowmanagementController$_closure24.doCall(WorkflowmanagementController.groovy:880)"
"2024-03-18T14:10:01.246+00:00","ecm","","null-bn2m7","","2024-03-18T14:10:00.912808537Z stdout F ... 7 more"
Any help is greatly appreciated!
Cheers 🙂
Solved! Go to Solution.
03/18/2024 07:33 AM
Can you try login with another user having ROLE_ADMIN and then try to approve / reject the request.
03/18/2024 07:36 AM
Hi @dgandhi
The user already has the ROLE_ADMIN Role assigned.
03/18/2024 07:38 AM
Did you raise the request and you yourself are trying to approve/deny the request?
If yes then can you try with other user having ROLE_ADMIN?
03/18/2024 07:43 AM
No, it was requested by another user and the request was assigned to me, via a Custom Query in a Workflow:
03/18/2024 08:01 AM
Additional context: When I use an auto approving Workflow, the User gets created.
03/18/2024 08:15 AM
Even more context:
It seems the value "ACCESSAPPROVERSKEY" is set to undefined during the request (URL Parameter).
Do you know how this can happen or what I could do to fix that?
03/18/2024 08:54 PM
Please share request form screenshot
03/18/2024 11:54 PM
Request
Approval
03/19/2024 12:29 AM
Thanks @rushikeshvartak @dgandhi
I found a workaround. I re-enabled the NEO Experience Settings (Admin > Global Settings > Preferences) Enable Unified Navigation Experience and Enable Access Request Neo Experience.
It is odd nonetheless, but thats working for me now.
03/19/2024 07:43 AM
Thanks for the update, glad that it worked.