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 191492 - InterruptedException: Cannot wait with timeout 100 from the RequestProcessor thread for task: RequestProcessor.Task [System clipboard synchronizer, 1] for task org.netbeans.core.NbClipboard@2b1e57b4
Summary: InterruptedException: Cannot wait with timeout 100 from the RequestProcessor ...
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: b2s
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-31 05:08 UTC by tk_fhd_aui
Modified: 2010-11-01 23:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 172634


Attachments
stacktrace (900 bytes, text/plain)
2010-10-31 05:08 UTC, tk_fhd_aui
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tk_fhd_aui 2010-10-31 05:08:37 UTC
Build: NetBeans IDE 7.0 M2 (Build 201010151251)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Windows Vista

Stacktrace: 
java.lang.InterruptedException: Cannot wait with timeout 100 from the RequestProcessor thread for task: RequestProcessor.Task [System clipboard synchronizer, 1] for task org.netbeans.core.NbClipboard@2b1e57b4
   at org.openide.util.RequestProcessor$Task.waitFinished(RequestProcessor.java:1702)
   at org.netbeans.core.NbClipboard.getContents(NbClipboard.java:207)
   at b2s.clipboard.history.ClipboardHistoryInstaller.addClipboardContentsToHistory(ClipboardHistoryInstaller.java:51)
   at b2s.clipboard.history.ClipboardHistoryInstaller.clipboardChanged(ClipboardHistoryInstaller.java:46)
   at org.openide.util.datatransfer.ExClipboard.fireClipboardChange(ExClipboard.java:96)
   at org.netbeans.core.NbClipboard.run(NbClipboard.java:295)
Comment 1 tk_fhd_aui 2010-10-31 05:08:42 UTC
Created attachment 102725 [details]
stacktrace
Comment 2 Antonin Nebuzelsky 2010-11-01 13:33:39 UTC
NbClipboard.getContents() should not be called from the code in clipboardChanged() listener method. B2S History Clipboard should be changed to call getContents() from a different thread.

Reassigning.
Comment 3 b2s 2010-11-01 23:17:02 UTC
- fixed
- released
- uploaded to plugin portal