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 237545 - NB freezes when deleting a file from the Files view
Summary: NB freezes when deleting a file from the Files view
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 7.4
Hardware: Macintosh Mac OS X
: P3 normal with 1 vote (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
: 236145 240781 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-23 11:38 UTC by made
Modified: 2015-03-04 18:18 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (34.53 KB, application/octet-stream)
2013-10-24 12:30 UTC, made
Details
thread dump (12.15 KB, text/plain)
2013-10-24 13:04 UTC, made
Details
Thread dump (21.34 KB, text/plain)
2013-10-31 13:48 UTC, vicricker
Details
Stacktrace (jstack) (21.83 KB, text/plain)
2015-03-04 16:27 UTC, apiening
Details
IDE log (45.05 KB, application/octet-stream)
2015-03-04 16:41 UTC, apiening
Details

Note You need to log in before you can comment on or make changes to this bug.
Description made 2013-10-23 11:38:51 UTC
NB freezes every time a file is deleted from the File view.

Correct behavior:
- File is removed from HD
- File is removed from remote site (File delete OK.)
- File disappears from File view
=> Then NB is hanging with the spinning color wheel and does not recover. Force Quit required.

This happened under 10.8 and now also under 10.9.
Comment 1 Marian Mirilovic 2013-10-24 07:41:15 UTC
First of all, please provide more information about the IDE you use (version/build number/jdk version, ....), the best way is to attach messages.log file . Beside that we need also thread-dump of the IDE at the time of freeze 
http://wiki.netbeans.org/GenerateThreadDump

So please attach requested information and reopen, thanks in advance.
Comment 2 made 2013-10-24 12:30:16 UTC
Created attachment 141517 [details]
messages.log
Comment 3 made 2013-10-24 13:04:14 UTC
Created attachment 141519 [details]
thread dump
Comment 4 vicricker 2013-10-31 13:31:20 UTC
I am experiencing this problem under Windows 7.  It doesn't always happen, but it's pretty common.

The file does get deleted; however, the IDE freezes before updating the UI.
Comment 5 vicricker 2013-10-31 13:48:34 UTC
Created attachment 141745 [details]
Thread dump

Another thread dump
Comment 6 Ondrej Vrabec 2013-12-10 11:52:16 UTC
fix: http://hg.netbeans.org/core-main/rev/0ec1f4645708
Comment 7 Ondrej Vrabec 2013-12-19 13:55:44 UTC
*** Bug 236145 has been marked as a duplicate of this bug. ***
Comment 8 Ondrej Vrabec 2014-01-21 18:52:18 UTC
*** Bug 240781 has been marked as a duplicate of this bug. ***
Comment 9 woodyc79 2014-08-25 11:39:40 UTC
NB is still freezing during 
* deleting files
* creating projects
* adding FTP/FTPS Sources
....
Comment 10 Ondrej Vrabec 2014-08-25 11:42:52 UTC
(In reply to woodyc79 from comment #9)
> NB is still freezing during 
> * deleting files
> * creating projects
> * adding FTP/FTPS Sources
Attach a thread dump, then, please.
Comment 11 apiening 2015-03-04 16:27:54 UTC
Created attachment 152396 [details]
Stacktrace (jstack)

I'm experiencing this problem since a long time and updated netbeans several times.

I use the Netbeans IDE 8.02 on Mac OS X 10.10.2.
Comment 12 apiening 2015-03-04 16:28:35 UTC
Problem still exists for me.
Comment 13 Ondrej Vrabec 2015-03-04 16:36:36 UTC
(In reply to apiening from comment #11)
> Created attachment 152396 [details]
> Stacktrace (jstack)
> 
> I'm experiencing this problem since a long time and updated netbeans several
> times.
> 
> I use the Netbeans IDE 8.02 on Mac OS X 10.10.2.
Please attach the IDE log - should contain the version of JRE you're running on.
Comment 14 apiening 2015-03-04 16:41:04 UTC
Created attachment 152398 [details]
IDE log

IDE log from ~/Library/Application Support/Netbeans/8.0/var/log/messages.log.
Comment 15 Ondrej Vrabec 2015-03-04 16:42:55 UTC
(In reply to apiening from comment #14)
This is a known issue with Mac version of jdk1.7.0_45 you're using. Please upgrade the JDK, preferably to JDK8.
Comment 16 apiening 2015-03-04 18:18:41 UTC
Thank you Ondrej for pointing this out.

I can confirm, that switching to JDK 8.0.40 solved the problem for me.
I had a Java 8 SDK installed before, but it was not used by netbeans due to a symlink still pointing to the JDK7.

Thank you!