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 221829

Summary: AssertionError at org.netbeans.modules.web.webkit.debugging.TransportHelper.sendBlockingCommand
Product: web Reporter: Vladimir Riha <vriha>
Component: HTML NavigatorAssignee: Jan Becicka <jbecicka>
Status: RESOLVED FIXED    
Severity: normal CC: mfukala, vriha
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 193581
Attachments: stacktrace

Description Vladimir Riha 2012-11-09 14:17:18 UTC
Build: NetBeans IDE Dev (Build 201211090001)
VM: Java HotSpot(TM) Client VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b15
OS: Windows XP

User Comments:
vriha: after closing Chrome with running html page

mfukala: just run an html file




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.web.webkit.debugging.TransportHelper.sendBlockingCommand(TransportHelper.java:113)
   at org.netbeans.modules.web.webkit.debugging.api.dom.DOM.getDocument(DOM.java:101)
   at org.netbeans.modules.web.inspect.webkit.WebKitPageModel.getDocumentNode(WebKitPageModel.java:210)
   at org.netbeans.modules.web.inspect.webkit.WebKitPageModel.getDocumentURL(WebKitPageModel.java:232)
   at org.netbeans.modules.html.navigator.HtmlNavigatorPanelUI.getInspectedFile(HtmlNavigatorPanelUI.java:267)
   at org.netbeans.modules.html.navigator.HtmlNavigatorPanelUI.setPageModel(HtmlNavigatorPanelUI.java:222)
Comment 1 Vladimir Riha 2012-11-09 14:17:20 UTC
Created attachment 127475 [details]
stacktrace
Comment 2 Vladimir Riha 2012-11-09 14:22:55 UTC
probably belongs here
Comment 3 Jan Stola 2012-11-10 11:02:10 UTC
Please, do not call PageModel.getDocumentURL() in event-dispatch thread. The documentURL may not be known yet and the call may result in pulling this information from the browser which can take some time.
Comment 4 Jan Becicka 2012-11-13 15:33:14 UTC
Should be already fixed d43f194edab9