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 155679 - No warning message while trying to load wrong snapshot file
Summary: No warning message while trying to load wrong snapshot file
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Cyhelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-17 15:50 UTC by Rashid Urusov
Modified: 2009-02-19 22:56 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 Rashid Urusov 2008-12-17 15:50:29 UTC
Netbeans IDE 7.0 M1 build

Steps to reproduce:
- Invoke Profile -> Load Snapshot item of main menu
- In opened Open Snapshot file Dialog select All Files item for Files of type combo box
- Choose any non snapshot file to open (e.g. any .png file)

As a result - nothing happened i.e. - nothing opened without any messages.
It would be better to treat this situation similar to trying to load wrong Heap Dump file providing users with message.
Comment 1 Petr Cyhelsky 2008-12-17 18:40:32 UTC
fixed in profiler-main: 9aeb347b7c36
Comment 2 Quality Engineering 2008-12-22 15:04:58 UTC
Integrated into 'main-golden', will be available in build *200812221122* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9aeb347b7c36
User: Petr Cyhelsky <cyhelsky@netbeans.org>
Log: Issue #155679 Add error message when non .nps file is selected to be opened as snapshot
Comment 3 Rashid Urusov 2008-12-22 16:20:09 UTC
VERIFIED in Build 200812221122