Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321463 - Bad mat://object/ link goes to blank page
Summary: Bad mat://object/ link goes to blank page
Status: RESOLVED FIXED
Alias: None
Product: MAT
Classification: Tools
Component: GUI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-01 12:33 EDT by Andrew Johnson CLA
Modified: 2010-08-02 06:25 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.