In general, troubleshoot NetBeans issues by using the View > IDE Log command. You should see Java exceptions there related to the IDE. You can also view them in a file at $HOME/.netbeans/6.7/var/log/messages.log.*
It is possible that a NetBeans plugin you have installed has corrupted NetBeans configuration and is causing the problem. One way to test this is to remove the $HOME/.netbeans folder (while the IDE is closed) and let NetBeans rebuild it by starting the IDE.
Finally, you can uninstall NetBeans (by using the uninstall.sh script/JAR in the NetBeans installation folder.