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 141970 - EDT violation in profiler integration UI
Summary: EDT violation in profiler integration UI
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-29 01:07 UTC by kirillcool
Modified: 2009-01-15 15:02 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 kirillcool 2008-07-29 01:07:19 UTC
Choosing "Profile file" on a class with a main method pops up a dialog that says that the build.xml is going to be
changed. If this is approved by the user, the following EDT violation is detected - the JScrollPane.setViewportView is
called outside the EDT.

	at javax.swing.JScrollPane.setViewportView(JScrollPane.java:985)
	at
org.netbeans.modules.profiler.ui.stp.SettingsContainerPanel.toggleBasicAdvancedSettingsView(SettingsContainerPanel.java:361)
	at org.netbeans.modules.profiler.ui.stp.SettingsContainerPanel.switchToBasicSettings(SettingsContainerPanel.java:199)
	at org.netbeans.modules.profiler.ui.stp.SettingsContainerPanel.setContents(SettingsContainerPanel.java:163)
	at org.netbeans.modules.profiler.ui.stp.SettingsContainerPanel.setContents(SettingsContainerPanel.java:146)
	at org.netbeans.modules.profiler.ui.stp.SelectProfilingTask.selectProfilingSettings(SelectProfilingTask.java:859)
	at org.netbeans.modules.profiler.ui.stp.SelectProfilingTask.updateProject(SelectProfilingTask.java:1065)
	at org.netbeans.modules.profiler.ui.stp.SelectProfilingTask.setupProfileProject(SelectProfilingTask.java:939)
	at org.netbeans.modules.profiler.ui.stp.SelectProfilingTask.selectProfileProjectTask(SelectProfilingTask.java:368)
	at org.netbeans.modules.profiler.actions.ProfilingSupport.selectTaskForProfiling(ProfilingSupport.java:176)
	at org.netbeans.modules.profiler.actions.AntActions$8.run(AntActions.java:547)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 Jiri Sedlacek 2008-09-01 16:05:41 UTC
Fixed for 6.5.


changeset:   99259:c7167c95ed84
date:        Mon Sep 01 17:03:49 2008 +0200
summary:     Bugfix #141970 UI code performed in EDT
Comment 2 Quality Engineering 2008-09-03 17:37:11 UTC
Integrated into 'main-golden', will be available in build *200809031401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c7167c95ed84
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #141970 UI code performed in EDT
Comment 3 mariadavydova 2009-01-14 15:58:05 UTC
Hi Kirill, please verify the fix. Thanks.
Comment 4 kirillcool 2009-01-14 16:36:15 UTC
My development of NB module for Substance look-and-feel has stopped [1], and i no longer have an environment to verify
this fix.

Thanks
Kirill

[1] http://www.pushing-pixels.org/?p=429
Comment 5 Tomas Hurka 2009-01-15 15:02:44 UTC
Verified in NB 6.5