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 204004 - Exporting IDE snapshot deletes .netbeans directory
Summary: Exporting IDE snapshot deletes .netbeans directory
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.1
Hardware: PC Mac OS X
: P1 normal (vote)
Assignee: Petr Cyhelsky
URL:
Keywords:
: 205243 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-20 10:15 UTC by Vladimir Riha
Modified: 2011-11-17 17:44 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log from console (44.44 KB, text/plain)
2011-10-20 10:15 UTC, Vladimir Riha
Details
log from OS (150.18 KB, text/plain)
2011-10-20 10:16 UTC, Vladimir Riha
Details
screenshot (343.17 KB, image/png)
2011-10-20 10:30 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2011-10-20 10:15:59 UTC
Created attachment 112258 [details]
log from console

I reproduced it 3 times.

I made a snapshot (using the main toolbar icon with Alt+Shift+Y shortcut), then I tried to export the snapshot using "Export to...". It's not working (probably issue #203057). Sometimes a dialog window with message "Fail to save (?export) snapshot {pathSelected}" but after this (or immediately after clicking the export icon), empty (no text, no buttons) warning dialogs keep showing up (I'll try to add screenshot) and the .netbeans directory is removed. After some time OS shows dialog "NetBeans quit unexpectedly" and kills NetBeans.

Since the .netbeans was deleted, I can only attach log from console and some log that OS X made when it offered me to report the event to apple.

Product Version: NetBeans IDE Dev (Build 201110190600)
Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02-383
System: Mac OS X version 10.7.1 running on x86_64; MacRoman; en_US (nb)
Comment 1 Vladimir Riha 2011-10-20 10:16:29 UTC
Created attachment 112259 [details]
log from OS
Comment 2 Vladimir Riha 2011-10-20 10:30:48 UTC
Created attachment 112260 [details]
screenshot

Here's the screenshot with the warning dialogs keep opening. They contain some text after all.

Just a more precise way to reproduce it:
- click Export to... and select some path
- confirm
- warning dialog about "Fail to export...."
- .netbeans is deleted and the dialogs appear
Comment 3 Petr Cyhelsky 2011-10-20 10:57:28 UTC
Can you please give more details:
- where were you saving to
- does the same thing happen if you for example export .csv file or only with .nps
Comment 4 Vladimir Riha 2011-10-20 11:09:06 UTC
1) /home/tester - user's home directory
2) I tried csv and html and it was exported ok, so it happens only with .nps file
Comment 5 Petr Cyhelsky 2011-10-20 16:05:19 UTC
fixed in: http://hg.netbeans.org/profiler-main/rev/a402a4464dc0
Comment 6 Quality Engineering 2011-10-24 14:13:25 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/a402a4464dc0
User: Petr Cyhelsky <cyhelsky@netbeans.org>
Log: #204004 fix profiler export behavior
Comment 7 Vladimir Riha 2011-10-26 09:09:46 UTC
verified
Comment 8 Tomas Hurka 2011-11-17 17:44:09 UTC
*** Bug 205243 has been marked as a duplicate of this bug. ***