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 229226 - [heapwalker] Selection-related exceptions in HeapWalker
Summary: [heapwalker] Selection-related exceptions in HeapWalker
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-30 14:52 UTC by Jiri Sedlacek
Modified: 2013-05-16 02:28 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 2013-04-30 14:52:38 UTC
Select a row in a HeapWalker view, press down the right mouse button, drag the mouse outside of the view and release the button. Causes an exception to be thrown:

  ArrayIndexOutOfBoundsException: -1
	at o.n.m.profiler.heapwalk.ui.ClassesListControllerUI.showPopupMenu(:964)

  NullPointerException
	at o.n.m.profiler.heapwalk.ui.FieldsBrowserControllerUI.showPopupMenu(:840)

  NullPointerException
	at o.n.m.profiler.heapwalk.ui.ReferencesBrowserControllerUI.getSelectedNode(:890)
Comment 1 Jiri Sedlacek 2013-04-30 15:33:56 UTC
Context menu not shown for no selection: http://hg.netbeans.org/profiler-main/rev/7e879476c53b.
Comment 2 Quality Engineering 2013-05-16 02:28:10 UTC
Integrated into 'main-golden', will be available in build *201305152300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7e879476c53b
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #229226 - do not open context menus in heapwalker for no selection