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 245239

Summary: Netbeans freezes when deleting a file from the project window (right click > delete) (Thread dump attached)
Product: ide Reporter: JustAnil
Component: PerformanceAssignee: Tomas Hurka <thurka>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: thread dump for deleting a file - hang / freeze

Description JustAnil 2014-06-25 16:17:13 UTC
Created attachment 147770 [details]
thread dump for deleting a file - hang / freeze

Hi,

I've had this bug for a while now (I had it on 7.x+ and now on 8.x+).

I decided to research it and try to save a thread dump using: http://wiki.netbeans.org/GenerateThreadDump.

I think I got it right, I started the IDE via the command line, reproduced the error, hit CTRL + \ and killed the process. I have attached a .txt file of the thread dump (if I got it right).

I suspect this may be linked to this issue: (I also have experienced this exact same bug).

https://netbeans.org/bugzilla/show_bug.cgi?id=216154

How I produced this bug

I created a new file (right click in project folder > new file > example.php).
Then I deleted the file straightaway (right click delete). (The file was open in the IDE - not that it matters).

If it didn't hang/freeze the first time, it will on one of the next attempts. I can almost always reproduce this bug - doing the above.

Please view the attached thread dump (if I did it correctly - if not, please let me know, I'll try again).
Comment 1 Tomas Hurka 2014-06-27 08:01:42 UTC
This is a JDK bug, which is fixed in JDK 7u55 and JDK 8.

*** This bug has been marked as a duplicate of bug 236101 ***