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 209988

Summary: IllegalStateException: cannot open system clipboard
Product: third-party Reporter: arnex <arnex>
Component: -- Other --Assignee: issues@third-party <issues>
Status: NEW ---    
Severity: normal CC: johnstosh
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 149145
Attachments: stacktrace

Description arnex 2012-03-23 11:31:46 UTC
Build: NetBeans IDE 7.0.1 (Build 201107282000)
VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Windows XP

User Comments:
GUEST: This damn Exception Dialog shows up at any time. When coding, when building, when switching windows, anytime.

GUEST: unespected error, close the ide

johnstosh: I have no idea what I dun :-)




Stacktrace: 
java.lang.IllegalStateException: cannot open system clipboard
   at sun.awt.windows.WClipboard.openClipboard(WClipboard.java:0)
   at sun.awt.datatransfer.SunClipboard.getClipboardFormatsOpenClose(SunClipboard.java:315)
   at sun.awt.datatransfer.SunClipboard.isDataFlavorAvailable(SunClipboard.java:175)
   at org.jdesktop.application.TextActions.updateTextActions(TextActions.java:132)
   at org.jdesktop.application.TextActions.access$400(TextActions.java:47)
   at org.jdesktop.application.TextActions$ClipboardListener.flavorsChanged(TextActions.java:108)
Comment 1 arnex 2012-03-23 11:31:49 UTC
Created attachment 117151 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2012-04-19 12:44:18 UTC
This is a bug in org.jdesktop.application.TextActions.updateTextActions(TextActions.java:132)
It's not a NetBeans issue.