Whenever I load NetBeans 6.9 (similar errors happened on previous versions also) then I let NetBeans finish scanning my projects and once it\'s done I try to run a profile w
For windows 8
Delete this directory C:\Users\Shubham\AppData\Local\NetBeans\Cache
Before doing so close netbeans.
Start Netbeans again and let it read the project.
Test project. Run project. It should work fine.