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 82046 - [heapwalker] Show Class / Show in Classes View don't work for filtered-out classes
Summary: [heapwalker] Show Class / Show in Classes View don't work for filtered-out cl...
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:
: 112858 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-07 10:59 UTC by Jiri Sedlacek
Modified: 2007-08-15 14:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (3.41 KB, application/octet-stream)
2007-02-05 13:05 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2006-08-07 10:59:47 UTC
When filter is used in Classes list, Show Class / Show in Classes View actions 
from popup menus don't work for classes that aren't matched by the filter.
Comment 1 Jiri Sedlacek 2006-10-17 14:41:36 UTC
Fixed.
Comment 2 Alexander Kouznetsov 2007-02-05 13:04:42 UTC
Experienced partial fix with

Profiler 070205
NetBeans IDE Dev (Build 200702011900)
1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251

Experienced the following behavior:
- Typed "Contains" filter criteria
- Switched to Instances view
- Used show in Classes View popup menu item
- RESULT: Even the class is added to filter criteria and shown in table, it is
not selected

- Typed "Regular expression" filter criteria
- Switched to Instances view
- Used show in Classes View popup menu item on array type
- RESULT: Exception is thrown (attached)
java.util.regex.PatternSyntaxException: Unclosed character class near index 26
Comment 3 Alexander Kouznetsov 2007-02-05 13:05:21 UTC
Created attachment 38039 [details]
Exception
Comment 4 Jiri Sedlacek 2007-08-15 13:54:59 UTC
*** Issue 112858 has been marked as a duplicate of this issue. ***
Comment 5 Jiri Sedlacek 2007-08-15 14:13:24 UTC
I'm not able to reproduce the problem "Even the class is added to filter criteria and shown in table, it is
not selected" but now the selection is scheduled for later to allow all other UI changes to happen before selecting the 
item.

Changed filter behavior - if item to be selected doesn't match current filter, the filter is simply cleared instead of 
adding item name. Added a check to prevent the PatternSyntaxException.

Please reopen if you experience the problem with not selected item again.

Fixed for Beta1.