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 239500 - NetBeans freezes when copying text
Summary: NetBeans freezes when copying text
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-14 21:40 UTC by renner96
Modified: 2013-12-23 14:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Profiling Snapshot (56.09 KB, application/octet-stream)
2013-12-14 21:40 UTC, renner96
Details

Note You need to log in before you can comment on or make changes to this bug.
Description renner96 2013-12-14 21:40:25 UTC
Created attachment 143186 [details]
Profiling Snapshot

Product Version: NetBeans IDE 7.4 (Build 201310111528)
Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 2
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)

When I copy some text (both in NetBeans and in other programs), NetBeans freezes for around 20-30 seconds.

What I did:
1. Select some lines of text (also works with just 1 character)
2. copy that text
-> NetBeans freezes for around 20-30 seconds (no user input is possible)
3. NetBeans can be used again now

I attached a profiling snapshot (from when I copied the text until after NetBeans can be used again).
Comment 1 Milutin Kristofic 2013-12-17 14:04:57 UTC
I checked your snapshot and unfortunately, you took snapshot when netbeans is only waiting for next action. Sending to evaluate to bootstrap team since NbClipboard is there.
Comment 2 Jaroslav Tulach 2013-12-17 14:52:50 UTC
NbClipboard is not really part of Module System. Is it yours, Jan?
Comment 3 Antonin Nebuzelsky 2013-12-23 14:36:21 UTC
(In reply to Milutin Kristofic from comment #1)
> I checked your snapshot and unfortunately, you took snapshot when netbeans
> is only waiting for next action. Sending to evaluate to bootstrap team since
> NbClipboard is there.

The profiling snapshot really does not give any clue.

Reporter, is the problem reproducible for you? Can you please take a thread dump during the freeze, or even better a few thread dumps with several seconds in between those, and attach to this issue?

http://wiki.netbeans.org/GenerateThreadDump

Please, reopen when the dumps are available. Thanks.
Comment 4 renner96 2013-12-23 14:42:25 UTC
I'm not able to reproduce the problem, as it didn't happen again.