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 174224 - [java, profiling points] profiling points are ignored on first start of a java project
Summary: [java, profiling points] profiling points are ignored on first start of a jav...
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Jaroslav Tulach
Depends on:
Reported: 2009-10-09 13:49 UTC by matusdekanek
Modified: 2009-10-29 12:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

screenshot (208.71 KB, image/png)
2009-10-09 13:51 UTC, matusdekanek
mesages.log (266.25 KB, text/plain)
2009-10-09 13:51 UTC, matusdekanek

Note You need to log in before you can comment on or make changes to this bug.
Description matusdekanek 2009-10-09 13:49:26 UTC
Product Version: NetBeans IDE 6.8 M2 (Build 200910071658)
Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01
System: Linux version 2.6.28-15-generic running on i386; UTF-8; en_US (nb)

-start IDE (it has enabled the ergonomics module)
-create Anagram game sample project
-insert a few profiling points into the project
-close the IDE
-delete the userdir
-start IDE again
-open the previously created Anagram game project
-open the 'profiling points' window - the profiling points of the project are correctly listed
-invoke 'profile main project'
-in the profiler dialog select 'CPU' configuration
-select 'use profiling points' checkbox
-click on 'show active profiling points' link
There are no profiling points listed, although there are listed in the 'profiling points' window. They are ignored
during profiling as well.

With disabled ergonomics everything works fine. Seems that it has something to do with java se activation.
Comment 1 matusdekanek 2009-10-09 13:51:13 UTC
Created attachment 89183 [details]
Comment 2 matusdekanek 2009-10-09 13:51:45 UTC
Created attachment 89184 [details]
Comment 3 Jaroslav Tulach 2009-10-27 11:23:45 UTC

Please review the code and don't be scared too much by it.
Comment 4 Quality Engineering 2009-10-29 12:08:12 UTC
Integrated into 'main-golden', will be available in build *200910290252* on (upload may still be in progress)
User: Jaroslav Tulach <>
Log: #174224: Comparing projects based on their directory.
There is a better method for those who deal with identity of opened projects: OpenProjects.isProjectOpen, but I am not sure how to use it in this class, it seems to keep its own list of "opened projects".