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.
Created attachment 159913 [details] Thread dump I hit CTRL+S to save an open Java file. The IDE hung and had to be killed. Before terminating the process, I took a thread dump for your review (attached). On a side-note, Netbeans is configured to run the following operations "On Save": 1. Reformat all lines 2. Remove trailing whitespace from all lines 3. Remove unused imports 4. Organize imports I have run across this issue dozens of times, but I can't figure out exact repro steps (it seems to be random) so I guess we're stuck working with the thread dump...
I forgot to mention, my IDE version is: Product Version: NetBeans IDE Dev (Build 201605260002) Java: 1.8.0_92; Java HotSpot(TM) 64-Bit Server VM 25.92-b14 Runtime: Java(TM) SE Runtime Environment 1.8.0_92-b14 System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb) User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev and when I say the IDE hung, I mean I get the hourglass icon and the UI won't respond to any mouse clicks.
I also noticed this issue after updating to the latest version of Netbeans. Running on Ubuntu 14.04. I fixed it by removing the Pinnable Watches for that class. The hanging on save only occurred in the file with Pinnable Watches, but didn't occur in files without them.