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 217625 - Accessing file system in EDT: CppFoldManager.getFilename
Summary: Accessing file system in EDT: CppFoldManager.getFilename
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Egor Ushakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-30 12:46 UTC by Egor Ushakov
Modified: 2013-05-17 08:48 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 Egor Ushakov 2012-08-30 12:46:03 UTC
"AWT-EventQueue-1"
java.io.File.isDirectory(File.java:750)
java.io.File.toURI(File.java:661)
org.openide.util.Utilities.toURI(Utilities.java:3077)
org.openide.filesystems.FileUtil.normalizeFileOnUnixAlike(FileUtil.java:1804)
org.openide.filesystems.FileUtil.normalizeFileImpl(FileUtil.java:1791)
org.openide.filesystems.FileUtil.normalizeFileCached(FileUtil.java:1768)
org.openide.filesystems.FileUtil.assertNormalized(FileUtil.java:141)
org.openide.filesystems.FileUtil.toFile(FileUtil.java:1016)
org.openide.filesystems.FileUtil.getFileDisplayName(FileUtil.java:1665)
org.netbeans.modules.cnd.editor.folding.CppFoldManager.getFilename(CppFoldManager.java:120)
org.netbeans.modules.cnd.editor.folding.CppFoldManager.initFolds(CppFoldManager.java:372)
org.netbeans.modules.editor.fold.FoldOperationImpl.initFolds(FoldOperationImpl.java:115)
org.netbeans.modules.editor.fold.FoldHierarchyExecution.rebuildManagers(FoldHierarchyExecution.java:704)
org.netbeans.modules.editor.fold.FoldHierarchyExecution.rebuild(FoldHierarchyExecution.java:637)
org.netbeans.modules.editor.fold.FoldHierarchyExecution.rebuild(FoldHierarchyExecution.java:595)
org.netbeans.modules.editor.fold.FoldHierarchyExecution.init(FoldHierarchyExecution.java:225)
org.netbeans.modules.editor.fold.FoldHierarchyExecution.getOrCreateFoldHierarchy(FoldHierarchyExecution.java:168)
org.netbeans.api.editor.fold.FoldHierarchy.get(FoldHierarchy.java:148)
org.netbeans.modules.editor.fold.FoldViewFactory.<init>(FoldViewFactory.java:116)
org.netbeans.modules.editor.fold.FoldViewFactory$FoldFactory.createEditorViewFactory(FoldViewFactory.java:228)
org.netbeans.modules.editor.lib2.view.ViewUpdates.initFactories(ViewUpdates.java:156)
org.netbeans.modules.editor.lib2.view.DocumentViewOp.parentViewSet(DocumentViewOp.java:495)
org.netbeans.modules.editor.lib2.view.DocumentView$4.run(DocumentView.java:621)
org.netbeans.modules.editor.lib2.view.DocumentView.runTransaction(DocumentView.java:226)
org.netbeans.modules.editor.lib2.view.DocumentView$1.run(DocumentView.java:239)
org.netbeans.editor.BaseDocument.render(BaseDocument.java:1347)
org.netbeans.modules.editor.lib2.view.DocumentView.runReadLockTransaction(DocumentView.java:236)
org.netbeans.modules.editor.lib2.view.DocumentView.setParent(DocumentView.java:616)
javax.swing.plaf.basic.BasicTextUI$RootView.setView(BasicTextUI.java:1316)
javax.swing.plaf.basic.BasicTextUI.setView(BasicTextUI.java:678)
org.netbeans.editor.BaseTextUI.modelChanged(BaseTextUI.java:179)
javax.swing.plaf.basic.BasicTextUI$UpdateHandler.propertyChange(BasicTextUI.java:1774)
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
java.awt.Component.firePropertyChange(Component.java:8163)
org.openide.text.QuietEditorPane.firePropertyChange(QuietEditorPane.java:209)
javax.swing.text.JTextComponent.setDocument(JTextComponent.java:437)
org.openide.text.QuietEditorPane.setDocument(QuietEditorPane.java:162)
org.openide.text.CloneableEditor$DoInitialize.initDocument(CloneableEditor.java:762)
org.openide.text.CloneableEditor$DoInitialize.initVisual(CloneableEditor.java:776)
org.openide.text.CloneableEditor$DoInitialize.run(CloneableEditor.java:396)
org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1521)
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:646)
java.awt.EventQueue.access$000(EventQueue.java:84)
java.awt.EventQueue$1.run(EventQueue.java:607)
java.awt.EventQueue$1.run(EventQueue.java:605)
java.security.AccessController.doPrivileged(AccessController.java)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
java.awt.EventQueue.dispatchEvent(EventQueue.java:616)
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:158)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 Egor Ushakov 2012-08-30 13:50:21 UTC
fixed in:
http://hg.netbeans.org/cnd-main/rev/a2c192c2c80c
Comment 2 Quality Engineering 2012-08-31 02:00:42 UTC
Integrated into 'main-golden', will be available in build *201208310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a2c192c2c80c
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixed #217625 - Accessing file system in EDT: CppFoldManager.getFilename