I am facing this issue often,and let me share my experience:
when I experience this issue, I just switch off my wireless network connectivity and then I will restart Netbeans 7.4 in the wireless offline mode. Once it is restarted I will deploy all the applications which I have to execute for a day.
Deployment will be done Successfully. Later you can activate wireless/network connectivity in your system,further deployment doesn't shows the error.
Until closing Neatbeans7.4, you can deploy,you can clean and build, you can do whatever you want.
But if you are planning to restart the IDE again, Do the same, Deactivate the wireless/network connectivity and do the deployment.
I am handling this issue daily by following the above steps.
Before Wireless/Network Activation:
After Wireless/Network Activation: