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 113581 - Problems with file dialogues
Summary: Problems with file dialogues
Status: RESOLVED DUPLICATE of bug 109703
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-23 11:02 UTC by minimedj
Modified: 2008-12-22 14:45 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NetBeans trace (25.66 KB, application/octet-stream)
2007-08-27 17:20 UTC, minimedj
Details
NetBeans trace (25.66 KB, text/plain)
2007-08-27 17:20 UTC, minimedj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description minimedj 2007-08-23 11:02:20 UTC
Problems with file dialogues.

Example:
File -> New project... -> [Categories:] Mobility -> [Project:] Mobile Project from Existing MIDP Sources -> Next ->
[Sources Location:] Browse... -> In select box named "Look in:" select drive C: -> whole IDE friezes.


Only task manager helps.
Comment 1 Pavel Buzek 2007-08-24 17:38:04 UTC
Can you attach stacktrace of IDE?
Comment 2 minimedj 2007-08-24 17:51:51 UTC
There was no stack trace, just windows (without redrawing - you know how it looks when it happens).

Could it be because I have a lot of files on the drive C and dialog window in NetBeans 6 tries to build files tree?

Why it uses trees? Old style file choosing dialog approach was good enough!

Regards,
minimedj 
Comment 3 Antonin Nebuzelsky 2007-08-24 17:52:49 UTC
Yes, we need a thread dump from the IDE at the moment it is frozen. See
http://wiki.netbeans.org/wiki/view/GenerateThreadDump

Also, isn't your C: drive mapped to something unusual? (a network drive?)
Comment 4 minimedj 2007-08-24 18:19:38 UTC
No. It is usual C drive
Comment 5 minimedj 2007-08-24 19:05:21 UTC
I just tried on my new laptop (Dell Vostro 1500, Win Vista English). Everything ok. On Monday I will make dump (it is on
my office) and post it here.

Best regards and have a nice weekend!
minimedj
Comment 6 minimedj 2007-08-27 09:39:26 UTC
Here is a dump of my frozen NetBeans.

There is no exceptions so I just pasted it here. I made everything like it is described in the issue description. I was
waiting for a response of IDE for 1 minute (exactly 60 seconds).

----
warm up starts
compile thread: Thread[AWT-EventQueue-1,6,IDE Main]
compile 1.687
warm up done 2234
^C
----

Comment 7 Antonin Nebuzelsky 2007-08-27 14:40:20 UTC
Unfortunately, this is not a thread dump. Thread dump lists all the threads in the running JVM with their stacktraces -
it is quite a long listing. On windows you need to run the IDE using the nb.exe launcher and then press CTRL+break in
the console of running nb.exe process.
Comment 8 minimedj 2007-08-27 15:07:51 UTC
Hello anebuzelsky,

There was no exception. I did everything like it described in Wiki (http://wiki.netbeans.org/wiki/view/GenerateThreadDump).

IDE just hangs and does not respond on any user input (windows are no redrawing etc.)

I made a screenshot, so you can see the problem: http://img337.imageshack.us/img337/1706/nb6xf3.png

p.s. I know what is thread dump.
Comment 9 Antonin Nebuzelsky 2007-08-27 17:03:25 UTC
So, this is the only text that displays in the console when you press CTRL+Break there? (the console has to be the
active window, not the IDE) Strange.

Please, try the StackTrace tool as mentioned at the end of the GenerateThreadDump page. Thanks.
Comment 10 minimedj 2007-08-27 17:20:42 UTC
Created attachment 47494 [details]
NetBeans trace
Comment 11 minimedj 2007-08-27 17:20:52 UTC
Created attachment 47495 [details]
NetBeans trace
Comment 12 minimedj 2007-08-27 17:22:46 UTC
I just attached stack trace of frozen NetBeans
Comment 13 Antonin Nebuzelsky 2007-08-28 11:26:08 UTC
Could this be the same issue as issue #109703?

Do you happen to have large ZIP files on your desktop?
Comment 14 Antonin Nebuzelsky 2007-08-28 11:26:38 UTC
Could this be the same issue as issue #109703?

Do you happen to have large ZIP files on your desktop?
Comment 15 minimedj 2007-08-28 12:54:37 UTC
Hello anebuzelsky,

you are right. I have about 5 zip files on my Desktop. One of the has size about 82 MB. The same stuff with C: drive. I
have 2 files (each about 25 MB) in the root of C: drive.

Could it be a reason for this issue?
Comment 16 Antonin Nebuzelsky 2007-08-28 13:03:24 UTC
> Could it be a reason for this issue?

I believe it is the reason. Could you try running the IDE with -J-DFileChooser.useShellFolder=false parameter? Or if
this does not help, could you try moving the zip files to some other directory?

I am closing this one as a duplicate. Feel free to reopen if you find out this is not the case.


*** This issue has been marked as a duplicate of 109703 ***