IDE hangs or closes
How to diagnose/report ide crashes or when the main window disappers?
When the ide crashes or closes without any error messages, the following tools can be used to diagnose the issue:
- Try running the ide with a fresh user directory.
- Check the ide log file for any messages and/or stacktraces. The log file is [userdir]/var/log/messages.log. For more info on [userdir] , please take a look at the blog entry on user directory.
- If unable to diagnose the problem, file a bug
in issuezilla and attach the log file, thread dump etc to the issue.
Please remember to attach them (rather than pasting them directly in
the bug, since that makes it harder to view the issue); of course it
would be nice if the relevant portions from the log file are
pasted in the issue entry, as that would be useful for later searches.
(Prior to filing a bug, you can choose to discuss it in nbusers mailing list where it may get resolved).
- If the log file does not have any useful diagnostic info or is not even
created, it could indicate a problem with the jdk installation. To get
this factor out of the way, check if the sample programs shipped with
jdk run without any issues. For instance, try running SwingSet2 that is
shipped with jdk. For jdk related issues, please refer to the jdk diagnostics guide. For jdk related issues, you may want to file the issue with the jdk team at bugs.sun.com or java.net sites.
- If there are any server (glassfish,tomcat...) related issues, usually the ide should function except for Java EE features. But there may be cases when the server runs into critical issues resulting in ide crashes. In this case, check the server error log files to see if there are any clues. For glassfish, the log files should be in the glassfish installation directory under the appropriate domain. For tomcat, the log file should be in the tomcat instance that is created in the NetBeans user directory.
- If the error is due to some specific modules, one workaround is to not load the offending modules (and of course follow up by filing an issue in issuezilla against those modules). You can try narrowing down the issue by commenting out module clusters (except platform and application clusters) from <ide_install_dir>/etc/netbeans.clusters file. If the ide works as expected, uncomment clusters one-by-one to see which cluster is responsible for the crash.
- Under ubuntu, there is a known issue where the NetBeans window is empty. The workaround is to set AWT_TOOLKIT=MToolkit before running any Java apps.


Site admin test of comments. Please ignore.
Posted by Skrocki on May 19, 2008 at 03:29 PM PDT #
Hi.
I want to install NetBeans for Vista & I also
have JDK, I can install JDK very easily but I
could not install the NetBeans ,,,
WHAT SHOULD I DO NOW??????
HOW DO I CAN INSTALL THE NetBeans on Vista???
Posted by Muzhgan on August 03, 2008 at 11:58 PM PDT #
You may want to check out the following FAQ:
http://wiki.netbeans.org/FAQVistaInstall
Also: http://blogs.sun.com/NetBeansSupport/entry/how_to_do_a_clean
If the above doesn't help, please check out:
http://nbi.netbeans.org/docs/faq.html#bugreport
Posted by Karthik on August 11, 2008 at 11:18 AM PDT #