Door (Un)Lock Triggers (v2)

How did you manage to bypass the security exception as below (also mentioned earlier in this thread)?

Thanks!

error
java.lang.SecurityException: Invoking class java.lang.Class.setDefault() is not allowed @ line 303