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 271598 - Profile methods snapshot tab, export forward calls csv: cannot leave path error dialog
Summary: Profile methods snapshot tab, export forward calls csv: cannot leave path err...
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-07 16:43 UTC by nimarukan
Modified: 2017-10-07 16:43 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 nimarukan 2017-10-07 16:43:01 UTC
In a profile methods snapshot tab,
after starting to "Export forward calls" to csv,
if the typed folder path does not exist, and a path error dialog appears,
then NetBeans becomes stuck, 
repeatedly reshowing the error dialog each time the error dialog is closed.  
(The dialog is modal, so the only way to use Netbeans again is to kill the whole NetBeans process.)

Steps to reproduce

1. Start profiler
(I right clicked on a test java file and clicked "Run Test File".)

2. Configure profiler to record "methods"

3. Click "Profile" button to start run

4. Either wait for run to complete and then take snapshot, or take snapshot of collected data while running.

5. In snapshot tab (with time of snapshot in tab title)
   Click downarrow besides second disk icon (titletip "Export data to file or image"),
   Click "Export Forward Calls"
   In Filedialog, type full path but make a spelling error in a folder name.
     c:\NonexistingFolder\file.csv
   Click the "Export" button.

6. In the error dialog that pops up:
      "Failed to export snapshot"
      "c:\NonexistingFolder\file.csv (The system cannot find the path specified)."
   Click "OK", or click the close box "[x]".
  
Actual Result:
  The error dialog immediately reappears.
  There is no way to remove the dialog except to kill the whole NetBeans process (from task manager).

Expected Result:
  Either 
  a. Close the error dialog and show the file dialog again
  Or
  b. Close the error dialog (user must repeat step 5).