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 - AssertionError at org.netbeans.modules.web.webkit.debugging.TransportHelper.sendBlockingCommand
Summary: AssertionError at org.netbeans.modules.web.webkit.debugging.TransportHelper.s...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Navigator (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-09 14:17 UTC by Vladimir Riha
Modified: 2012-11-13 15:33 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193581


Attachments
stacktrace (2.37 KB, text/plain)
2012-11-09 14:17 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
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