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 218746 - Accessing file system in EDT: ToggleBookmarkAction update
Summary: Accessing file system in EDT: ToggleBookmarkAction update
Status: RESOLVED DUPLICATE of bug 218760
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 218138
  Show dependency tree
 
Reported: 2012-09-21 09:50 UTC by Egor Ushakov
Modified: 2012-12-20 14:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (4.16 KB, text/plain)
2012-09-21 09:50 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2012-09-21 09:50:09 UTC
steps to reproduce:
- have projects view visible
- open file in the editor
- click on empty space in projects view
this will result in File.isFile call for selected node, see attached stacktrace
Comment 1 Egor Ushakov 2012-09-21 09:50:40 UTC
Created attachment 124695 [details]
stacktrace
Comment 2 Egor Ushakov 2012-09-21 09:57:47 UTC
correction:
- also in projects view have selected a file that is not opened in the editor
Comment 3 Egor Ushakov 2012-09-21 10:29:04 UTC
It looks like the problem is that we recreate DataEditorSupport on every editor focus lost if other file is selected in projects view just to check that there is EditorCookie in the actions global context.
See also bug 210416
Comment 4 David Strupl 2012-12-20 14:20:10 UTC
I think this case was already fixed by Jarda as 218760. Marking as duplicate.

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