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 136800 - Profiling prevents switching of configurations
Summary: Profiling prevents switching of configurations
Status: RESOLVED 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-06-09 11:27 UTC by rost
Modified: 2008-08-25 15:15 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 rost 2008-06-09 11:27:14 UTC
Here are the steps to reproduce the bug:

1) create a project with several main classes.
2) add a configuration for every main class (project properties -> Run) so that switching between classes is made simple
3) start monitoring one class (monitor or memory, cpu does not have this bug)
4) try switching configuration
5) notice the error message "Cannot get exclusive access to /home/user/netbeans/project/private/config.properties
(probably opened for reading)." (path names may vary)

This is REALLY standing in my way. I have several non-trivial main classes (clients & servers) in my project with a few
runtime options. Therefore I created a configuration for every one of them. Now I wanted to profile them against each
other but after starting to profile (only monitor or memory) a server I can not switch to a client configuration...
Comment 1 Jiri Sedlacek 2008-06-16 16:42:30 UTC
Reproduced.
Comment 2 Jiri Sedlacek 2008-08-25 15:15:37 UTC
Seems to be fixed by http://hg.netbeans.org/main?cmd=changeset;node=76f638ef25ef.