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 235641 - org.netbeans.modules.exceptions.ReporterResultTopComponent.<init>: LowPerformance took 3644 ms.
Summary: org.netbeans.modules.exceptions.ReporterResultTopComponent.<init>: LowPerform...
Status: RESOLVED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-09-07 13:23 UTC by Exceptions Reporter
Modified: 2013-09-09 13:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 203668


Attachments
nps snapshot (94.10 KB, application/nps)
2013-09-07 13:23 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-09-07 13:23:03 UTC
This bug was originally marked as duplicate of bug 210790, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build nbms-and-javadoc-418-on-20130906)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16
OS: Windows 7

User Comments:
GUEST: 7



Maximum slowness yet reported was 3644 ms, average is 3644
Comment 1 Exceptions Reporter 2013-09-07 13:23:05 UTC
Created attachment 139792 [details]
nps snapshot
Comment 2 Martin Entlicher 2013-09-09 13:04:18 UTC
The problem is, that JEditorPane.setContentType() takes a long time.
However, methods on Swing classes should be called in event queue. There's no synchronization of JEditorPane.kit and JEditorPane.isUserSetEditorKit, therefore they're expecting that they are called in EQ. Also, kit.install() must be called in EQ.
Therefore this must not be fixed.