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 227772

Summary: Ide frozen after edit xhtml
Product: web Reporter: janario
Component: HTML NavigatorAssignee: Jan Becicka <jbecicka>
Status: RESOLVED FIXED    
Severity: normal CC: hmichel, janario, mfukala, misterm, pjiricka
Priority: P1    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log
Threaddump

Description janario 2013-03-21 13:32:46 UTC
After edit an xhtml the ide stay freezed and I can't work until kill the process.

I was running an instance of tomcat and I also use JRebel to redeploy.
Opening jvisualvm I saw that a deadlock happened 

Product Version = NetBeans IDE Dev (Build 20130321-7750c368ef3d)
Operating System = Linux version 3.5.0-25-generic running on amd64
Java; VM; Vendor = 1.7.0_13
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Comment 1 janario 2013-03-21 13:32:52 UTC
Created attachment 132906 [details]
IDE log
Comment 2 janario 2013-03-21 13:34:25 UTC
Created attachment 132907 [details]
Threaddump
Comment 3 Petr Cyhelsky 2013-03-22 08:30:02 UTC
There is a deadlock visible in the thread dump"

"org.netbeans.modules.web.inspect.webkit.WebKitPageModel":
  waiting for ownable synchronizer 0x00000000a2bc2bc8, (a java.util.concurrent.locks.ReentrantLock$FairSync),
  which is held by "org.netbeans.modules.html.navigator.HtmlNavigatorPanelUI"

 "org.netbeans.modules.html.navigator.HtmlNavigatorPanelUI":
  waiting to lock monitor 0x00007f419c0fdaa0 (object 0x00000000a9b80d88, a org.netbeans.modules.html.navigator.HtmlNavigatorPanelUI),
  which is held by "org.netbeans.modules.web.inspect.webkit.WebKitPageModel"


Reassigning to web/html navigator
Comment 4 Jan Becicka 2013-03-25 07:39:26 UTC
Changeset: bef3e8342ae6
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2013-03-25 08:33
Message:
Comment 5 Petr Jiricka 2013-03-25 08:29:17 UTC
Does this problem also happen in 7.3? If so, it may be a patch candidate.
Comment 6 Jan Becicka 2013-03-25 08:36:49 UTC
Is this really P1? Is it reproducible? Afaik there is only single report, right?
Comment 7 Quality Engineering 2013-03-25 20:48:14 UTC
Integrated into 'main-golden', will be available in build *201303251729* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/bef3e8342ae6
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #227772 - Ide frozen after edit xhtml