BS-8574 Groovy script validation for missing DefaultGroovyMethods
import.
+ invalid dependency assignement.
Fix invalid thread access