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 258709 - IDE hangs when copying text to the clipboard.
Summary: IDE hangs when copying text to the clipboard.
Status: RESOLVED WONTFIX
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-07 15:42 UTC by teamridco_nickd
Modified: 2016-04-12 20:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (24.35 KB, text/plain)
2016-04-07 15:44 UTC, teamridco_nickd
Details
Another thread dump (29.09 KB, text/plain)
2016-04-07 15:53 UTC, teamridco_nickd
Details
Another thread dump (25.95 KB, text/plain)
2016-04-11 22:00 UTC, teamridco_nickd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description teamridco_nickd 2016-04-07 15:42:36 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_66
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.66-b18

Reproducibility: Happens sometimes, but not always

PRECONDITIONS:
  * Subversion must be configured with SvnKit.
  * Have a project with at least two source files.  The project must be checked into Subversion.

STEPS:
  * Open two source files.
  * Make a change to one file, but do not save it.
  * Switch tabs to the unmodified file.
  * Select a block of text and attempt to copy it to the clipboard.
  * Switch back to the modified file.

ACTUAL:
  * IDE becomes unresponsive; typically shows around 15% CPU core usage.

EXPECTED:
  * IDE switches to the modified file
Comment 1 teamridco_nickd 2016-04-07 15:44:11 UTC
Created attachment 159150 [details]
Thread dump

Thread dump taken via console during a hang event.
Comment 2 teamridco_nickd 2016-04-07 15:45:21 UTC
I am still able to reproduce this as of the 201604040001 nightly build.
Comment 3 teamridco_nickd 2016-04-07 15:53:34 UTC
Created attachment 159152 [details]
Another thread dump

Was able to duplicate the hang with SvnKit disabled.
Comment 4 teamridco_nickd 2016-04-11 22:00:01 UTC
Created attachment 159216 [details]
Another thread dump

Tried again from a simple Maven Java SE project that was not checked into source control, and was able to capture this thread dump upon experiencing the hang.  Looks like all it takes to trigger the hang is for the user to mash Ctrl+C multiple times.
Comment 5 teamridco_nickd 2016-04-11 22:59:19 UTC
Attempted to duplicate issue on another machine with a similar configuration (Windows 10 ENT + NB 8.1 + JDK 1.8u77), and was not able to.  Suspect a plugin issue; will post further troubleshooting results.
Comment 6 teamridco_nickd 2016-04-12 04:07:23 UTC
Identified as an issue with the Open File At Cursor plugin.

Duplication Steps:
1. Install the Open File At Cursor plugin under NB 8.1 (any build between 8.1 main and the current nightly as of 2016-04-11).
2. Open any Java source file.
3. Select some text.
4. Rapidly and repeatedly hit Ctrl+C
5. Attempt to switch editor tabs, close the IDE, or use the IDE's taskbar button's right-click context menu to exit the IDE.

Expected result: The IDE switches to the new tab or closes when the close button/menu option is clicked.

Actual result: The IDE hangs with about 15% CPU usage.

Closing issue as it is a third-party problem.
Comment 7 markiewb 2016-04-12 20:24:13 UTC
Issue was filed at https://github.com/markiewb/nb-resource-hyperlink-at-cursor/issues/23