
|
Application crached while navigating to another page.
Building an application which navigates in IE. The application works perfect by using IE. With using the HtmlUnit2.1 Java API, getting following error
**********************************************************************
Jul 2, 2008 4:51:05 PM com.gargoylesoftware.htmlunit.javascript.host.Stylesheet$1 warning
WARNING: CSS warning: null [138:60] Ignoring the following declarations in this rule.
Jul 2, 2008 4:51:05 PM com.gargoylesoftware.htmlunit.javascript.host.Stylesheet$1 error
WARNING: CSS error: null [141:21] Error in expression. Invalid token ".". Was expecting one of: , , "/", , "-", , , ")", , "inherit", , , , , , , , , , , , , , , , , , , , .
Jul 2, 2008 4:51:05 PM com.gargoylesoftware.htmlunit.javascript.host.Stylesheet$1 error
WARNING: CSS error: null [141:47] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
Jul 2, 2008 4:51:05 PM com.gargoylesoftware.htmlunit.javascript.host.Stylesheet$1 warning
WARNING: CSS warning: null [141:47] Ignoring the following declarations in this rule.
Jul 2, 2008 4:51:05 PM com.gargoylesoftware.htmlunit.javascript.host.Stylesheet$1 error
WARNING: CSS error: null [146:1] Error in style sheet. Invalid token "}". Was expecting one of: , , ".", ":", "*", "[", , "", "@import", "@page", "@media", .
Jul 2, 2008 4:51:05 PM com.gargoylesoftware.htmlunit.javascript.host.Stylesheet$1 error
WARNING: CSS error: null [1:109] Error in declaration. Invalid token "=". Was expecting one of: , ":".
Jul 2, 2008 4:51:05 PM com.gargoylesoftware.htmlunit.javascript.host.Stylesheet$1 error
WARNING: CSS error: null [1:115] Error in style rule. Invalid token " ". Was expecting one of: "}", ";".
Jul 2, 2008 4:51:05 PM com.gargoylesoftware.htmlunit.javascript.host.Stylesheet$1 warning
WARNING: CSS warning: null [1:115] Ignoring the following declarations in this rule.
Jul 2, 2008 4:51:05 PM com.gargoylesoftware.htmlunit.xml.XmlPage
WARNING: Failed parsing XML document null: The string "--" is not permitted within comments.
Exception in thread "main" ======= EXCEPTION START ========
Exception class=[org.mozilla.javascript.WrappedException]
com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function transformNode in object [object]. (script in http://tarema04.gap.com:9083/html/en/default/om/tree/omTree.jsp?omId=102601 from (25, 9) to (0, 0)#31) (script in http://tarema04.gap.com:9083/html/en/default/om/omManager.jsp from (24, 34) to (0, 0)#96) (script in http://tarema04.gap.com:9083/html/en/default/om/omPkgImport.jsp from (21, 35) to (0, 0)#27)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:553)
at org.mozilla.javascript.Context.call(Context.java:499)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:436)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:411)
at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:935)
at com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickAction(HtmlAnchor.java:109)
at com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickAction(HtmlAnchor.java:143)
at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:155)
at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:116)
at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:95)
*************************************************************************
Appreciate your help!!
With Reg,
Apps
|