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.

Bug 218370 - IDE hangs (in NbClipboard)
Summary: IDE hangs (in NbClipboard)
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.3
Hardware: All All
: P1 normal (vote)
Assignee: Jaroslav Tulach
: 218384 218653 219405 (view as bug list)
Depends on:
Reported: 2012-09-14 13:18 UTC by Vladimir Voskresensky
Modified: 2016-08-23 07:47 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

threads dump (16.23 KB, text/plain)
2012-09-14 13:18 UTC, Vladimir Voskresensky
hang during focus lost/focus gained (14.33 KB, text/plain)
2012-09-20 08:44 UTC, Vladimir Voskresensky
freeze on start (16.16 KB, text/plain)
2012-09-20 08:46 UTC, Vladimir Voskresensky

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2012-09-14 13:18:27 UTC
Created attachment 124368 [details]
threads dump

Today's build of IDE is extremely slow when use Ctrl+C/Cltr+V operations. But worst case is that using Ctrl+Shift+D just hangs IDE completely
Comment 1 Milutin Kristofic 2012-09-17 13:19:19 UTC
Mila said it looks like starvation in 

"System clipboard synchronizer" daemon prio=3 tid=0x08f69c00 nid=0x1d in Object.wait() [0x757ff000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(
        at org.openide.util.RequestProcessor$
        - locked <0xdccdcfa0> (a java.lang.Class for org.openide.util.RequestProcessor$Task)
        at org.openide.util.RequestProcessor$Processor.doEvaluate(
        at org.openide.util.RequestProcessor$Task.waitFinished(
        at org.netbeans.NbClipboard.getContents(
        at org.netbeans.modules.editor.impl.actions.clipboardhistory.ClipboardHistory.clipboardChanged(
        - locked <0x846767e8> (a org.netbeans.modules.editor.impl.actions.clipboardhistory.ClipboardHistory)
        at org.openide.util.datatransfer.ExClipboard.fireClipboardChange(
        at org.openide.util.datatransfer.ExClipboard.setContents(
        at org.openide.util.RequestProcessor$
        at org.openide.util.RequestProcessor$
Comment 2 Milutin Kristofic 2012-09-17 14:44:11 UTC
*** Bug 218384 has been marked as a duplicate of this bug. ***
Comment 3 Milutin Kristofic 2012-09-18 12:50:21 UTC

*** This bug has been marked as a duplicate of bug 218447 ***
Comment 4 Vladimir Voskresensky 2012-09-20 08:43:28 UTC
clipboard content is rather stable when IDE works. 
But full IDE freeze is still in place after some time + sometimes hangs on startup as well.
Comment 5 Vladimir Voskresensky 2012-09-20 08:44:45 UTC
Created attachment 124625 [details]
hang during focus lost/focus gained
Comment 6 Vladimir Voskresensky 2012-09-20 08:46:39 UTC
Created attachment 124626 [details]
freeze on start
Comment 7 Vladimir Voskresensky 2012-09-20 08:47:35 UTC
  Product Version         = NetBeans IDE Dev (Build 20120920-cefef3869602) (#cefef3869602)
  Operating System        = SunOS version 5.10 running on x86
  Java; VM; Vendor        = 1.6.0_35; Java HotSpot(TM) Server VM 20.10-b01; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_35-b10
Comment 8 Jaroslav Tulach 2012-09-20 15:43:35 UTC
Comment 9 Marian Mirilovic 2012-09-21 07:57:59 UTC
please could you verify the fix is working ? ... so we can backport to NB 7.3 Beta ... thanks in advance.
Comment 10 Vladimir Voskresensky 2012-09-21 12:32:27 UTC
Hi Marian,
till know I don't face any problems
Comment 11 Marian Mirilovic 2012-09-21 14:43:51 UTC
(In reply to comment #10)
> Hi Marian,
> till know I don't face any problems

Yarda, please proceed with integration into release73_beta branch, thanks in advance.
Comment 12 Marian Mirilovic 2012-09-21 17:07:19 UTC
Comment 13 Quality Engineering 2012-09-22 02:17:41 UTC
Integrated into 'main-golden', will be available in build *201209220001* on (upload may still be in progress)
User: Jaroslav Tulach <>
Log: #218370: Really verify the synch is not called when delivering clipboardChanged events
Comment 14 Jaroslav Tulach 2012-10-24 07:17:22 UTC
*** Bug 218653 has been marked as a duplicate of this bug. ***
Comment 15 Jaroslav Tulach 2012-10-24 07:25:55 UTC
*** Bug 219405 has been marked as a duplicate of this bug. ***
Comment 16 fbiwarning 2014-05-13 04:22:22 UTC
I meet the same problem. When I copy a word in the IDE, the IDE does not response until 2 or 3 seconds. I did not confront this problem until few days ago. I try to use the latest netbeans and the latest jdk, but that does not work. Then I find someone said is the problem. And the problem is somewhat about the COM in windows. So I try to install the netbeans to another Win7 PC, and the problem is gone. In that case, I guess the problem is not the netbeans, but some other application in windows. Later I uninstall some of the application I just installed few days ago. And the IDE works  right now. The applications I uninstalled is "imc studio" "imc license manager" and "blueStacks" an android simulator. I guess these application may have influence to the COM of Win7. Hope my solution will help to this bug.
Comment 17 th3barri3 2016-08-17 10:13:48 UTC
Seems to be a problem on Windows 10. NetBeans IDE 8.1.
Comment 18 Miloslav Metelka 2016-08-23 07:47:29 UTC
Please do not reopen this issue since there was a fix made in NB 7.3 that apparently resolved the original problem.
Instead please file a new issue and provide steps to reproduce and also a thread dump if the IDE hangs. Thanks.