Notifications

57 views

Description

"Illegal access to constructor com.snc.on_call_rotation.on-call rotation()" error while accessing On-Call functionalities.


Release or Environment

All releases

Cause

Script Include OnCallRotation has been customized.

Resolution

Line no 9 of the Script field uses the fully qualified package path for the OnCallRotation java class:

this.onCallRota = new Packages.com.snc.on_call_rotation.OnCallRotation();

Instead of this, use the recommended GlideScriptable class "SncOnCallRotation" in its place and that should take care of the issue. So the previously mentioned line of code now becomes:

this.onCallRota = new SncOnCallRotation();


Article Information

Last Updated:2020-08-15 20:35:28
Published:2020-08-16
oncall.png[View]