Getting error as "groovy.lang.MissingMethodException: No signature of method: Script10.encodeURIComponent() is applicable for argument types: (java.lang.String) values: