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.
Summary: | MakeCustomizer & ListEditorPanel access file system from EDT | ||
---|---|---|---|
Product: | cnd | Reporter: | Vladimir Kvashin <vkvashin> |
Component: | Project | Assignee: | Maria Tishkova <mromashova> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Full stack |
Lots of similar problems when using editor are described in issue 218138; this one isn't from editor, so I didn't add dependency between this issue and issue 218138 fixed for ListEditorPane in http://hg.netbeans.org/cnd-main/rev/d5b466adf65f Integrated into 'main-golden', will be available in build *201210310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d5b466adf65f User: Maria Tishkova <mromashova@netbeans.org> Log: fixed bz#219547 - MakeCustomizer & ListEditorPanel access file system from EDT Also fixed not only remove configuration from configurations list but also copy and edit |
Created attachment 125402 [details] Full stack Here is one another stack showing access to file system from EDT. In this particular case it was remote, which is even worse, but can harm user in "local" file system as well. Here is a reduced stack, see full stack in the attachment "AWT-EventQueue-1" prio=3 tid=0x08aca800 nid=0x1e runnable [0xbdffd000] java.lang.Thread.State: RUNNABLE at org.netbeans.modules.remote.impl.fs.RemoteDirectory.refreshDirectoryStorage(RemoteDirectory.java:476) ... org.netbeans.modules.remote.impl.fs.RemoteFileObject.delete(RemoteFileObject.java:433) at org.netbeans.modules.cnd.discovery.buildsupport.CompileSupport.remove(CompileSupport.java:118) at org.netbeans.modules.cnd.makeproject.spi.configurations.CompileOptionsProvider$Default.remove(CompileOptionsProvider.java:116) at org.netbeans.modules.cnd.makeproject.ui.customizer.MakeCustomizer$MyListEditorPanel.removeAction(MakeCustomizer.java:726) at org.netbeans.modules.cnd.makeproject.ui.customizer.MakeCustomizer$MyListEditorPanel.removeAction(MakeCustomizer.java:681) at org.netbeans.modules.cnd.utils.ui.ListEditorPanel.removeObjectAction(ListEditorPanel.java:689) - locked <0xc495b270> (a org.netbeans.modules.cnd.makeproject.ui.customizer.MakeCustomizer$MyListEditorPanel) at org.netbeans.modules.cnd.utils.ui.ListEditorPanel.removeButtonActionPerformed(ListEditorPanel.java:711)