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
I got this issue, I am using Netbeans 8 for C++ in Linux, details below:
Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Java: 1.8.0_40; OpenJDK 64-Bit Server VM 25.40-b14
Runtime: OpenJDK Runtime Environment 1.8.0_40-b10
System: Linux version 3.16.6-2-desktop running on amd64; UTF-8; en_US (nb)
OpenSUSE 13.2 x64
Output windows can process keyboard input, but no source editor can, last time it worked during this session I was navigating with some bookmarks.
Attached thread dump
Created attachment 158122 [details]
Adding thread dump for my "test case" http://wiki.netbeans.org/GenerateThreadDump
(see reference in comments to file selfsampler4522238628608715272.npss.7z)