Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321463

Summary: Bad mat://object/ link goes to blank page
Product: [Tools] MAT Reporter: Andrew Johnson <andrew_johnson>
Component: GUIAssignee: Project Inbox <mat.gui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Andrew Johnson CLA 2010-08-01 12:33:14 EDT
If there is a bad mat://object/ link in a report then a warning message

Unable to map address 0x985b8 to an object on the heap.

appears, but then it changes to a page saying:

The page cannot be displayed 
The page you are looking for might have been removed or had its name changed. 

--------------------------------------------------------------------------------
 
and the back button is needed to get back to the report.

Bad links shouldn't occur, but are possible with user written queries or by opening an report from an unrelated dump.
Comment 1 Andrew Johnson CLA 2010-08-01 12:34:09 EDT
The problem is that the error messages doesn't stop the jump to the new page. Clearing event.doit in QueryTextResultPane should fix it.
Comment 2 Andrew Johnson CLA 2010-08-02 06:25:15 EDT
I've changed QueryTextResultPane to set event.doit to false after the error.