Product Version = NetBeans IDE 7.3 Beta 2 (Build 201211062253)
Operating System = Linux version 3.6.11-1.fc17.x86_64 running on amd64
Java; VM; Vendor = 1.7.0_09
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.5-b02
I often get this problem. After using NetBeans for a while (several seconds to a few minutes), it sometimes stops being able to receive keyboard input. Everything else seems normal, including mouse input and the response to it. It seems that a similar issue has appeared in previous versions before but supposedly fixed. I can link to those issues if necessary. I don't have a reliable way of reproducing this but it happens a lot and is the reason I have to close NetBeans >50% of the time.
Created attachment 130197 [details]
Please, attach a full thread dump generated when the problems appears to this issue and reopen. Thanks.
Created attachment 130255 [details]
Thread dump generated using ctrl-\
The thread dump does not seem to point to the problem.
Possibly the two exceptions in the messages.log could help indicate the cause.
INFO [org.netbeans.spi.lexer.MutableTextInput]: !!WARNING!! Missing READ-LOCK when accessing TokenHierarchy: ...
INFO [dlight.libs.common.logger]: Should not be called from UI thread
Reassigning to editor for evaluation.
Reporter, is there blinking cursor when clicking into editor window?
Does it affect the editor window only or other text fields as well?
Does the IDE react to keyboard shortcuts? e.g. Ctrl+Tab?
Yes, there's a blinking cursor, and I can even make selections with the mouse.
As far as I can tell, nothing at all responds to the keyboard but everything responds to the mouse. Ctrl-tab doesn't work. Alt-F also doesn't work, though I can still bring out the "open file" dialog with the mouse, but the dialog that pops up doesn't respond to the keyboard, either.
Looks like a JDK problem but without reliable steps to reproduce it'll next to impossible to fix...
Sorry, but the lexer warning could only lead to some shifted offsets but it certainly does not cause this focus related problem so editor/lexer category is wrong. As Standa pointed out this looks like a JDK problem so reassigning there.
There is another keyboard input related issue: http://netbeans.org/bugzilla/show_bug.cgi?id=225115
Which window manager are you using in your Linux setup?
The following JDK bug describes such problems with enlightment window manager:
If that's the case, can you confirm that last JDK8 builds work for you without the problem?
It's possible that this issue is related to JDK bug
I just experienced this problem. I was able to use the workaround described there - restart ibus-daemon with