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 255935 - Can Not Save File - endless spinning beach ball. Happens Periodically (1/day) after Ctrl-Shift-d for clipboard
Summary: Can Not Save File - endless spinning beach ball. Happens Periodically (1/day)...
Status: RESOLVED DUPLICATE of bug 252120
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-14 19:28 UTC by nathanh
Modified: 2015-10-16 15:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (128.44 KB, text/plain)
2015-10-14 19:28 UTC, nathanh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nathanh 2015-10-14 19:28:09 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Linux version 2.6.32-358.el6.x86_64 running on amd64
Java; VM; Vendor = 1.8.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23

This issue has been happening about 1 / day. 
Writing C code, after pasting from multi-clipboard Ctrl-Shift-d, my cursor turns into spinning beach-ball and I can no long save the file.
I need to kill the IDE and re-open, loosing my unsaved work.
Comment 1 nathanh 2015-10-14 19:28:12 UTC
Created attachment 156733 [details]
IDE log
Comment 2 Jiri Kovalsky 2015-10-15 15:28:52 UTC
Reassigned for further evaluation.
Comment 3 Vladimir Voskresensky 2015-10-15 15:38:42 UTC
SEVERE [global]
java.lang.SecurityException: All swing access to clipboard should be redirected to ExClipboard
	at org.netbeans.TopSecurityManager.checkWhetherAccessedFromSwingTransfer(TopSecurityManager.java:757)
	at org.netbeans.TopSecurityManager.checkPermission(TopSecurityManager.java:501)
	at sun.awt.X11.XToolkit.getSystemSelection(XToolkit.java:1160)
	at org.netbeans.editor.BaseCaret.getSystemSelection(BaseCaret.java:864)
	at org.netbeans.editor.BaseCaret.updateSystemSelection(BaseCaret.java:855)
	at org.netbeans.editor.BaseCaret.fireStateChanged(BaseCaret.java:967)
	at org.netbeans.editor.BaseCaret.modifiedUpdate(BaseCaret.java:1432)
	at org.netbeans.editor.BaseCaret.atomicUnlock(BaseCaret.java:1451)
	at org.netbeans.editor.BaseDocument.fireAtomicUnlock(BaseDocument.java:1827)
	at org.netbeans.editor.BaseDocument.atomicUnlockImpl(BaseDocument.java:1763)
	at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:942)
	at javax.swing.plaf.basic.BasicTextUI$TextTransferHandler.handleReaderImport(BasicTextUI.java:2296)
	at javax.swing.plaf.basic.BasicTextUI$TextTransferHandler.importData(BasicTextUI.java:2502)
	at org.openide.text.QuietEditorPane$DelegatingTransferHandler.importData(QuietEditorPane.java:372)
	at javax.swing.TransferHandler.importData(TransferHandler.java:827)
	at javax.swing.TransferHandler$TransferAction.actionPerformedImpl(TransferHandler.java:1766)
	at javax.swing.TransferHandler$TransferAction.access$800(TransferHandler.java:1692)
	at javax.swing.TransferHandler$TransferAction$1.run(TransferHandler.java:1715)
	at javax.swing.TransferHandler$TransferAction$1.run(TransferHandler.java:1713)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
	at javax.swing.TransferHandler$TransferAction$2.run(TransferHandler.java:1730)
	at javax.swing.TransferHandler$TransferAction$2.run(TransferHandler.java:1728)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at javax.swing.TransferHandler$TransferAction.actionPerformed(TransferHandler.java:1727)
	at javax.swing.text.JTextComponent.invokeAction(JTextComponent.java:1462)
	at javax.swing.text.JTextComponent.paste(JTextComponent.java:1440)
	at org.netbeans.modules.editor.impl.actions.clipboardhistory.CompletionLayoutPopup.pasteContent(CompletionLayoutPopup.java:651)
	at org.netbeans.modules.editor.impl.actions.clipboardhistory.CompletionLayoutPopup.access$400(CompletionLayoutPopup.java:82)
	at org.netbeans.modules.editor.impl.actions.clipboardhistory.CompletionLayoutPopup$ChMouseAdapter.mouseClicked(CompletionLayoutPopup.java:566)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
	at java.awt.Component.processMouseEvent(Component.java:6528)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
	at java.awt.Component.processEvent(Component.java:6290)
	at java.awt.Container.processEvent(Container.java:2234)
	at java.awt.Component.dispatchEventImpl(Component.java:4881)
	at java.awt.Container.dispatchEventImpl(Container.java:2292)
	at java.awt.Component.dispatchEvent(Component.java:4703)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4542)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
	at java.awt.Container.dispatchEventImpl(Container.java:2278)
	at java.awt.Component.dispatchEvent(Component.java:4703)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
	at java.awt.EventQueue.access$400(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:697)
	at java.awt.EventQueue$3.run(EventQueue.java:691)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:719)
	at java.awt.EventQueue$4.run(EventQueue.java:717)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Comment 4 Milutin Kristofic 2015-10-16 15:10:05 UTC

*** This bug has been marked as a duplicate of bug 252120 ***