While executing a background script by impersonating as encryption admin, I am getting an errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-06-2024 04:20 AM
While executing a background script by impersonating as encryption admin, I am getting an errors like
Couldn't decipher the stack trace resulting from the following JavaScriptException:
java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null: org.mozilla.javascript.JavaScriptException: java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null: org.mozilla.javascript.Context.makeJavaScriptException(Context.java:2248)
Please help me if anyone is familiar with this type of issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-06-2024 04:30 AM
are you trying to impersonate someone who has encryption_admin role?
what's your business requirement to do so?
Ankur
⨠Certified Technical Architect || ⨠10x ServiceNow MVP || ⨠ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-06-2024 04:56 AM
Yes, I want to encrypt the attachments and few fields on the incident and service request table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi - Were you able to get past this error? We're also seeing same error for non-admin users while calling attachment apis?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
