and more in a single search tool across platforms. Read the announcement here. |
12/26/2023 08:38 PM
Hi! I am getting the following error when attempting to add an Ad entitlement(group) to an enterprise role. THe error generates as soon as I hit save after selecting the entitlement. I get sent to a page with a red "Unknown error has ocurred" and the following log entries:
"2023-12-27T04:10:31.562+00:00","ecm","services.UsersService","http-nio-8080-exec-4-55ljj","INFO","Auditing for list of Roles"
"2023-12-27T04:10:31.567+00:00","ecm","services.UsersService","http-nio-8080-exec-4-55ljj","INFO","Auditing process completed for entitlement"
"2023-12-27T04:10:31.728+00:00","ecm","services.UsersService","http-nio-8080-exec-8-55ljj","INFO","Auditing for list of Roles"
"2023-12-27T04:10:31.732+00:00","ecm","services.UsersService","http-nio-8080-exec-8-55ljj","INFO","Auditing process completed for entitlement"
"2023-12-27T04:10:31.808+00:00","ecm","errors.GrailsExceptionResolver","http-nio-8080-exec-8-55ljj","ERROR","NumberFormatException occurred when processing request: [GET] /ECM/roles/addTcodeToRole/"
"2023-12-27T04:10:32.031+00:00","ecm","","null-55ljj","","For input string: "". Stacktrace follows:"
"2023-12-27T04:10:32.031+00:00","ecm","","null-55ljj","","java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:601) at java.lang.Long.<init>(Long.java:965) at com.saviynt.ecm.services.RoleversionService.addentitlementTorole(RoleversionService.groovy:2326) at com.saviynt.ecm.identitywarehouse.controllers.RolesController$_closure206.doCall(RolesController.groovy:9640) at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53) at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:155) 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)"
"2023-12-27T04:10:31.848+00:00","ecm","error.ErrorController","http-nio-8080-exec-8-55ljj","ERROR","Exception"
"2023-12-27T04:10:32.031+00:00","ecm","","null-55ljj","","org.codehaus.groovy.grails.web.errors.GrailsWrappedRuntimeException: For input string: "" at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53) at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:155) 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: java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:601) at java.lang.Long.<init>(Long.java:965) at com.saviynt.ecm.services.RoleversionService.addentitlementTorole(RoleversionService.groovy:2326) at com.saviynt.ecm.identitywarehouse.controllers.RolesController$_closure206.doCall(RolesController.groovy:9640) ... 7 more"
"2023-12-27T04:10:30.336+00:00","ecm","services.UsersService","http-nio-8080-exec-7-55ljj","INFO","Auditing for setentkeyinsessionset action"
"2023-12-27T04:10:30.341+00:00","ecm","services.UsersService","http-nio-8080-exec-7-55ljj","INFO","Auditing process completed for entitlement"
Any suggestions on what might be causing this?
Here is the config I have for groupImportMapping JSON: {
"importGroupHierarchy": "true",
"performGroupAccountLinking": "true",
"incrementalTimeField": "whenChanged",
"groupObjectClass": "(objectCategory=group)",
"mapping": "memberHash:member_char,customproperty1:sAMAccountType_char,customproperty2:cn_char,customproperty3:distinguishedName_char,customproperty4:name_char,customproperty5:managedBy_char,customproperty6:uidNumber_char,customproperty7:mail_char,customproperty8:uSNCreated_char,customproperty9:objectCategory_char,customproperty10:objectGUID_char,customproperty11:objectSID_Binary,customproperty18:extensionAttribute8_char,customproperty20:extensionAttribute10_char,customproperty21:extensionAttribute11_char,customproperty32:extensionAttribute12_char,customproperty33:extensionAttribute13_char,customproperty34:extensionAttribute4_char,customproperty36:extensionAttribute6_char,customproperty37:extensionAttribute7_char,lastscandate:whenCreated_date,entitlement_glossary:description_char,description:description_char,displayname:displayName_char,entitlement_value:nameinnamespace_char,entitlementid:distinguishedName_char,updatedate:whenChanged_date,RECONCILATION_FIELD:customproperty10",
"activeGroupPossibleValues": ["active", "a", "l", "TRUE"]
}
Solved! Go to Solution.
12/26/2023 09:41 PM
Try restarting server
12/27/2023 04:59 AM
I did the application serices restart from GUI and issue persists. Or do you mean engage support for a restart from the backend?
12/27/2023 07:02 AM
Are you adding from admin - roles ?
if yes - did u attached any workflow for role management id yes try to remove and check
12/27/2023 07:05 AM
I am adding from Admin - roles. Not sure what you're refering to by workflow for role management id though.
12/27/2023 07:07 AM
Role modification approval workflow under global configuration - roles
12/27/2023 07:10 AM
No I don't have any configurations made there
12/27/2023 07:11 AM
Enable role modification auto approve checkbox
12/27/2023 07:13 AM
I just tried that and it worked. Man that error thrown is super vague and didn't seem related to that at all. Thanks for the help.
12/27/2023 07:15 AM
Since there was no workflow attached it was trying to create to request so either workflow should be attach or it should be auto approve hence number format exception
12/27/2023 07:08 AM
if you meant here, then no i dont have any workflow selected.