This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I just started to reproduce an error everytime that NetBeans writes some code (like organize imports, refactor, ...) or by simply pressing Ctrl+Space for auto completion. The keyboard stops responding (cursors, letters, hotkeys), the only thing i can do to recover the control of the keyboard over the editor is When i just installed NetBeans this error was never happening, it started when i executed first: export AWT_TOOLKIT=MToolkit to solve the issue 117172 ( http://www.netbeans.org/issues/show_bug.cgi?id=117172 ). Once done that the issue 117172 is solved for me, but it's then when the editor windows starts freezing. Setting the variable to "" and restarting NetBeans solves this issue, but i see wrong sized or blank windows again. The thing is that the error is reproducible 100% or 0% in the same circumstances by simply setting or unsetting the environment variable. So i have to choose to see some blank (or wrong sized) windows or to see frozen windows. OS: Ubuntu 8.04 (100% reproducible on 7.10 too) Java Environment: Sun Java 1.6.0.06 JDK (100% reproducible on 1.5.15 too) NetBeans 6.1 final (100% reproducible on 6.0 and 6.1rc1 too)
I think this may be the same, so probably not a NetBeans bug. Seems like a AWT or Java one. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6598651
I downloaded the latest JDK (1.6.0.10-b23) and it does the very same thing that it does with 1.6.0.06. I tried few things more with 1.5.0.15 with the default AWT_TOOLKIT and i was only seeing grey windows (even the main window wasn't displaying correctly), but when i set the AWT_TOOLKIT to MToolkit i got it to work perfectly (well, without the starting splash screen and ugly appearence). No grey windows or keyboard freezing has been happening since then. Sadly i need JDK 6 to work, but it seems like an error introduced in AWT with Java 6.
Sorry for multi-posting. As i've read that it's a Sun's Java trouble i just tried with OpenJDK 1.6 and it works perfectly (well, ugly appearance again) without setting MToolkit as the AWT_TOOLKIT, and it doesn't work at all with it. Also i've noticed that no error or warning messages are shown during the execution of NetBeans, opposited to all tries that i did before.
Well, if this is AWT/Swing problem I don't think there is much we could do about it in Netbeans. The JDK issue that you attached was apparently fixed in JDK6 Update4, but that does not seem to be the case for you. Or maybe you are experiencing a different problem. Please reopen the JDK issue or file a new one. Thanks
v/c