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 245051 - NB Frozen while creating new xml file
Summary: NB Frozen while creating new xml file
Status: RESOLVED DUPLICATE of bug 240847
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 8.0
Hardware: PC Linux
: P1 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-14 05:01 UTC by adithyank
Modified: 2014-06-23 12:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump 2 of frozen netbeans session (24.33 KB, text/plain)
2014-06-14 05:03 UTC, adithyank
Details
thread dump 1 of frozen netbeans session (24.33 KB, text/plain)
2014-06-14 05:03 UTC, adithyank
Details
screenshot of frozen nb session (146.75 KB, image/png)
2014-06-14 05:03 UTC, adithyank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adithyank 2014-06-14 05:01:37 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Linux version 2.6.32-431.17.1.el6.x86_64 running on i386
Java; VM; Vendor = 1.8.0
Runtime = Java HotSpot(TM) Client VM 25.0-b70
OS : CentOS 6.5
Desktop Environment : KDE

In one of my Android projects, I created new xml file by right clicking the Project/xml directory. XML file got created and it appeared in the right side editor view. But, i could not type any thing there and the Netbeans window got frozen. I could not do any click in the netbeans window and I could not type anything. The window is not getting any focus. When I click the title bar of the Netbeans window, it is not gaining the focus. If I press ALT+F4, the application that had the focus before is getting closed. I could not do anything on Netbeans window.

THen, I used kill -9 to kill that netbeans process and opened a new process.

I am attaching two thread dumps taken during that period and the screenshot of frozen netbeans window
Comment 1 adithyank 2014-06-14 05:03:09 UTC
Created attachment 147675 [details]
thread dump 2 of frozen netbeans session
Comment 2 adithyank 2014-06-14 05:03:13 UTC
Created attachment 147676 [details]
thread dump 1 of frozen netbeans session
Comment 3 adithyank 2014-06-14 05:03:17 UTC
Created attachment 147677 [details]
screenshot of frozen nb session
Comment 4 Tomas Hurka 2014-06-14 10:30:38 UTC
There is a deadlock in JDK. It looks like duplicate of issue #240847.
Comment 5 Antonin Nebuzelsky 2014-06-23 12:47:01 UTC
adithyank, which build of JDK 1.8.0 do you have? In the related JDK bug Java team claims the problem is not reproducible with the final JDK8 build (b132).

Can you update to the latest JDK 8 update 5? If you encounter the deadlock again, please reopen this bug and attach the new thread dump.

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