in Control.lua line 170 change:
chargeTransferValue = math.min(maxFuelValue - currentFuelValue, v[2].energy, maxChargingRate)
v[2].energy = v[2].energy - chargeTransferValue
v[4].burner.remaining_burning_fuel = currentFuelValue + chargeTransferValue
to:
if v[2] ~= nil and v[2].valid then
chargeTransferValue = math.min(maxFuelValue - currentFuelValue, v[2].energy, maxChargingRate)
v[2].energy = v[2].energy - chargeTransferValue
v[4].burner.remaining_burning_fuel = currentFuelValue + chargeTransferValue
end