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 204355

Summary: java.io.IOException: system clipboard data unavailable
Product: third-party Reporter: xenopont
Component: -- Other --Assignee: issues@third-party <issues>
Status: REOPENED ---    
Severity: normal CC: achirizzi, cristian_radulescu, javatlacati, Mahesh_Kulasinghe, Mike-EE, molikk, rgw21, steve.clason, sunbiz, szmulik, tim_sa, xenopont
Priority: P1    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 182380
Attachments: stacktrace
IDE log
stacktrace
stacktrace
stacktrace
stacktrace

Description xenopont 2011-10-28 07:24:59 UTC
This bug was originally marked as duplicate of bug 179414, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.1 Beta (Build 201109252201)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Windows 7

User Comments:
xenopont: Copying text into Clipboard in another window.




Stacktrace: 
java.io.IOException: system clipboard data unavailable
   at sun.awt.windows.WClipboard.getClipboardData(WClipboard.java:0)
   at sun.awt.datatransfer.ClipboardTransferable.fetchOneFlavor(ClipboardTransferable.java:118)
   at sun.awt.datatransfer.ClipboardTransferable.<init>(ClipboardTransferable.java:97)
   at sun.awt.datatransfer.SunClipboard.getContents(SunClipboard.java:147)
   at org.netbeans.NbClipboard.getContents(NbClipboard.java:216)
   at net.java.dev.nbmodules.copypastehistory.controllers.ClipboardHistoryController.clipboardChanged(ClipboardHistoryController.java:52)
Comment 1 xenopont 2011-10-28 07:25:03 UTC
Created attachment 112526 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2012-03-06 11:10:34 UTC
obviously some third-part module doesn't handle clipboard events correctly:

net.java.dev.nbmodules.copypastehistory.controllers.ClipboardHistoryController.clipboardChanged(ClipboardHistoryController.java:52)
Comment 3 Marian Mirilovic 2012-04-03 15:31:34 UTC
Report against http://java.net/jira/browse/COPYPASTEHISTORY
Comment 4 javydreamercsw 2012-09-11 18:27:58 UTC
I got this error on build 201209110001. See attachment.
Comment 5 javydreamercsw 2012-09-11 18:28:02 UTC
Created attachment 124185 [details]
IDE log
Comment 6 tim_sa 2012-11-05 09:08:11 UTC
Created attachment 127117 [details]
stacktrace

changed focus back to NetBeans
Comment 7 tim_sa 2012-11-05 09:11:11 UTC
Created attachment 127119 [details]
stacktrace
Comment 8 tim_sa 2012-11-07 07:26:10 UTC
Created attachment 127271 [details]
stacktrace

pasting in excel
Comment 9 Exceptions Reporter 2013-06-09 09:46:29 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=182380
Comment 10 sunbiz 2013-06-25 19:05:08 UTC
Created attachment 136290 [details]
stacktrace

The Netbeans window was in the background. Copied something in Acrobat PDF which failed to copy and got this window popup in Netbeans. Netbeans was not brought to focus, still this error was shown