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 166771 - [Heapwalker OQL] query execute button not enabled
Summary: [Heapwalker OQL] query execute button not enabled
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P1 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-09 10:10 UTC by matusdekanek
Modified: 2009-06-15 08:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screeenshot (106.56 KB, image/png)
2009-06-09 10:11 UTC, matusdekanek
Details
messages.log (67.72 KB, text/plain)
2009-06-09 10:12 UTC, matusdekanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matusdekanek 2009-06-09 10:10:39 UTC
Product Version: NetBeans IDE 6.7 RC3 (Build 200906090001)
Java: 1.6.0_14-ea; Java HotSpot(TM) Client VM 14.0-b12
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)

start profiling some project (almost any settings if I understand it well)
take heap dump
open the heap dump
go to OQL console tab
insert some valid query (there are for example some sample queries)
this time it worked
stop the profiling session, close the heap dump
run profiling session once more, take again the heap dump
insert some valid query
the execute button is not enabled at all, even after restart of IDE

(I might have understood something wrong, let me know in such case)
Comment 1 matusdekanek 2009-06-09 10:11:31 UTC
Created attachment 83346 [details]
screeenshot
Comment 2 matusdekanek 2009-06-09 10:12:17 UTC
Created attachment 83347 [details]
messages.log
Comment 3 Jiri Sedlacek 2009-06-09 10:42:45 UTC
Product Version: NetBeans IDE 6.7 RC3 (Build 200906090001)
Java: 1.6.0_14; Java HotSpot(TM) Client VM 14.0-b16
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)


Reproduced. These steps are enough to reproduce the problem:

 1/ Open an external heap dump
 2/ Close it, open it again
 3/ The Execute button is now always disabled for a valid query

It looks like once the HeapWalker is closed, the Execute button stays disabled for other HeapWalkers opened after that.
Comment 4 Jiri Sedlacek 2009-06-09 10:44:41 UTC
I think this should be fixed for 6.7 -> P1.
There doesn't seem to be any other workaround than restarting the IDE.
Comment 5 Marian Mirilovic 2009-06-09 14:40:33 UTC
ok ... treating this issue as a stopper for NB 6.7
Comment 6 J Bachorik 2009-06-09 15:42:43 UTC
fixed delivered

http://hg.netbeans.org/profiler-main/rev/f9d0f20c65e4
Comment 7 Marian Mirilovic 2009-06-09 15:52:05 UTC
matus, 
please verify the fix tomorrow in trunk ... thanks in advance.
Comment 8 matusdekanek 2009-06-10 08:53:02 UTC
NetBeans IDE 6.7 RC3 (Build 200906100001):
Not fixed. The button is not enabled at all right now.
Comment 9 matusdekanek 2009-06-10 09:36:24 UTC
works in
NetBeans IDE Dev (Build profiler-main-626-on-090609)
waiting for main-golden integration
Comment 10 Jiri Sedlacek 2009-06-10 10:10:38 UTC
I've reviewed the fix, it's OK.
Comment 11 Quality Engineering 2009-06-11 08:37:57 UTC
Integrated into 'main-golden', will be available in build *200906110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f9d0f20c65e4
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #166771 - [Heapwalker OQL] query execute button not enabled
Comment 12 Marian Mirilovic 2009-06-11 14:34:14 UTC
yardus, could you please proceed with integration into release67 clone ASAP ? Thanks in advance.
Comment 13 J Bachorik 2009-06-11 16:14:15 UTC
as per HR process
Comment 15 matusdekanek 2009-06-15 08:30:14 UTC
works, marking verified