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 118529 - [ProfilingPoints] The location is not checked for validity when setting PP
Summary: [ProfilingPoints] The location is not checked for validity when setting PP
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
: 117893 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-11 11:37 UTC by Maksim Khramov
Modified: 2008-11-25 14:39 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 Maksim Khramov 2007-10-11 11:37:06 UTC
Product Version: NetBeans IDE Dev (Build 200710100000)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

Test project - Anagram Game sample.

Steps to reproduce:
Open Anagrams.java file.
Click on guessedWordActionPerformed method declaration and add Take Snapshot profiling point.
Run profiling and click Guess button a few times.

No snapshots are taken.
Comment 1 J Bachorik 2007-10-15 08:46:58 UTC
there needs to be a check for validity of a given PP. the system should warn the user that the location he selected for
PP is not valid and force him to modify the location
Comment 2 J Bachorik 2007-10-15 08:50:35 UTC
updating summary to better reflect the problem
Comment 3 J Bachorik 2007-10-15 08:51:54 UTC
*** Issue 117893 has been marked as a duplicate of this issue. ***
Comment 4 Tomas Hurka 2007-11-07 10:35:30 UTC
Changing target milestone to dev, since NetBeans 6.0 is in high resistance mode.
Comment 5 Jiri Sedlacek 2008-09-02 16:59:09 UTC
Warning dialog is now shown for invalid profiling point location based on the best guess - it's not easy to exactly
determine invalid location. That's why the warning doesn't affect profiling point validity, it just warns that it likely
won't be hit during profiling.

Fixed for 6.5.


changeset:   99312:e261b2ef0865
date:        Tue Sep 02 17:53:49 2008 +0200
summary:     Bugfix #118529 Warning dialog for invalid PP location
Comment 6 Quality Engineering 2008-09-03 17:24:50 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/e261b2ef0865
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #118529 Warning dialog for invalid PP location
Comment 7 mariadavydova 2008-11-25 14:39:14 UTC
verified in Build 200811250201