【发布时间】:2014-02-13 04:56:54
【问题描述】:
我正在尝试浏览一个网站,但在他们的一个页面上我收到此错误:
EcmaError: lineNumber=[671] column=[0] lineSource=[null] name=[TypeError] sourceName=[https://reservations.besodelsolresort.com/asp/CalendarPopup.js] message=[TypeError: Cannot read property "parentNode" from undefined (https://reservations.besodelsolresort.com/asp/CalendarPopup.js#671)]
com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "parentNode" from undefined (https://reservations.besodelsolresort.com/asp/CalendarPopup.js#671)
无论如何我可以忽略这个错误吗?我并不特别关心日历是否正确加载。
【问题讨论】:
-
解决方案基于设置final字段stackoverflow.com/questions/8745061/…
标签: java htmlunit htmlunit-driver