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.
If you try to push a shortcut key sequence in NetBeans IDE, it hangs in initialization of java.awt.Robot (see thread dump). I tried to re-plane its initialization in RobotDriver.init() into dispatch thread and it works well. So, I am proposing use the patch to RobotDriver (see attached). Shura could you look at it whether it will not break anything else? To reproduce failure: - run IDE - mount jemmy, jellytools - by internal execution run TestShortcut class - test hangs (IDE not) and if you generate thread dump, it is waiting in Robot initialization. If not hangs for the first time, execute the class once more. Tested on Linux 2.4.18-27.8.0, JDK1.4.2_01-b06, build 20031124-2041.
Created attachment 12283 [details] Thread dump
Created attachment 12284 [details] Test case
Created attachment 12285 [details] RobotDriver patch
Looks ok to me. Jirka, could you integrate the change, please?
Integrated and version increased to 2.2.4.6.
Verified on the same environment.