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 219837 - Save threads image to Libraries > Pictures doesn't work
Summary: Save threads image to Libraries > Pictures doesn't work
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL: http://bugs.sun.com/bugdatabase/view_...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-10 14:39 UTC by Alexander Kouznetsov
Modified: 2012-11-14 11:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (18.38 KB, image/png)
2012-10-10 14:39 UTC, Alexander Kouznetsov
Details
Screenshot of Libraries selection (41.87 KB, image/png)
2012-10-10 22:18 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2012-10-10 14:39:37 UTC
Created attachment 125705 [details]
Screenshot

Try to save Threads image on Windows 7 into Libraries > Pictures folder.

You'll get the following error message (attached): "Failed to save image to C:\Program Files (x86)\NetBeans Dev 201210100002\Pictures\threads.png."

Even the path shown in this message is not correct.
Comment 1 Jiri Sedlacek 2012-10-10 14:54:18 UTC
Can't reproduce the problem, there's no Libraries > Pictures folder provided by the Swing 'Select File or Directory' in my Windows 7. Saving to C:\Users\%USER%\Pictures ("My Pictures") works fine.

Please describe how did you access the Libraries > Pictures folder. Does the same work correctly for you in other Java applications?
Comment 2 Alexander Kouznetsov 2012-10-10 22:18:10 UTC
Created attachment 125722 [details]
Screenshot of Libraries selection

I'm selecting this from the dropdown on top. However you're right that this doesn't seem to be the profiler only problem. I tried to Save As a NetBeans file and got almost the same result: "Cannot create the target folder" message.
Comment 3 Alexander Kouznetsov 2012-10-10 22:19:57 UTC
This is common NetBeans problem.
Comment 4 Jaroslav Tulach 2012-10-14 19:43:48 UTC
If it is so common outside of profiler, then give me steps to reproduce without "threads image". Otherwise I'll assume it is a profiler problem.
Comment 5 Tomas Hurka 2012-10-14 20:33:52 UTC
(In reply to comment #4)
> If it is so common outside of profiler, then give me steps to reproduce without
> "threads image". Otherwise I'll assume it is a profiler problem.
Read comment #2.
Comment 6 Jaroslav Tulach 2012-10-24 07:27:33 UTC
Let's pretend it is a Swing file chooser problem. Tonda can find somebody to confirm and possibly workaround it.
Comment 7 Stanislav Aubrecht 2012-11-06 15:50:02 UTC
Please provide JDK version info and reopen, thanks.
Comment 8 Alexander Kouznetsov 2012-11-06 16:00:11 UTC
Reproducible with the following JDK:
Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21