From: Ronald B. <rb...@rb...> - 2014-02-03 15:41:32
|
using the same here and at least the htmlunit tests are running.... On Mon, 3 Feb 2014 17:12:33 +0200 David Michael Gang wrote: > >Hi, > >I get still the error. >The snapshot i use has the timestamp htmlunit-core-js-2.14-20140203.084841-5 > >What can i check else? > >Thanks, >David > > > >On Mon, Feb 3, 2014 at 4:36 PM, <htm...@li... >> wrote: > >> Send Htmlunit-user mailing list submissions to >> htm...@li... >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://lists.sourceforge.net/lists/listinfo/htmlunit-user >> or, via email, send a message with subject or body 'help' to >> htm...@li... >> >> You can reach the person managing the list at >> htm...@li... >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Htmlunit-user digest..." >> >> >> Today's Topics: >> >> 1. Re: htmlunit dies on page (David Michael Gang) >> 2. Re: htmlunit dies on page (Ronald Brill) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Mon, 3 Feb 2014 16:34:16 +0200 >> From: David Michael Gang <mic...@gm...> >> Subject: Re: [Htmlunit-user] htmlunit dies on page >> To: htm...@li... >> Message-ID: >> < >> CAJ...@ma...> >> Content-Type: text/plain; charset="iso-8859-1" >> >> Hi, >> >> Is the new version available through maven? >> >> Thanks, >> David >> >> >> >> >> > ------------------------------ >> > >> > Message: 2 >> > Date: Mon, 03 Feb 2014 15:26:04 +0100 (CET) >> > From: "Ronald Brill" <rb...@rb...> >> > Subject: Re: [Htmlunit-user] htmlunit dies on page >> > To: "htm...@li..." >> > <htm...@li...> >> > Message-ID: <100...@rb...> >> > Content-Type: text/plain; charset="iso-8859-15" >> > >> > Hi David, >> > >> > at the moment we have some problems with our build environment. I had the >> > same problems yesterday but this should be solved now. >> > Please use the latest snapshot (did a refresh some minutes before) and >> > make sure you also refresh the core-js thing. >> > I guess this will solve your problem. >> > >> > RBRi >> > >> > On Mon, 3 Feb 2014 16:12:39 +0200 David Michael Gang wrote: >> > > >> > >Hi all, >> > > >> > >I run the following class >> > > >> > >package test; >> > > >> > >import java.io.IOException; >> > >import java.net.MalformedURLException; >> > > >> > >import com.gargoylesoftware.htmlunit.BrowserVersion; >> > >import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException; >> > >import com.gargoylesoftware.htmlunit.ImmediateRefreshHandler; >> > >import com.gargoylesoftware.htmlunit.Page; >> > >import com.gargoylesoftware.htmlunit.WebClient; >> > >import com.gargoylesoftware.htmlunit.html.HtmlPage; >> > > >> > >public class Redalcyc { >> > > >> > > public static void main(String[] args) throws >> > >FailingHttpStatusCodeException, MalformedURLException, IOException { >> > > // TODO Auto-generated method stub >> > > String url = "http://www.redalyc.org/articulo.oa?id=35700204"; >> > > WebClient client = new WebClient(BrowserVersion.FIREFOX_24); >> > > client.setRefreshHandler(new ImmediateRefreshHandler()); >> > > final HtmlPage page = client.getPage(url); >> > > System.out.println(page.asText()); >> > > } >> > > >> > >} >> > > >> > > >> > >and get: >> > >03/02/2014 16:07:11 >> > com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl >> > >notify >> > >WARNING: Obsolete content type encountered: 'text/javascript'. >> > >03/02/2014 16:07:20 >> > com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl >> > >notify >> > >WARNING: Obsolete content type encountered: 'text/javascript'. >> > >03/02/2014 16:07:21 >> > com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl >> > >notify >> > >WARNING: Obsolete content type encountered: 'application/x-javascript'. >> > >Exception in thread "main" ======= EXCEPTION START ======== >> > >Exception class=[java.lang.NullPointerException] >> > >com.gargoylesoftware.htmlunit.ScriptException >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:689) >> > > at >> > >> >net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:620) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:575) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1067) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:391) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:272) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:286) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:702) >> > > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown >> > >Source) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:662) >> > > at >> > >> > >> >org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1170) >> > > at >> > >org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1072) >> > > at >> > >> > >> >org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206) >> > > at >> > >> > >> >org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330) >> > > at >> > >> > >> >org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3126) >> > > at >> > >> >org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2093) >> > > at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920) >> > > at >> > >org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499) >> > > at >> > >org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452) >> > > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:926) >> > > at >> > >com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:245) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:191) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:268) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:156) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:455) >> > > at >> com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:329) >> > > at >> com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:394) >> > > at >> com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:379) >> > > at test.Redalcyc.main(Redalcyc.java:19) >> > >Caused by: java.lang.NullPointerException >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.enumChangeObject(ScriptRuntime.java:2106) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.enumNext(ScriptRuntime.java:2022) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1739) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:309) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3056) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:566) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:674) >> > > ... 30 more >> > >Enclosed exception: >> > >java.lang.NullPointerException >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.enumChangeObject(ScriptRuntime.java:2106) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.enumNext(ScriptRuntime.java:2022) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1739) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:309) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3056) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:566) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:674) >> > > at >> > >> >net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:620) >> > > at >> > >> > >> >net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:575) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1067) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:391) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:272) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:286) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:702) >> > > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown >> > >Source) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:662) >> > > at >> > >> > >> >org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1170) >> > > at >> > >org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1072) >> > > at >> > >> > >> >org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206) >> > > at >> > >> > >> >org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330) >> > > at >> > >> > >> >org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3126) >> > > at >> > >> >org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2093) >> > > at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920) >> > > at >> > >org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499) >> > > at >> > >org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452) >> > > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:926) >> > > at >> > >com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:245) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:191) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:268) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:156) >> > > at >> > >> > >> >com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:455) >> > > at >> com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:329) >> > > at >> com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:394) >> > > at >> com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:379) >> > > at test.Redalcyc.main(Redalcyc.java:19) >> > >======= EXCEPTION END ======== >> > >With firefox i don't get this error. I checked in the web console and >> did >> > >not see it. >> > >Do i have to change any configuration, so that ir will work? >> > >I use htmlunit 2.14 snapshot. >> > >Thanks, >> > >David >> > > >> > >> > >> > >> > >> > ------------------------------ >> > >> > >> > >> ------------------------------------------------------------------------------ >> > Managing the Performance of Cloud-Based Applications >> > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >> > Read the Whitepaper. >> > >> > >> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk >> > >> > ------------------------------ >> > >> > _______________________________________________ >> > Htmlunit-user mailing list >> > Htm...@li... >> > https://lists.sourceforge.net/lists/listinfo/htmlunit-user >> > >> > >> > End of Htmlunit-user Digest, Vol 93, Issue 2 >> > ******************************************** >> > >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> >> ------------------------------ >> >> Message: 2 >> Date: Mon, 03 Feb 2014 15:36:37 +0100 (CET) >> From: "Ronald Brill" <rb...@rb...> >> Subject: Re: [Htmlunit-user] htmlunit dies on page >> To: "htm...@li..." >> <htm...@li...> >> Message-ID: <100...@rb...> >> Content-Type: text/plain; charset="iso-8859-15" >> >> Yes >> >> On Mon, 3 Feb 2014 16:34:16 +0200 David Michael Gang wrote: >> > >> >Hi, >> > >> >Is the new version available through maven? >> > >> >Thanks, >> >David >> > >> > >> > >> > >> >> ------------------------------ >> >> >> >> Message: 2 >> >> Date: Mon, 03 Feb 2014 15:26:04 +0100 (CET) >> >> From: "Ronald Brill" <rb...@rb...> >> >> Subject: Re: [Htmlunit-user] htmlunit dies on page >> >> To: "htm...@li..." >> >> <htm...@li...> >> >> Message-ID: <100...@rb...> >> >> Content-Type: text/plain; charset="iso-8859-15" >> >> >> >> Hi David, >> >> >> >> at the moment we have some problems with our build environment. I had >> the >> >> same problems yesterday but this should be solved now. >> >> Please use the latest snapshot (did a refresh some minutes before) and >> >> make sure you also refresh the core-js thing. >> >> I guess this will solve your problem. >> >> >> >> RBRi >> >> >> >> On Mon, 3 Feb 2014 16:12:39 +0200 David Michael Gang wrote: >> >> > >> >> >Hi all, >> >> > >> >> >I run the following class >> >> > >> >> >package test; >> >> > >> >> >import java.io.IOException; >> >> >import java.net.MalformedURLException; >> >> > >> >> >import com.gargoylesoftware.htmlunit.BrowserVersion; >> >> >import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException; >> >> >import com.gargoylesoftware.htmlunit.ImmediateRefreshHandler; >> >> >import com.gargoylesoftware.htmlunit.Page; >> >> >import com.gargoylesoftware.htmlunit.WebClient; >> >> >import com.gargoylesoftware.htmlunit.html.HtmlPage; >> >> > >> >> >public class Redalcyc { >> >> > >> >> > public static void main(String[] args) throws >> >> >FailingHttpStatusCodeException, MalformedURLException, IOException { >> >> > // TODO Auto-generated method stub >> >> > String url = "http://www.redalyc.org/articulo.oa?id=35700204"; >> >> > WebClient client = new WebClient(BrowserVersion.FIREFOX_24); >> >> > client.setRefreshHandler(new ImmediateRefreshHandler()); >> >> > final HtmlPage page = client.getPage(url); >> >> > System.out.println(page.asText()); >> >> > } >> >> > >> >> >} >> >> > >> >> > >> >> >and get: >> >> >03/02/2014 16:07:11 >> >> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl >> >> >notify >> >> >WARNING: Obsolete content type encountered: 'text/javascript'. >> >> >03/02/2014 16:07:20 >> >> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl >> >> >notify >> >> >WARNING: Obsolete content type encountered: 'text/javascript'. >> >> >03/02/2014 16:07:21 >> >> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl >> >> >notify >> >> >WARNING: Obsolete content type encountered: 'application/x-javascript'. >> >> >Exception in thread "main" ======= EXCEPTION START ======== >> >> >Exception class=[java.lang.NullPointerException] >> >> >com.gargoylesoftware.htmlunit.ScriptException >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:689) >> >> > at >> >> >> >net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:620) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:575) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1067) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:391) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:272) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:286) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:702) >> >> > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown >> >> >Source) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:662) >> >> > at >> >> >> >> >> >org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1170) >> >> > at >> >> >> >org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1072) >> >> > at >> >> >> >> >> >org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206) >> >> > at >> >> >> >> >> >org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330) >> >> > at >> >> >> >> >> >org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3126) >> >> > at >> >> >> >org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2093) >> >> > at >> org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920) >> >> > at >> >> >org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499) >> >> > at >> >> >org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452) >> >> > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:926) >> >> > at >> >> >> >com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:245) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:191) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:268) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:156) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:455) >> >> > at >> com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:329) >> >> > at >> com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:394) >> >> > at >> com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:379) >> >> > at test.Redalcyc.main(Redalcyc.java:19) >> >> >Caused by: java.lang.NullPointerException >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.enumChangeObject(ScriptRuntime.java:2106) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.enumNext(ScriptRuntime.java:2022) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1739) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:309) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3056) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:566) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:674) >> >> > ... 30 more >> >> >Enclosed exception: >> >> >java.lang.NullPointerException >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.enumChangeObject(ScriptRuntime.java:2106) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.enumNext(ScriptRuntime.java:2022) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1739) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:309) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3056) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:566) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:674) >> >> > at >> >> >> >net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:620) >> >> > at >> >> >> >> >> >net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:575) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1067) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:391) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:272) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:286) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:702) >> >> > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown >> >> >Source) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:662) >> >> > at >> >> >> >> >> >org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1170) >> >> > at >> >> >> >org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1072) >> >> > at >> >> >> >> >> >org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206) >> >> > at >> >> >> >> >> >org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330) >> >> > at >> >> >> >> >> >org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3126) >> >> > at >> >> >> >org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2093) >> >> > at >> org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920) >> >> > at >> >> >org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499) >> >> > at >> >> >org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452) >> >> > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:926) >> >> > at >> >> >> >com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:245) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:191) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:268) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:156) >> >> > at >> >> >> >> >> >com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:455) >> >> > at >> com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:329) >> >> > at >> com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:394) >> >> > at >> com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:379) >> >> > at test.Redalcyc.main(Redalcyc.java:19) >> >> >======= EXCEPTION END ======== >> >> >With firefox i don't get this error. I checked in the web console and >> did >> >> >not see it. >> >> >Do i have to change any configuration, so that ir will work? >> >> >I use htmlunit 2.14 snapshot. >> >> >Thanks, >> >> >David >> >> > >> >> >> >> >> >> >> >> >> >> ------------------------------ >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Managing the Performance of Cloud-Based Applications >> >> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >> >> Read the Whitepaper. >> >> >> >> >> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk >> >> >> >> ------------------------------ >> >> >> >> _______________________________________________ >> >> Htmlunit-user mailing list >> >> Htm...@li... >> >> https://lists.sourceforge.net/lists/listinfo/htmlunit-user >> >> >> >> >> >> End of Htmlunit-user Digest, Vol 93, Issue 2 >> >> ******************************************** >> >> >> > >> >> >> >> >> ------------------------------ >> >> >> ------------------------------------------------------------------------------ >> Managing the Performance of Cloud-Based Applications >> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >> Read the Whitepaper. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk >> >> ------------------------------ >> >> _______________________________________________ >> Htmlunit-user mailing list >> Htm...@li... >> https://lists.sourceforge.net/lists/listinfo/htmlunit-user >> >> >> End of Htmlunit-user Digest, Vol 93, Issue 3 >> ******************************************** >> > |