From: SourceForge.net <no...@so...> - 2003-06-14 15:58:52
|
Bugs item #750487, was opened at 2003-06-07 03:38 Message generated for change (Comment added) made by mbowler You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=750487&group_id=47038 Category: None Group: None Status: Open Resolution: Remind Priority: 7 Submitted By: Suheal Hanjgikar (suheal) Assigned to: Mike Bowler (mbowler) Summary: The undefined value has no properties Initial Comment: Tried to write a sample test program using HtmlUnit. Unfortunately it is throwing an exception. The bug 727718 mentions the same problem. I have attached the source code of the sample test program. Here is the exception it throws: I think the Redirect statement can be safely neglected. The exception that it throws. /****************************************** ****************************************** ***********/ [INFO] HttpMethod - -Redirect requested but followRedirects is disabled com.gargoylesoftware.htmlunit.ScriptException: The undefined value has no properties. at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngin e.execute(JavaScriptEngine.java:199) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJav aScriptIfPossible(HtmlPage.java:770) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeBod yOnLoadHandlerIfNeeded(HtmlPage.java:900) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize (HtmlPage.java:134) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:322) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:242) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:186) at testhtml.main(testhtml.java:23) /****************************************** ****************************************** ***********/ ---------------------------------------------------------------------- >Comment By: Mike Bowler (mbowler) Date: 2003-06-14 11:58 Message: Logged In: YES user_id=46756 I can't presently get far enough to see the error that you are seeing. NekoHTML is generating multiple body tags from the html at http://www.mail.yahoo.com which means that it blows up before the point that you are seeing. I have opened a bug with NekoHTML and will revisit this when I've got a response. If you have a different sample that reproduces the same problem then please post it here. BTW this is not likely related to bug 727718. The error message in question just means that the rhino engine has tried to call a method that hasn't been implemented yet. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=750487&group_id=47038 |