In the code NodeProvisionerActor, it is possible that the actor receives all the NodeReady messages before a GetNodes message from TorqueNodeProvisioner. If that happens, then the variable nodeListRequestor would be null. Therefore, there would be a null pointer exception since NodeProvisionerActor tries to send nodeControllers message to nodeListRequestor actor.
In the code NodeProvisionerActor, it is possible that the actor receives all the
NodeReady
messages before aGetNodes
message fromTorqueNodeProvisioner
. If that happens, then the variablenodeListRequestor
would benull
. Therefore, there would be a null pointer exception sinceNodeProvisionerActor
tries to sendnodeControllers
message tonodeListRequestor
actor.