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 229721 - Project file read in EDT 2 (for mime type)
Summary: Project file read in EDT 2 (for mime type)
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Text (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: 2013-05-14 12:40 UTC by Egor Ushakov
Modified: 2013-06-05 14:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (5.04 KB, text/plain)
2013-05-14 12:40 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2013-05-14 12:40:55 UTC
Created attachment 134418 [details]
stacktrace

see attached stacktrace, sometimes we read project files from EDT which may lead to huge UI freeze
Comment 1 Miloslav Metelka 2013-06-05 14:56:42 UTC
The file contents are read due to request of file's mime type in order to properly determine an editor kit to be used for file's editing.
IMHO we could attempt to find the kit itself during CloneableEditor.initNonVisual().
pane.setEditorKit(kit) call must then certainly be done from AWT as well as pane.setDocument().