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.
This issue was reported manually by alexvsimon. It already has 1 duplicates Build: NetBeans IDE Dev (Build 20140219-d43f143d245a) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: SunOS User Comments: alexvsimon: open full remote project Maximum slowness yet reported was 54148 ms, average is 54148
Created attachment 145401 [details] nps snapshot
As I understand, it UI was frozen when you - entered or copy-pasted a path into "File Name" field - pressed "Open" In this case FileSystem.findResource is invoked in EDT: "AWT-EventQueue-0" at org.netbeans.modules.remote.impl.fs.RemoteFileSystem.findResource(RemoteFileSystem.java:298) at org.netbeans.modules.remote.impl.fs.RemoteFileSystem.findResource(RemoteFileSystem.java:96) at org.netbeans.modules.remote.api.ui.RemoteFileSystemView.createFileObject(RemoteFileSystemView.java:107) at javax.swing.plaf.basic.BasicFileChooserUI$ApproveSelectionAction.actionPerformed(BasicFileChooserUI.java:909) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3320) ...
Another stack that leads to the same issue is "AWT-EventQueue-0" org.netbeans.modules.remote.api.ui.RemoteFileSystemView.createFileObject(RemoteFileSystemView.java:100) org.netbeans.modules.remote.api.ui.FileChooserUIImpl$TextFieldKeyListener.keyPressed(FileChooserUIImpl.java:2335) java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:249) java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:249) java.awt.Component.processKeyEvent(Component.java:6463) javax.swing.JComponent.processKeyEvent(JComponent.java:2828) java.awt.Component.processEvent(Component.java:6282) java.awt.Container.processEvent(Container.java:2229) java.awt.Component.dispatchEventImpl(Component.java:4861) ...
Created attachment 145530 [details] Proposed patch
Created attachment 145624 [details] better fix
Created attachment 145946 [details] Yet better fix that fixes also the last mentioned stack
Created attachment 145962 [details] Small changes after review with Maria + more comments
fixed in http://hg.netbeans.org/cnd-main/rev/68985f0f8faf
Integrated into 'main-silver', will be available in build *201403130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/68985f0f8faf User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #242099 - org.netbeans.modules.remote.impl.fs.RemoteFileSystemTransport.readDirectory: LowPerformance took 54148 ms.
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/e3ae6cf6efbf User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #242099 - org.netbeans.modules.remote.impl.fs.RemoteFileSystemTransport.readDirectory: LowPerformance took 54148 ms. (transplanted from 68985f0f8faf28e134b4c2ffdd043bd05a8305b7)