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 63585 - BadLocationException when incorrectly set part of method code in Specify Code Fragment dialog
Summary: BadLocationException when incorrectly set part of method code in Specify Code...
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-02 16:43 UTC by Jiri Sedlacek
Modified: 2007-02-20 18:08 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 Jiri Sedlacek 2005-09-02 16:43:25 UTC
Selecting invalid lines in Specify Code Fragment / part of method code causes 
an exception to be thrown when starting profiling session. Also a notification 
dialog is presented to the user with a simple description.

This should be probably checked before profiling, ideally directly from the SCF 
dialog. Also the exception should not be thrown if the user already has been 
notified about it.
Comment 1 iformanek 2005-10-21 16:02:41 UTC
Jirko, please take a look at this.
Comment 2 Jiri Sedlacek 2005-11-22 15:54:59 UTC
Now only reasonable lines can be selected as a code region for selected class.

Fixed for M11.
Comment 3 ehucka 2006-10-09 12:08:34 UTC
Verification of old issues.
Comment 4 Alexander Kouznetsov 2007-02-20 10:16:20 UTC
Closing old issues
Comment 5 Alexander Kouznetsov 2007-02-20 18:08:24 UTC
Reverting to original Target Milestone value changed by mistake. Sorry for
inconvenience.