I understood the problem. The object ClusterVariableEnumeration (or the class ClusterVariableEnumeration$) will be again loaded on Worker machine.
It will again instantiate the class variables ( var CURRENT_EXECUTING). Which will now have their default values (null). Hence NPE. I guess, I need to pass ClusterVariableEnumeration's instance to Worker machine. Isn't it?
