This bug was originally marked as duplicate of bug 228892, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: OpenJDK 64-Bit Server VM, 25.121-b13, OpenJDK Runtime Environment, 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13
Maximum slowness yet reported was 28628 ms, average is 28628
Created attachment 163980 [details]