From: reinhard s. <rei...@ao...> - 2014-03-05 23:19:45
|
Hi, I am using htmlunit 2.14 and get a StackOverflowError Exception in thread "main" java.lang.StackOverflowError at net.sourceforge.htmlunit.corejs.javascript.BaseFunction.findInstanceIdInfo(BaseFunction.java:96) at net.sourceforge.htmlunit.corejs.javascript.IdScriptableObject.put(IdScriptableObject.java:330) at com.gargoylesoftware.htmlunit.javascript.FunctionWrapper.put(FunctionWrapper.java:62) at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.put(ScriptableObject.java:526) at net.sourceforge.htmlunit.corejs.javascript.IdScriptableObject.put(IdScriptableObject.java:357) at com.gargoylesoftware.htmlunit.javascript.FunctionWrapper.put(FunctionWrapper.java:62) at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.put(ScriptableObject.java:526) at net.sourceforge.htmlunit.corejs.javascript.IdScriptableObject.put(IdScriptableObject.java:357) This is reproduceable with this code snippet. WebClient webClient = new WebClient(); webClient.getOptions().setJavaScriptEnabled(true); HtmlPage page = (HtmlPage) webClient.getPage("https://www.xing.com/"); Best regards Reinhard |