Getting the error org.mozilla.javascript.EcmaError: Cannot read property "vip" from undefined

amala2
Mega Guru

When I try to approve a HR request from list layout, I am getting the error "org.mozilla.javascript.EcmaError: Cannot read property "vip" from undefined"

How to find which script is throwing this error?

1 ACCEPTED SOLUTION

amala2
Mega Guru

The error is thrown by the field style : sys_ui_style

View solution in original post

4 REPLIES 4

Cheyenne1
Kilo Guru

Does the sys_user have the roles required for the HR Application?, seems like it could be an access issue where the Applicaion doesn't have read rights of the sys_user record, assuming it's sys_user.vip 

amala2
Mega Guru

I tried it from mine which is an Admin profile

DrewW
Mega Sage
Mega Sage

Is this a client side error or are you seeing this in the System log?  If in the system log there will most likely be messages just before and after this that will point to the business rule or script include that is causing this.

 

amala2
Mega Guru

The error is thrown by the field style : sys_ui_style