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 186505 - Files from shares in the clipboard block NetBeans UI
Summary: Files from shares in the clipboard block NetBeans UI
Status: RESOLVED DUPLICATE of bug 177696
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-21 12:54 UTC by Tim Lebedkov
Modified: 2010-05-25 07:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Lebedkov 2010-05-21 12:54:49 UTC
my NetBeans 6.7 platform based application blocks if I copy a file from a remote share to a clipboard. Here is the corresponding stack trace from JVisualVM

"AWT-EventQueue-1" prio=6 tid=0x1302ac00 nid=0xd78 runnable [0x14fff000]
   java.lang.Thread.State: RUNNABLE
	at java.io.WinNTFileSystem.canonicalize0(Native Method)
	at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
	at java.io.File.getCanonicalPath(File.java:559)
	at java.io.File.getCanonicalFile(File.java:583)
	at org.openide.filesystems.FileUtil.normalizeFileOnWindows(FileUtil.java:1656)
	at org.openide.filesystems.FileUtil.normalizeFile(FileUtil.java:1563)
	at org.openide.loaders.DataFolder$FolderNode.createNodeTransferable(DataFolder.java:1365)
	at org.openide.loaders.DataFolder$FolderNode.createPasteTypes(DataFolder.java:1346)
	at org.openide.nodes.AbstractNode.getPasteTypes(AbstractNode.java:540)
	at org.openide.nodes.FilterNode.getPasteTypes(FilterNode.java:687)
	at org.openide.explorer.ExplorerActionsImpl.updatePasteTypes(ExplorerActionsImpl.java:346)
	at org.openide.explorer.ExplorerActionsImpl.updatePasteAction(ExplorerActionsImpl.java:332)
	at org.openide.explorer.ExplorerActionsImpl.access$500(ExplorerActionsImpl.java:88)
	at org.openide.explorer.ExplorerActionsImpl$ActionStateUpdater.run(ExplorerActionsImpl.java:697)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

   Locked ownable synchronizers:
	- None
Comment 1 Peter Pis 2010-05-21 13:56:59 UTC
Please evaluate.
Comment 2 Jaroslav Tulach 2010-05-25 07:32:26 UTC
I guess this is the same as bug 177696. I want to make the update of explorer actions asynchronous.

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