You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(6) |
Jul
(17) |
Aug
(18) |
Sep
(22) |
Oct
(16) |
Nov
(6) |
Dec
(11) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(11) |
Feb
(10) |
Mar
(34) |
Apr
(26) |
May
(6) |
Jun
(22) |
Jul
(14) |
Aug
(4) |
Sep
(47) |
Oct
(69) |
Nov
(23) |
Dec
(21) |
2005 |
Jan
(53) |
Feb
(33) |
Mar
(92) |
Apr
(65) |
May
(63) |
Jun
(57) |
Jul
(43) |
Aug
(132) |
Sep
(61) |
Oct
(75) |
Nov
(60) |
Dec
(130) |
2006 |
Jan
(74) |
Feb
(87) |
Mar
(101) |
Apr
(58) |
May
(54) |
Jun
(42) |
Jul
(31) |
Aug
(67) |
Sep
(61) |
Oct
(71) |
Nov
(28) |
Dec
(58) |
2007 |
Jan
(53) |
Feb
(50) |
Mar
(96) |
Apr
(66) |
May
(55) |
Jun
(130) |
Jul
(99) |
Aug
(115) |
Sep
(37) |
Oct
(78) |
Nov
(24) |
Dec
(70) |
2008 |
Jan
(94) |
Feb
(85) |
Mar
(197) |
Apr
(274) |
May
(119) |
Jun
(143) |
Jul
(193) |
Aug
(99) |
Sep
(160) |
Oct
(120) |
Nov
(178) |
Dec
(109) |
2009 |
Jan
(238) |
Feb
(169) |
Mar
(115) |
Apr
(109) |
May
(131) |
Jun
(167) |
Jul
(144) |
Aug
(193) |
Sep
(155) |
Oct
(154) |
Nov
(97) |
Dec
(127) |
2010 |
Jan
(108) |
Feb
(127) |
Mar
(176) |
Apr
(113) |
May
(130) |
Jun
(200) |
Jul
(115) |
Aug
(80) |
Sep
(92) |
Oct
(101) |
Nov
(124) |
Dec
(53) |
2011 |
Jan
(67) |
Feb
(144) |
Mar
(88) |
Apr
(60) |
May
(89) |
Jun
(54) |
Jul
(68) |
Aug
(81) |
Sep
(48) |
Oct
(40) |
Nov
(10) |
Dec
(20) |
2012 |
Jan
(21) |
Feb
(28) |
Mar
(17) |
Apr
(35) |
May
(41) |
Jun
(44) |
Jul
(68) |
Aug
(67) |
Sep
(89) |
Oct
(58) |
Nov
(47) |
Dec
(56) |
2013 |
Jan
(49) |
Feb
(28) |
Mar
(46) |
Apr
(31) |
May
(28) |
Jun
(37) |
Jul
(34) |
Aug
(52) |
Sep
(42) |
Oct
(108) |
Nov
(59) |
Dec
(56) |
2014 |
Jan
(41) |
Feb
(72) |
Mar
(46) |
Apr
(21) |
May
(19) |
Jun
(17) |
Jul
(15) |
Aug
(40) |
Sep
(11) |
Oct
(3) |
Nov
(5) |
Dec
(31) |
2015 |
Jan
(11) |
Feb
(12) |
Mar
(19) |
Apr
(19) |
May
(38) |
Jun
(54) |
Jul
(14) |
Aug
(42) |
Sep
(14) |
Oct
(16) |
Nov
(26) |
Dec
(14) |
2016 |
Jan
(3) |
Feb
(1) |
Mar
(24) |
Apr
(5) |
May
(15) |
Jun
(14) |
Jul
(33) |
Aug
(19) |
Sep
(8) |
Oct
(10) |
Nov
|
Dec
(2) |
2017 |
Jan
(16) |
Feb
(12) |
Mar
(23) |
Apr
(8) |
May
(11) |
Jun
(20) |
Jul
(21) |
Aug
(20) |
Sep
|
Oct
(6) |
Nov
(9) |
Dec
(2) |
2018 |
Jan
(7) |
Feb
(5) |
Mar
(6) |
Apr
(5) |
May
(1) |
Jun
(2) |
Jul
(2) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
|
Dec
(4) |
2019 |
Jan
(2) |
Feb
(2) |
Mar
(3) |
Apr
(4) |
May
|
Jun
(4) |
Jul
(9) |
Aug
(2) |
Sep
|
Oct
(4) |
Nov
(1) |
Dec
(7) |
2020 |
Jan
(2) |
Feb
(6) |
Mar
(9) |
Apr
(1) |
May
(1) |
Jun
(15) |
Jul
(1) |
Aug
(1) |
Sep
(2) |
Oct
(6) |
Nov
(3) |
Dec
(5) |
2021 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(6) |
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ronald B. <rb...@rb...> - 2013-11-21 19:55:51
|
Please open a issue including the whole stack trace. Having the page source or the application url will help also. RBRi On Fri, 22 Nov 2013 01:02:13 +0530 sridhar kura wrote: > >Hi Team, > >I'm using htmlunit 2.13 for testing one of my website. >HTMLUnit is crashing with the below exceptions. I'm getting these exception >for a select element . The same is working fine in all the browsers with >out any javascript errors. Can you guys let me know what could be the exact >reason for this. I'm not able to find the root cause from the exception >logs. > >2013-11-21 19:29:36,454 INFO >[com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine] Caught script >exception >======= EXCEPTION START ======== >Exception class=[java.lang.RuntimeException] >com.gargoylesoftware.htmlunit.ScriptException: Exception invoking setValue > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:677) > at >net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602) > at >net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507) > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:609) > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:584) > at >com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:985) > at >com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventHandler(EventListenersContainer.java:210) > at >com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:230) > at >com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:804) > at >com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:738) > at >com.gargoylesoftware.htmlunit.html.HtmlElement$1.run(HtmlElement.java:865) > at >net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602) > at >net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507) > at >com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:870) > at >com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:841) > at >com.gargoylesoftware.htmlunit.html.HtmlPage.setFocusedElement(HtmlPage.java:1965) > at >com.gargoylesoftware.htmlunit.html.HtmlPage.setFocusedElement(HtmlPage.java:1906) > at >com.gargoylesoftware.htmlunit.html.HtmlSelect.setSelectedAttribute(HtmlSelect.java:309) > at >com.gargoylesoftware.htmlunit.html.HtmlSelect.setSelectedAttribute(HtmlSelect.java:287) > at >com.gargoylesoftware.htmlunit.html.HtmlSelect.setSelectedAttribute(HtmlSelect.java:261) > at >com.gargoylesoftware.htmlunit.javascript.host.html.HTMLSelectElement.setValue(HTMLSelectElement.java:370) > at sun.reflect.GeneratedMethodAccessor178.invoke(Unknown Source) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at >net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:120) > at >net.sourceforge.htmlunit.corejs.javascript.ScriptableObject$GetterSlot.setValue(ScriptableObject.java:295) > at >net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.putImpl(ScriptableObject.java:2796) > at >net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.put(ScriptableObject.java:521) > at >net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.putProperty(ScriptableObject.java:2479) > at >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1569) > at >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1564) > at >net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1253) > at >net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) > at >net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) > at >com.gargoylesoftware.htmlunit.javascript.host.EventHandler.call(EventHandler.j > |
From: sridhar k. <kur...@gm...> - 2013-11-21 19:33:00
|
Hi Team, I'm using htmlunit 2.13 for testing one of my website. HTMLUnit is crashing with the below exceptions. I'm getting these exception for a select element . The same is working fine in all the browsers with out any javascript errors. Can you guys let me know what could be the exact reason for this. I'm not able to find the root cause from the exception logs. 2013-11-21 19:29:36,454 INFO [com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine] Caught script exception ======= EXCEPTION START ======== Exception class=[java.lang.RuntimeException] com.gargoylesoftware.htmlunit.ScriptException: Exception invoking setValue at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:677) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:609) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:584) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:985) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventHandler(EventListenersContainer.java:210) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:230) at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:804) at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:738) at com.gargoylesoftware.htmlunit.html.HtmlElement$1.run(HtmlElement.java:865) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507) at com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:870) at com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:841) at com.gargoylesoftware.htmlunit.html.HtmlPage.setFocusedElement(HtmlPage.java:1965) at com.gargoylesoftware.htmlunit.html.HtmlPage.setFocusedElement(HtmlPage.java:1906) at com.gargoylesoftware.htmlunit.html.HtmlSelect.setSelectedAttribute(HtmlSelect.java:309) at com.gargoylesoftware.htmlunit.html.HtmlSelect.setSelectedAttribute(HtmlSelect.java:287) at com.gargoylesoftware.htmlunit.html.HtmlSelect.setSelectedAttribute(HtmlSelect.java:261) at com.gargoylesoftware.htmlunit.javascript.host.html.HTMLSelectElement.setValue(HTMLSelectElement.java:370) at sun.reflect.GeneratedMethodAccessor178.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:120) at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject$GetterSlot.setValue(ScriptableObject.java:295) at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.putImpl(ScriptableObject.java:2796) at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.put(ScriptableObject.java:521) at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.putProperty(ScriptableObject.java:2479) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1569) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1564) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1253) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) at com.gargoylesoftware.htmlunit.javascript.host.EventHandler.call(EventHandler.j |
From: J <iha...@ya...> - 2013-11-20 21:58:48
|
Right -- hence one of the htmlunit users wrote a work around. I tried to get around this in 2011 and ended up just using the work around. If someone were to propose a code change I'm sure the dev team would look at it -- sadly this is way above my experience level (which is why I went for the work around in the blog) On Wednesday, November 20, 2013 2:53 PM, David Taylor <da...@de...> wrote: J, If that is the case then I really have a problem. My app that uses HTMLUnit is intended to stay running for weeks. If these files are not deleted until the JVM exits then this seems like incorrect behavior. David -- David Taylor, Detayls On Wed, Nov 20, 2013 at 1:44 PM, J <iha...@ya...> wrote: According to the blog, it was stated that the files get deleted on calldeleteOnExit, and NOT on closeAllWindows as you have indicated. In other words, the files will NOT be deleted until the JVM exists. Sounds like a feature request not a bug. > > > > > > >On Wednesday, November 20, 2013 11:32 AM, David Taylor <da...@de...> wrote: > >Thanks, J but I really need someone to find the issue. > > >The tmp files I am seeing are all over 500kb and full of JavaScript so the library is not seeing them as a "window" and thus they are not set properly as files that need to be deleted when closeAllWindows is called. > > > >David >-- >David Taylor, Detayls > > > >On Wed, Nov 20, 2013 at 8:33 AM, J <iha...@ya...> wrote: > >http://www.julespotvin.com/?p=17 >> >>^^ It's on oldy but the solution works for me. >> >> >> >>-J >> >> >> >> >>On Monday, November 18, 2013 12:27 PM, David Taylor <da...@de...> wrote: >> >>I recently asked the list if there was a solution for the temp file problem that I have been encountering. >> >>Ahmed was helpful in talking me through it but ultimately no solution was found. >> >>To recap, my application uses HTMLUnit and correctly calls closeAllWindows but html*.tmp files keep stacking up in my temp directory. >> >>After a while the temp files fill the disk. >> >>I have a suspicion that the temp files are created by a JavaScript load and so do not get added the Window list. >> >>Does any new information exist on this issue? >> >>Thanks, >> >>David >> >>-- >>David Taylor, Detayls >> >>------------------------------------------------------------------------------ >>Shape the Mobile Experience: Free Subscription >>Software experts and developers: Be at the forefront of tech innovation. >>Intel(R) Software Adrenaline delivers strategic insight and game-changing >>conversations that shape the rapidly evolving mobile landscape. Sign up now. >>http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >>_______________________________________________ >>Htmlunit-user mailing list >>Htm...@li... >>https://lists.sourceforge.net/lists/listinfo/htmlunit-user >> >> >> >>------------------------------------------------------------------------------ >>Shape the Mobile Experience: Free Subscription >>Software experts and developers: Be at the forefront of tech innovation. >>Intel(R) Software Adrenaline delivers strategic insight and game-changing >>conversations that shape the rapidly evolving mobile landscape. Sign up now. >>http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >>_______________________________________________ >>Htmlunit-user mailing list >>Htm...@li... >>https://lists.sourceforge.net/lists/listinfo/htmlunit-user >> >> > > > |
From: David T. <da...@de...> - 2013-11-20 21:53:50
|
J, If that is the case then I really have a problem. My app that uses HTMLUnit is intended to stay running for weeks . If these files are not deleted until the JVM exits then this seems like incorrect behavior. David -- David Taylor, Detayls On Wed, Nov 20, 2013 at 1:44 PM, J <iha...@ya...> wrote: > According to the blog, it was stated that the files get deleted on > calldeleteOnExit, and NOT on closeAllWindows as you have indicated. In > other words, the files will NOT be deleted until the JVM exists. Sounds > like a feature request not a bug. > > > > On Wednesday, November 20, 2013 11:32 AM, David Taylor < > da...@de...> wrote: > Thanks, J but I really need someone to find the issue. > > The tmp files I am seeing are all over 500kb and full of JavaScript so the > library is not seeing them as a "window" and thus they are not set properly > as files that need to be deleted when closeAllWindows is called. > > David > -- > David Taylor, Detayls > > > On Wed, Nov 20, 2013 at 8:33 AM, J <iha...@ya...> wrote: > > http://www.julespotvin.com/?p=17 > > ^^ It's on oldy but the solution works for me. > > -J > > > On Monday, November 18, 2013 12:27 PM, David Taylor <da...@de...> > wrote: > I recently asked the list if there was a solution for the temp file > problem that I have been encountering. > > Ahmed was helpful in talking me through it but ultimately no solution was > found. > > To recap > , > my application uses HTMLUnit and correctly calls closeAllWindows but > html*.tmp files keep stacking up in my temp directory. > > After a while the temp files fill the disk. > > I have a suspicion that the temp files are created by a JavaScript load > and so do not get added the Window list. > > Does any new information exist on this issue? > > Thanks, > > David > -- > David Taylor, Detayls > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up > now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up > now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > > > |
From: J <iha...@ya...> - 2013-11-20 21:44:26
|
According to the blog, it was stated that the files get deleted on calldeleteOnExit, and NOT on closeAllWindows as you have indicated. In other words, the files will NOT be deleted until the JVM exists. Sounds like a feature request not a bug. On Wednesday, November 20, 2013 11:32 AM, David Taylor <da...@de...> wrote: Thanks, J but I really need someone to find the issue. The tmp files I am seeing are all over 500kb and full of JavaScript so the library is not seeing them as a "window" and thus they are not set properly as files that need to be deleted when closeAllWindows is called. David -- David Taylor, Detayls On Wed, Nov 20, 2013 at 8:33 AM, J <iha...@ya...> wrote: http://www.julespotvin.com/?p=17 > >^^ It's on oldy but the solution works for me. > > > >-J > > > > >On Monday, November 18, 2013 12:27 PM, David Taylor <da...@de...> wrote: > >I recently asked the list if there was a solution for the temp file problem that I have been encountering. > >Ahmed was helpful in talking me through it but ultimately no solution was found. > >To recap, my application uses HTMLUnit and correctly calls closeAllWindows but html*.tmp files keep stacking up in my temp directory. > >After a while the temp files fill the disk. > >I have a suspicion that the temp files are created by a JavaScript load and so do not get added the Window list. > >Does any new information exist on this issue? > >Thanks, > >David > >-- >David Taylor, Detayls > >------------------------------------------------------------------------------ >Shape the Mobile Experience: Free Subscription >Software experts and developers: Be at the forefront of tech innovation. >Intel(R) Software Adrenaline delivers strategic insight and game-changing >conversations that shape the rapidly evolving mobile landscape. Sign up now. >http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >_______________________________________________ >Htmlunit-user mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > >------------------------------------------------------------------------------ >Shape the Mobile Experience: Free Subscription >Software experts and developers: Be at the forefront of tech innovation. >Intel(R) Software Adrenaline delivers strategic insight and game-changing >conversations that shape the rapidly evolving mobile landscape. Sign up now. >http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >_______________________________________________ >Htmlunit-user mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > |
From: David T. <da...@de...> - 2013-11-20 18:32:33
|
Thanks, J but I really need someone to find the issue. The tmp files I am seeing are all over 500kb and full of JavaScript so the library is not seeing them as a "window" and thus they are not set properly as files that need to be deleted when closeAllWindows is called. David -- David Taylor, Detayls On Wed, Nov 20, 2013 at 8:33 AM, J <iha...@ya...> wrote: > http://www.julespotvin.com/?p=17 > > ^^ It's on oldy but the solution works for me. > > -J > > > On Monday, November 18, 2013 12:27 PM, David Taylor <da...@de...> > wrote: > I recently asked the list if there was a solution for the temp file > problem that I have been encountering. > > Ahmed was helpful in talking me through it but ultimately no solution was > found. > > To recap > , > my application uses HTMLUnit and correctly calls closeAllWindows but > html*.tmp files keep stacking up in my temp directory. > > After a while the temp files fill the disk. > > I have a suspicion that the temp files are created by a JavaScript load > and so do not get added the Window list. > > Does any new information exist on this issue? > > Thanks, > > David > -- > David Taylor, Detayls > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up > now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up > now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > |
From: J <iha...@ya...> - 2013-11-20 16:33:10
|
http://www.julespotvin.com/?p=17 ^^ It's on oldy but the solution works for me. -J On Monday, November 18, 2013 12:27 PM, David Taylor <da...@de...> wrote: I recently asked the list if there was a solution for the temp file problem that I have been encountering. Ahmed was helpful in talking me through it but ultimately no solution was found. To recap, my application uses HTMLUnit and correctly calls closeAllWindows but html*.tmp files keep stacking up in my temp directory. After a while the temp files fill the disk. I have a suspicion that the temp files are created by a JavaScript load and so do not get added the Window list. Does any new information exist on this issue? Thanks, David -- David Taylor, Detayls ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: Nitin T. <nt...@ne...> - 2013-11-20 08:47:05
|
Hi All, I am stuck in this. Not able to proceed. Any pointers will be really helpful, please tell me what can I do to make it work. Regards Nitin From: Ahmed Ashour [mailto:asa...@ya...] Sent: Monday, November 11, 2013 2:02 PM To: Nitin Tomer; htm...@li... Subject: Re: [Htmlunit-user] Not able to submit a form Hi Nitin, This is almost as my previous code. If you save the page to a local file and see its output in real browser, you will see it didn't get the 'from'/'to'/'date' fields correctly, as it says "you need to specify" them. I believe you need to know how the website detects values inside the <input> and use HtmlUnit accordingly. Ahmed _____ From: Nitin Tomer <nt...@ne...> To: Ahmed Ashour <asa...@ya...>; "htm...@li..." <htm...@li...> Sent: Sunday, November 10, 2013 8:34 PM Subject: Re: [Htmlunit-user] Not able to submit a form Hi Ahmed, I am doing it this way - HtmlForm form = (HtmlForm)searchPage.getElementById("flights-form"); if(form != null) { (form.getInputByName("MDCity_1")).setValueAttribute("Los Angeles, CA - Los Angeles Intl Airport (LAX)"); (form.getInputByName("MDCity_2")).setValueAttribute("New York City, NY - All Airports (NYC)"); (form.getInputByName("DepDateMD1")).setValueAttribute("11/15/2013"); HtmlButton searchButton = form.getElementById("air-btn-submit-retl"); searchResultPage = searchButton.click(); while(!searchResultPage.getUrl().toString().contains("airlines")) { System.out.println("Waiting!!"); Thread t = Thread.currentThread(); t.sleep(60 * 1000); searchResultPage = (HtmlPage)webClient.getCurrentWindow().getEnclosedPage(); System.out.println("Page Content: " + searchResultPage.asXml()); } It is printing a blank page every time, and is not taking me to the results page. Please suggest what I am doing wrong. Regards Nitin On Sunday, 10-11-2013 on 17:12 Ahmed Ashour wrote: Hi Nitin, How do you fill the form? The below doesn't work HtmlPage page = webClient.getPage("http://www.priceline.com/flights/"); page.<HtmlInput>getHtmlElementById("air-loc-from").setValueAttribute("Los Angeles, CA - Los Angeles Intl Airport (LAX)"); page.<HtmlInput>getHtmlElementById("air-loc-to").setValueAttribute("New York City, NY - All Airports (NYC)"); page.<HtmlInput>getHtmlElementById("return-date").setValueAttribute("12/01/2 013"); HtmlPage page2 = page.getHtmlElementById("air-submit-btn").click(); Ahmed _____ From: Nitin Tomer <nt...@ne...> To: htm...@li... Sent: Wednesday, November 6, 2013 4:39 PM Subject: [Htmlunit-user] Not able to submit a form Hi, I am trying to submit a form on this link - http://www.priceline.com/flights/ I am giving values - from (LAX), to (NYC) and date as 07-Nov-2013. It is giving me results when I do it by browser but returns the same page when I try this with HtmlUnit. I saw that the form had this tag - <form class="searchform" pclnform="1" fmproduct="flights" data-section="FlightsForm" Xaction="/qp.asp" method="POST"> The button tag is - <button id="air-submit-btn" class="button primary medium" type="submit" value="retl">Search Flights</button> Why is this form not being submitted? Is it because the form has an xaction instead of action? Please help. Regards Nitin Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL. |
From: David T. <da...@de...> - 2013-11-18 19:26:16
|
I recently asked the list if there was a solution for the temp file problem that I have been encountering. Ahmed was helpful in talking me through it but ultimately no solution was found. To recap , my application uses HTMLUnit and correctly calls closeAllWindows but html*.tmp files keep stacking up in my temp directory. After a while the temp files fill the disk. I have a suspicion that the temp files are created by a JavaScript load and so do not get added the Window list. Does any new information exist on this issue? Thanks, David -- David Taylor, Detayls |
From: asashour <asa...@ya...> - 2013-11-18 10:05:42
|
Hi, - You must subscribe to the list before posting - You can use FireBug (for FF), to see what is the HTML element used for Facebook link. - Please always post your complete case - Read http://htmlunit.sourceforge.net/submittingJSBugs.html Ahmed Phil wrote > Hi, I'm trying to post a link on my facebook wall. > > I use htmlunit to log in, move to the page, select the text box, set the > text and click on the button "POST" > but if the comment is a link(URL) it appears just a normal link instead of > a proper facebook link post with title, name a thumbnail etc. > > HtmlPage wall = client.getPage("https://www.facebook.com/"); > HtmlTextArea text = (HtmlTextArea) wall.getElementById(ID); > text.type("http://www.bbc.co.uk/news/health/"); > client.getOptions().setJavaScriptEnabled(false); > page = postButton.click(); > > Is there any solution to post a link properly? > > Thanks -- View this message in context: http://htmlunit.10904.n7.nabble.com/Htmlunit-Post-a-Link-on-Facebook-tp32231p32234.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |
From: David M. G. <mic...@gm...> - 2013-11-17 09:51:15
|
Hi, It works now perfect. Thank you very much, David On Sun, Nov 17, 2013 at 11:35 AM, < 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: Exception when trying to get page with htmlunit (Ahmed > Ashour) (David Michael Gang) > 2. Re: Exception when trying to get page with htmlunit (Ahmed Ashour) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 17 Nov 2013 11:03:25 +0200 > From: David Michael Gang <mic...@gm...> > Subject: Re: [Htmlunit-user] Exception when trying to get page with > htmlunit (Ahmed Ashour) > To: htm...@li... > Message-ID: > <CAJJh-dPzD6A36NBR2t8WYUCyyLTwuFKPXhowk6e= > YyB...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > I copied the code snippet and i am still getting this exception. > WebClient webClient = new WebClient(); > webClient.getOptions().setUseInsecureSSL(true); > HtmlPage p = webClient.getPage(" > https://www.sciencedirect.com/science/book/9780121346454"); > System.out.println(p.asText()); > > > Exception in thread "main" java.lang.NullPointerException > at > > com.steadystate.css.dom.CSSStyleDeclarationImpl.getPropertyValue(CSSStyleDeclarationImpl.java:109) > at > > com.gargoylesoftware.htmlunit.javascript.host.css.ComputedCSSStyleDeclaration.applyStyleFromSelector(ComputedCSSStyleDeclaration.java:225) > at > > com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:242) > at > > com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:218) > at > > com.gargoylesoftware.htmlunit.javascript.host.Window.getComputedStyle(Window.java:1607) > at > > com.gargoylesoftware.htmlunit.javascript.host.Element.getCurrentStyle(Element.java:547) > at > com.gargoylesoftware.htmlunit.html.DomNode.isDisplayed(DomNode.java:712) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.isVisible(HtmlSerializer.java:377) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendText(HtmlSerializer.java:371) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:126) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendHtmlUnorderedList(HtmlSerializer.java:229) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:188) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at > > com.gargoylesoftware.htmlunit.html.HtmlSerializer.asText(HtmlSerializer.java:57) > at com.gargoylesoftware.htmlunit.html.DomNode.asText(DomNode.java:760) > at test.Test.main(Test.java:19) > > > I am using the maven snapshot with the following manifest > > Manifest-Version: 1.0 > Implementation-Title: HtmlUnit > Implementation-Version: 2.14-SNAPSHOT > Built-By: nobody > Specification-Vendor: Gargoyle Software Inc. > Created-By: Apache Maven 3.0.4 > Url: http://htmlunit.sourceforge.net > Implementation-Vendor: Gargoyle Software Inc. > Build-Number: > SVN-Revision: > Implementation-Vendor-Id: net.sourceforge.htmlunit > Build-Jdk: 1.6.0_35 > Specification-Title: HtmlUnit > Specification-Version: 2.14-SNAPSHOT > Archiver-Version: Plexus Archiver > > I already forced a snapshot update with maven. > Would it maybe be possible to upload the latest htmlunit to maven so that i > will check it again? > > Thanks, > David > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 2 > Date: Sun, 17 Nov 2013 01:35:05 -0800 (PST) > From: Ahmed Ashour <asa...@ya...> > Subject: Re: [Htmlunit-user] Exception when trying to get page with > htmlunit > To: "htm...@li..." > <htm...@li...> > Message-ID: > <138...@we...> > Content-Type: text/plain; charset="iso-8859-1" > > Hi David, > > Snapshot has been uploaded. > > Please remove your ~/.m2/repository/net/sourceforge folder and try again. > > Ahmed > > ________________________________ > From: David Michael Gang <mic...@gm...> > To: htm...@li... > Sent: Sunday, November 17, 2013 12:03 PM > Subject: Re: [Htmlunit-user] Exception when trying to get page with > htmlunit (Ahmed Ashour) > > > > Hi, > > I copied the code snippet and i am still getting this exception. > WebClient webClient = new WebClient(); > ??? ??? webClient.getOptions().setUseInsecureSSL(true); > ??? ??? HtmlPage p = webClient.getPage(" > https://www.sciencedirect.com/science/book/9780121346454"); > ??? ??? System.out.println(p.asText()); > > > Exception in thread "main" java.lang.NullPointerException > ??? at > com.steadystate.css.dom.CSSStyleDeclarationImpl.getPropertyValue(CSSStyleDeclarationImpl.java:109) > ??? at > com.gargoylesoftware.htmlunit.javascript.host.css.ComputedCSSStyleDeclaration.applyStyleFromSelector(ComputedCSSStyleDeclaration.java:225) > ??? at > com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:242) > ??? at > com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:218) > ??? at > com.gargoylesoftware.htmlunit.javascript.host.Window.getComputedStyle(Window.java:1607) > ??? at > com.gargoylesoftware.htmlunit.javascript.host.Element.getCurrentStyle(Element.java:547) > ??? at > com.gargoylesoftware.htmlunit.html.DomNode.isDisplayed(DomNode.java:712) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.isVisible(HtmlSerializer.java:377) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendText(HtmlSerializer.java:371) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:126) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendHtmlUnorderedList(HtmlSerializer.java:229) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:188) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > ??? at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.asText(HtmlSerializer.java:57) > ??? at com.gargoylesoftware.htmlunit.html.DomNode.asText(DomNode.java:760) > ??? at test.Test.main(Test.java:19) > > > I am using the maven snapshot with the following manifest > > Manifest-Version: 1.0 > Implementation-Title: HtmlUnit > Implementation-Version: 2.14-SNAPSHOT > Built-By: nobody > Specification-Vendor: Gargoyle Software Inc. > Created-By: Apache Maven 3.0.4 > Url: http://htmlunit.sourceforge.net > Implementation-Vendor: Gargoyle Software Inc. > Build-Number: > SVN-Revision: > Implementation-Vendor-Id: net.sourceforge.htmlunit > Build-Jdk: 1.6.0_35 > Specification-Title: HtmlUnit > Specification-Version: 2.14-SNAPSHOT > Archiver-Version: Plexus Archiver > > I already forced a snapshot update with maven. > Would it maybe be possible to upload the latest htmlunit to maven so that > i will check it again? > > Thanks, > David > > > > > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > > ------------------------------ > > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > End of Htmlunit-user Digest, Vol 90, Issue 15 > ********************************************* > |
From: Ahmed A. <asa...@ya...> - 2013-11-17 09:35:12
|
Hi David, Snapshot has been uploaded. Please remove your ~/.m2/repository/net/sourceforge folder and try again. Ahmed ________________________________ From: David Michael Gang <mic...@gm...> To: htm...@li... Sent: Sunday, November 17, 2013 12:03 PM Subject: Re: [Htmlunit-user] Exception when trying to get page with htmlunit (Ahmed Ashour) Hi, I copied the code snippet and i am still getting this exception. WebClient webClient = new WebClient(); webClient.getOptions().setUseInsecureSSL(true); HtmlPage p = webClient.getPage("https://www.sciencedirect.com/science/book/9780121346454"); System.out.println(p.asText()); Exception in thread "main" java.lang.NullPointerException at com.steadystate.css.dom.CSSStyleDeclarationImpl.getPropertyValue(CSSStyleDeclarationImpl.java:109) at com.gargoylesoftware.htmlunit.javascript.host.css.ComputedCSSStyleDeclaration.applyStyleFromSelector(ComputedCSSStyleDeclaration.java:225) at com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:242) at com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:218) at com.gargoylesoftware.htmlunit.javascript.host.Window.getComputedStyle(Window.java:1607) at com.gargoylesoftware.htmlunit.javascript.host.Element.getCurrentStyle(Element.java:547) at com.gargoylesoftware.htmlunit.html.DomNode.isDisplayed(DomNode.java:712) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.isVisible(HtmlSerializer.java:377) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendText(HtmlSerializer.java:371) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:126) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendHtmlUnorderedList(HtmlSerializer.java:229) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:188) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.asText(HtmlSerializer.java:57) at com.gargoylesoftware.htmlunit.html.DomNode.asText(DomNode.java:760) at test.Test.main(Test.java:19) I am using the maven snapshot with the following manifest Manifest-Version: 1.0 Implementation-Title: HtmlUnit Implementation-Version: 2.14-SNAPSHOT Built-By: nobody Specification-Vendor: Gargoyle Software Inc. Created-By: Apache Maven 3.0.4 Url: http://htmlunit.sourceforge.net Implementation-Vendor: Gargoyle Software Inc. Build-Number: SVN-Revision: Implementation-Vendor-Id: net.sourceforge.htmlunit Build-Jdk: 1.6.0_35 Specification-Title: HtmlUnit Specification-Version: 2.14-SNAPSHOT Archiver-Version: Plexus Archiver I already forced a snapshot update with maven. Would it maybe be possible to upload the latest htmlunit to maven so that i will check it again? Thanks, David ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: David M. G. <mic...@gm...> - 2013-11-17 09:03:34
|
Hi, I copied the code snippet and i am still getting this exception. WebClient webClient = new WebClient(); webClient.getOptions().setUseInsecureSSL(true); HtmlPage p = webClient.getPage(" https://www.sciencedirect.com/science/book/9780121346454"); System.out.println(p.asText()); Exception in thread "main" java.lang.NullPointerException at com.steadystate.css.dom.CSSStyleDeclarationImpl.getPropertyValue(CSSStyleDeclarationImpl.java:109) at com.gargoylesoftware.htmlunit.javascript.host.css.ComputedCSSStyleDeclaration.applyStyleFromSelector(ComputedCSSStyleDeclaration.java:225) at com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:242) at com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:218) at com.gargoylesoftware.htmlunit.javascript.host.Window.getComputedStyle(Window.java:1607) at com.gargoylesoftware.htmlunit.javascript.host.Element.getCurrentStyle(Element.java:547) at com.gargoylesoftware.htmlunit.html.DomNode.isDisplayed(DomNode.java:712) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.isVisible(HtmlSerializer.java:377) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendText(HtmlSerializer.java:371) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:126) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendHtmlUnorderedList(HtmlSerializer.java:229) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:188) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) at com.gargoylesoftware.htmlunit.html.HtmlSerializer.asText(HtmlSerializer.java:57) at com.gargoylesoftware.htmlunit.html.DomNode.asText(DomNode.java:760) at test.Test.main(Test.java:19) I am using the maven snapshot with the following manifest Manifest-Version: 1.0 Implementation-Title: HtmlUnit Implementation-Version: 2.14-SNAPSHOT Built-By: nobody Specification-Vendor: Gargoyle Software Inc. Created-By: Apache Maven 3.0.4 Url: http://htmlunit.sourceforge.net Implementation-Vendor: Gargoyle Software Inc. Build-Number: SVN-Revision: Implementation-Vendor-Id: net.sourceforge.htmlunit Build-Jdk: 1.6.0_35 Specification-Title: HtmlUnit Specification-Version: 2.14-SNAPSHOT Archiver-Version: Plexus Archiver I already forced a snapshot update with maven. Would it maybe be possible to upload the latest htmlunit to maven so that i will check it again? Thanks, David |
From: Ahmed A. <asa...@ya...> - 2013-11-17 08:48:26
|
Hi Marcus, The issue is fixed in SVN version. Ahmed ________________________________ From: Marcus Halverstrom <dop...@ho...> To: "htm...@li..." <htm...@li...> Sent: Tuesday, November 12, 2013 1:51 PM Subject: [Htmlunit-user] Simple App to Read Google Voice I want to make a simple app to read my google voice page and log the most recent calls I started with loading the login page HtmlPage login = webClient.getPage("https://www.google.com/voice/"); I tried this using BrowserVersion.CHROME, and BrowserVersion.FIREFOX_17. I received the following error (truncated for convenience). ---------- Exception class=[net.sourceforge.htmlunit.corejs.javascript.WrappedException] com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot call method "toLowerCase" of undefined (script in https://accounts.google.com/ServiceLogin?service=grandcentral&passive=1209600&continue=https%3A%2F%2Fwww.google.com%2Fvoice%2F&followup=https%3A%2F%2Fwww.google.com%2Fvoice%2F<mpl=open from (1158, 11) to (1170, 10)#1167) ------------ After looking around, I tried webClient.getOptions().setJavaScriptEnabled(false); HtmlPage login = webClient.getPage("https://www.google.com/voice/"); followed by some code to enter my email and password and submit. This worked (I could see my google voice phone number in the dom). Then I wanted to read my most recent calls. So I did the following webClient.getOptions().setJavaScriptEnabled(true); //not sure if this is necessary it was just tried in my latest iteration webClient.getOptions().setThrowExceptionOnFailingStatusCode(false); HtmlPage history = webClient.getPage("https://www.google.com/voice/#history"); //not sure if this is necessary it was just tried in my latest iteration history.refresh(); //this is the element that contains the recent calls DomElement e = history.getElementById("gc-view-main"); //BUT IT'S EMPTY System.out.println(e.asXml()); //printed: //--------- //<div id="gc-view-main" class="gc-inbox-view-main"> //</div> //----------- When accessed via my browser this element is NOT empty. I don't know what's going on. In addition when loading, I get the tons of errors below. I don't know if these are to be expected or not. Nov 12, 2013 3:25:03 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify WARNING: Obsolete content type encountered: 'text/javascript'. Nov 12, 2013 3:25:03 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify WARNING: Obsolete content type encountered: 'text/javascript'. Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error WARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:19330] Error in expression. (Invalid token "#4d90fe". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".) |
From: Ahmed A. <asa...@ya...> - 2013-11-13 08:02:41
|
Hi David, - Either you are doing something else, or you aren't using latest snapshot. - The below works with me: WebClient webClient = new WebClient(); webClient.getOptions().setUseInsecureSSL(true); HtmlPage p = webClient.getPage("https://www.sciencedirect.com/science/book/9780121346454"); System.out.println(p.asText()); Yours, Ahmed Ashour ________________________________ From: David Michael Gang <mic...@gm...> To: htm...@li... Sent: Wednesday, November 13, 2013 10:27 AM Subject: Re: [Htmlunit-user] Exception when trying to get page with htmlunit Hi, Thanks for the quick fix. When javascript is disabled everything works fine with the new snapshot. When javascript is enabled i still get an error net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot read property "childNodes" from null (http://cdn.els-cdn.com/sd/js/sdX_133aR4.js#12) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3603) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3587) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3608) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3624) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3634) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1464) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1241) at script(http://cdn.els-cdn.com/sd/js/sdX_133aR4.js:12) at script(http://cdn.els-cdn.com/sd/js/sdX_133aR4.js:12) at script(http://cdn.els-cdn.com/sd/js/sdX_133aR4.js:2) at script(http://cdn.els-cdn.com/sd/js/sdX_133aR4.js:2) at script.Datepicker(http://cdn.els-cdn.com/sd/js/sdX_133aR4.js:21) at script(http://cdn.els-cdn.com/sd/js/sdX_133aR4.js:21) at script(http://cdn.els-cdn.com/sd/js/sdX_133aR4.js:21) 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:405) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:309) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3031) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:561) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:669) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:570) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1067) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:409) 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:684) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:643) 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:3116) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2083) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:918) 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:900) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:243) at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:189) 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:437) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:311) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:376) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:361) at test.Test.main(Test.java:19) Thanks, David On Wed, Nov 13, 2013 at 8:23 AM, <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: Exception when trying to get page with htmlunit (Ahmed Ashour) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Tue, 12 Nov 2013 22:23:02 -0800 (PST) >From: Ahmed Ashour <asa...@ya...> >Subject: Re: [Htmlunit-user] Exception when trying to get page with > htmlunit >To: "htm...@li..." > <htm...@li...> >Message-ID: > <138...@we...> >Content-Type: text/plain; charset="iso-8859-1" > >Hi David, > >Thanks to Ronald for the quick response. > >Issue is fixed in SVN. > >Yours, >Ahmed > |
From: Ahmed A. <asa...@ya...> - 2013-11-13 07:59:20
|
Hi David, - HtmlUnit snapshot must be manually uploaded by one of the team members, I have just done that. - You can use Selenium with latest snapshot, just exclude it from selenium-htmlunit-driver and re-add your need version as a separate dependency. Something like <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-htmlunit-driver</artifactId> <version>2.37.1</version> <exclusions> <exclusion> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> <version>2.14-SNAPSHOT</version> </dependency> Yours, Ahmed Ashour ________________________________ From: David Michael Gang <mic...@gm...> To: htm...@li... Sent: Wednesday, November 13, 2013 10:35 AM Subject: [Htmlunit-user] using selenium with 2.14 snapshot Hi all, I have the following question: I am using htmlunit through selenium. selenium currently uses htmlunit 2.13. I want to enjoy from the latest code and the latest fixes, so i want to use htmlunit 2.14-snapshot. Do you think it is a good idea, or will i have problems with incompatibilities between 2.13 and 2.14 snapshot? If it is a good idea, how do i tell selenium in maven not do download the dependency of htmlunit so that i can inject the snapshot dependency? I tried in the meanwhile to get the 2.14 SNAPSHOT through maven but got the error: Missing artifact net.sourceforge.htmlunit:htmlunit:jar:2.14-SNAPSHOT Here is my pom: project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>htmlunitSandbox</groupId> <artifactId>htmlunitSandbox</artifactId> <version>0.0.1-SNAPSHOT</version> <repositories> <repository> <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> </snapshots> <releases> <enabled>false</enabled> </releases> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <layout>default</layout> </repository> </repositories> <dependencies> <dependency> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> <version>2.14-SNAPSHOT</version> </dependency> </dependencies> <build> <sourceDirectory>src</sourceDirectory> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> </plugins> </build> </project> Is there anything wrong in this pom? Thanks, David ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: Ahmed A. <asa...@ya...> - 2013-11-13 07:37:52
|
Hi all, This is an example of isolating a root cause, it is captured during handling "https://www.google.com/voice/". IE8 doesn't trigger 'in message!', while HtmlUnit does, mostly because of targetOrigin in postMessage() parameter. To be fixed soon. -------------------- 1.html <html><head><script> function something() { alert('in message!'); } function test() { window.attachEvent('onmessage', something); var iframe = document.createElement('iframe'); iframe.src = '2.html'; document.body.appendChild(iframe); } </script> </head> <body onload='test()'></body> </html> ----------------- 2.html <html><head> <script> window.parent.postMessage('hi', 'https://accounts.google.com'); </script> </head> </html> ________________________________ From: Marcus Halverstrom <dop...@ho...> To: "htm...@li..." <htm...@li...> Sent: Tuesday, November 12, 2013 1:51 PM Subject: [Htmlunit-user] Simple App to Read Google Voice I want to make a simple app to read my google voice page and log the most recent calls I started with loading the login page HtmlPage login = webClient.getPage("https://www.google.com/voice/"); I tried this using BrowserVersion.CHROME, and BrowserVersion.FIREFOX_17. I received the following error (truncated for convenience). ---------- Exception class=[net.sourceforge.htmlunit.corejs.javascript.WrappedException] com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot call method "toLowerCase" of undefined (script in https://accounts.google.com/ServiceLogin?service=grandcentral&passive=1209600&continue=https%3A%2F%2Fwww.google.com%2Fvoice%2F&followup=https%3A%2F%2Fwww.google.com%2Fvoice%2F<mpl=open from (1158, 11) to (1170, 10)#1167) ------------ After looking around, I tried webClient.getOptions().setJavaScriptEnabled(false); HtmlPage login = webClient.getPage("https://www.google.com/voice/"); followed by some code to enter my email and password and submit. This worked (I could see my google voice phone number in the dom). Then I wanted to read my most recent calls. So I did the following webClient.getOptions().setJavaScriptEnabled(true); //not sure if this is necessary it was just tried in my latest iteration webClient.getOptions().setThrowExceptionOnFailingStatusCode(false); HtmlPage history = webClient.getPage("https://www.google.com/voice/#history"); //not sure if this is necessary it was just tried in my latest iteration history.refresh(); //this is the element that contains the recent calls DomElement e = history.getElementById("gc-view-main"); //BUT IT'S EMPTY System.out.println(e.asXml()); //printed: //--------- //<div id="gc-view-main" class="gc-inbox-view-main"> //</div> //----------- When accessed via my browser this element is NOT empty. I don't know what's going on. In addition when loading, I get the tons of errors below. I don't know if these are to be expected or not. Nov 12, 2013 3:25:03 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify WARNING: Obsolete content type encountered: 'text/javascript'. Nov 12, 2013 3:25:03 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify WARNING: Obsolete content type encountered: 'text/javascript'. Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error WARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:19330] Error in expression. (Invalid token "#4d90fe". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".) |
From: David M. G. <mic...@gm...> - 2013-11-13 07:35:14
|
Hi all, I have the following question: I am using htmlunit through selenium. selenium currently uses htmlunit 2.13. I want to enjoy from the latest code and the latest fixes, so i want to use htmlunit 2.14-snapshot. Do you think it is a good idea, or will i have problems with incompatibilities between 2.13 and 2.14 snapshot? If it is a good idea, how do i tell selenium in maven not do download the dependency of htmlunit so that i can inject the snapshot dependency? I tried in the meanwhile to get the 2.14 SNAPSHOT through maven but got the error: Missing artifact net.sourceforge.htmlunit:htmlunit:jar:2.14-SNAPSHOT Here is my pom: project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>htmlunitSandbox</groupId> <artifactId>htmlunitSandbox</artifactId> <version>0.0.1-SNAPSHOT</version> <repositories> <repository> <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> </snapshots> <releases> <enabled>false</enabled> </releases> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots </url> <layout>default</layout> </repository> </repositories> <dependencies> <dependency> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> <version>2.14-SNAPSHOT</version> </dependency> </dependencies> <build> <sourceDirectory>src</sourceDirectory> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> </plugins> </build> </project> Is there anything wrong in this pom? Thanks, David |
From: David M. G. <mic...@gm...> - 2013-11-13 07:27:34
|
Hi, Thanks for the quick fix. When javascript is disabled everything works fine with the new snapshot. When javascript is enabled i still get an error net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot read property "childNodes" from null ( http://cdn.els-cdn.com/sd/js/sdX_133aR4.js#12) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3603) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3587) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3608) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3624) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3634) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1464) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1241) at script(http://cdn.els-cdn.com/sd/js/sdX_133aR4.js:12) at script(http://cdn.els-cdn.com/sd/js/sdX_133aR4.js:12) at script(http://cdn.els-cdn.com/sd/js/sdX_133aR4.js:2) at script(http://cdn.els-cdn.com/sd/js/sdX_133aR4.js:2) at script.Datepicker(http://cdn.els-cdn.com/sd/js/sdX_133aR4.js:21) at script(http://cdn.els-cdn.com/sd/js/sdX_133aR4.js:21) at script(http://cdn.els-cdn.com/sd/js/sdX_133aR4.js:21) 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:405) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:309) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3031) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:561) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:669) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:570) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1067) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:409) 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:684) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:643) 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:3116) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2083) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:918) 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:900) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:243) at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:189) 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:437) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:311) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:376) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:361) at test.Test.main(Test.java:19) Thanks, David On Wed, Nov 13, 2013 at 8:23 AM, < 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: Exception when trying to get page with htmlunit (Ahmed Ashour) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 12 Nov 2013 22:23:02 -0800 (PST) > From: Ahmed Ashour <asa...@ya...> > Subject: Re: [Htmlunit-user] Exception when trying to get page with > htmlunit > To: "htm...@li..." > <htm...@li...> > Message-ID: > <138...@we...> > Content-Type: text/plain; charset="iso-8859-1" > > Hi David, > > Thanks to Ronald for the quick response. > > Issue is fixed in SVN. > > Yours, > Ahmed > > ________________________________ > From: Ahmed Ashour <asa...@ya...> > To: "htm...@li..." < > htm...@li...> > Sent: Tuesday, November 12, 2013 12:40 PM > Subject: Re: [Htmlunit-user] Exception when trying to get page with > htmlunit > > > > Hi David, > > This is an issue in CSSParser, a patch has been provided in? > https://sourceforge.net/p/cssparser/bugs/42/ > > Thanks, > Ahmed Ashour > > ________________________________ > From: David Michael Gang <mic...@gm...> > To: htm...@li... > Sent: Monday, November 11, 2013 12:13 PM > Subject: Re: [Htmlunit-user] Exception when trying to get page with > htmlunit > > > > > > > > > On Mon, Nov 11, 2013 at 11:11 AM, David Michael Gang < > mic...@gm...> wrote: > > Hi, > > > >Thanks for your quick reply. > >I changed the program and still getting errors: > >package test; > > > >import java.io.IOException; > >import java.net.MalformedURLException; > > > >import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException; > >import com.gargoylesoftware.htmlunit.WebClient; > >import com.gargoylesoftware.htmlunit.html.HtmlPage; > > > > > > > >public class Test { > >??? public static void main(String[] args) throws > FailingHttpStatusCodeException, MalformedURLException, IOException { > >??? ??? WebClient w = new WebClient(); > >??? ??? w.getOptions().setUseInsecureSSL(true); > >??? ??? HtmlPage p = w.getPage(" > https://www.sciencedirect.com/science/book/9780121346454"); > >??? ??? System.out.println(p.asText()); > >??? } > >??? > >??? > >} > > > > > >11/11/2013 11:09:09 > com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify > >WARNING: Obsolete content type encountered: 'text/javascript'. > >11/11/2013 11:09:10 > com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify > >WARNING: Obsolete content type encountered: 'application/x-javascript'. > >11/11/2013 11:09:10 > com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError > >SEVERE: runtimeError: message=[The data necessary to complete this > operation is not yet available.] sourceName=[ > https://cdn.optimizely.com/js/204774041.js] line=[31] lineSource=[null] > lineOffset=[0] > >null [0:0] Error in expression. (Invalid token "<EOF>". Was expecting one > of: <NUMBER>, "inherit", <IDENT>, <STRING>, <PLUS>, <HASH>, <EMS>, <EXS>, > <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, > <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, > <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <DIMENSION>, <URI>, <FUNCTION>, "-".) > >11/11/2013 11:09:12 > com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError > >SEVERE: runtimeError: message=[The data necessary to complete this > operation is not yet available.] sourceName=[ > http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[2] lineSource=[null] > lineOffset=[0] > >11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > error > >WARNING: CSS error: 'http://cdn.els-cdn.com/sd/css/css_gen_v01_133aR4.css' > [945:46] Error in style rule. (Invalid token "!important". Was expecting > one of: <EOF>, <S>, <IDENT>, "}", ";".) > >11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > warning > >WARNING: CSS warning: ' > http://cdn.els-cdn.com/sd/css/css_gen_v01_133aR4.css' [945:46] Ignoring > the following declarations in this rule. > >... > ? > WARNING: CSS error: ' > https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/themes/base/jquery-ui.css' > [133:20] Error in style rule. (Invalid token " ". Was expecting one of: > <EOF>, "}", ";".) > >11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > warning > >WARNING: CSS warning: ' > https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/themes/base/jquery-ui.css' > [133:20] Ignoring the following declarations in this rule. > >11/11/2013 11:09:13 > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructor > >WARNING: Automation server can't create object for > 'ShockwaveFlash.ShockwaveFlash'. > >11/11/2013 11:09:13 > com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError > >SEVERE: runtimeError: message=[Automation server can't create object for > 'ShockwaveFlash.ShockwaveFlash'.] sourceName=[ > http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[24] lineSource=[null] > lineOffset=[0] > >11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > error > >WARNING: CSS error: ' > http://cdn.els-cdn.com/sd/css/css_results_page_sprite_v01_133aR4.css' > [766:5] Error in style rule. (Invalid token "*". Was expecting one of: > <EOF>, <S>, <IDENT>, "}", ";".) > >11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > warning > >WARNING: CSS warning: ' > http://cdn.els-cdn.com/sd/css/css_results_page_sprite_v01_133aR4.css' > [766:5] Ignoring the following declarations in this rule. > >11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > error > >... > ? > 11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > error > >WARNING: CSS error: 'http://cdn.els-cdn.com/sd/css/css_pub_v01_133aR4.css' > [1135:4] Error in style rule. (Invalid token "*". Was expecting one of: > <EOF>, <S>, <IDENT>, "}", ";".) > >11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > warning > >WARNING: CSS warning: ' > http://cdn.els-cdn.com/sd/css/css_pub_v01_133aR4.css' [1135:4] Ignoring > the following declarations in this rule. > >11/11/2013 11:09:17 > com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError > >SEVERE: runtimeError: message=[An invalid or illegal selector was > specified (selector: '[id='ui-id-1'] ul:not(.ui-menu)' error: Invalid > selector: *[id="ui-id-1"] ul:not(*.ui-menu)).] sourceName=[ > http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[10] lineSource=[null] > lineOffset=[0] > >11/11/2013 11:09:18 > com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify > >WARNING: Obsolete content type encountered: 'application/x-javascript'. > >11/11/2013 11:09:18 > com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError > >SEVERE: runtimeError: message=[An invalid or illegal selector was > specified (selector: 'a:pdf' error: Invalid selector: a:pdf).] sourceName=[ > http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[10] lineSource=[null] > lineOffset=[0] > >Exception in thread "main" java.lang.NullPointerException > >?? ?at > com.steadystate.css.dom.CSSStyleDeclarationImpl.getPropertyValue(CSSStyleDeclarationImpl.java:109) > >?? ?at > com.gargoylesoftware.htmlunit.javascript.host.css.ComputedCSSStyleDeclaration.applyStyleFromSelector(ComputedCSSStyleDeclaration.java:225) > >?? ?at > com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:242) > >?? ?at > com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:218) > >?? ?at > com.gargoylesoftware.htmlunit.javascript.host.Window.getComputedStyle(Window.java:1607) > >?? ?at > com.gargoylesoftware.htmlunit.javascript.host.Element.getCurrentStyle(Element.java:546) > >?? ?at > com.gargoylesoftware.htmlunit.html.DomNode.isDisplayed(DomNode.java:712) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.isVisible(HtmlSerializer.java:377) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendText(HtmlSerializer.java:371) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:126) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendHtmlUnorderedList(HtmlSerializer.java:229) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:188) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > >?? ?at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.asText(HtmlSerializer.java:57) > >?? ?at com.gargoylesoftware.htmlunit.html.DomNode.asText(DomNode.java:760) > >?? ?at test.Test.main(Test.java:17) > > > >Thanks, > >David > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > > ------------------------------ > > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > End of Htmlunit-user Digest, Vol 90, Issue 11 > ********************************************* > |
From: Ahmed A. <asa...@ya...> - 2013-11-13 06:23:10
|
Hi David, Thanks to Ronald for the quick response. Issue is fixed in SVN. Yours, Ahmed ________________________________ From: Ahmed Ashour <asa...@ya...> To: "htm...@li..." <htm...@li...> Sent: Tuesday, November 12, 2013 12:40 PM Subject: Re: [Htmlunit-user] Exception when trying to get page with htmlunit Hi David, This is an issue in CSSParser, a patch has been provided in https://sourceforge.net/p/cssparser/bugs/42/ Thanks, Ahmed Ashour ________________________________ From: David Michael Gang <mic...@gm...> To: htm...@li... Sent: Monday, November 11, 2013 12:13 PM Subject: Re: [Htmlunit-user] Exception when trying to get page with htmlunit On Mon, Nov 11, 2013 at 11:11 AM, David Michael Gang <mic...@gm...> wrote: Hi, > >Thanks for your quick reply. >I changed the program and still getting errors: >package test; > >import java.io.IOException; >import java.net.MalformedURLException; > >import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException; >import com.gargoylesoftware.htmlunit.WebClient; >import com.gargoylesoftware.htmlunit.html.HtmlPage; > > > >public class Test { > public static void main(String[] args) throws FailingHttpStatusCodeException, MalformedURLException, IOException { > WebClient w = new WebClient(); > w.getOptions().setUseInsecureSSL(true); > HtmlPage p = w.getPage("https://www.sciencedirect.com/science/book/9780121346454"); > System.out.println(p.asText()); > } > > >} > > >11/11/2013 11:09:09 com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >WARNING: Obsolete content type encountered: 'text/javascript'. >11/11/2013 11:09:10 com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >WARNING: Obsolete content type encountered: 'application/x-javascript'. >11/11/2013 11:09:10 com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError >SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[https://cdn.optimizely.com/js/204774041.js] line=[31] lineSource=[null] lineOffset=[0] >null [0:0] Error in expression. (Invalid token "<EOF>". Was expecting one of: <NUMBER>, "inherit", <IDENT>, <STRING>, <PLUS>, <HASH>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <DIMENSION>, <URI>, <FUNCTION>, "-".) >11/11/2013 11:09:12 com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError >SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[2] lineSource=[null] lineOffset=[0] >11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error >WARNING: CSS error: 'http://cdn.els-cdn.com/sd/css/css_gen_v01_133aR4.css' [945:46] Error in style rule. (Invalid token "!important". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".) >11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning >WARNING: CSS warning: 'http://cdn.els-cdn.com/sd/css/css_gen_v01_133aR4.css' [945:46] Ignoring the following declarations in this rule. >... WARNING: CSS error: 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/themes/base/jquery-ui.css' [133:20] Error in style rule. (Invalid token " ". Was expecting one of: <EOF>, "}", ";".) >11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning >WARNING: CSS warning: 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/themes/base/jquery-ui.css' [133:20] Ignoring the following declarations in this rule. >11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructor >WARNING: Automation server can't create object for 'ShockwaveFlash.ShockwaveFlash'. >11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError >SEVERE: runtimeError: message=[Automation server can't create object for 'ShockwaveFlash.ShockwaveFlash'.] sourceName=[http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[24] lineSource=[null] lineOffset=[0] >11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error >WARNING: CSS error: 'http://cdn.els-cdn.com/sd/css/css_results_page_sprite_v01_133aR4.css' [766:5] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".) >11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning >WARNING: CSS warning: 'http://cdn.els-cdn.com/sd/css/css_results_page_sprite_v01_133aR4.css' [766:5] Ignoring the following declarations in this rule. >11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error >... 11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error >WARNING: CSS error: 'http://cdn.els-cdn.com/sd/css/css_pub_v01_133aR4.css' [1135:4] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".) >11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning >WARNING: CSS warning: 'http://cdn.els-cdn.com/sd/css/css_pub_v01_133aR4.css' [1135:4] Ignoring the following declarations in this rule. >11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError >SEVERE: runtimeError: message=[An invalid or illegal selector was specified (selector: '[id='ui-id-1'] ul:not(.ui-menu)' error: Invalid selector: *[id="ui-id-1"] ul:not(*.ui-menu)).] sourceName=[http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[10] lineSource=[null] lineOffset=[0] >11/11/2013 11:09:18 com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >WARNING: Obsolete content type encountered: 'application/x-javascript'. >11/11/2013 11:09:18 com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError >SEVERE: runtimeError: message=[An invalid or illegal selector was specified (selector: 'a:pdf' error: Invalid selector: a:pdf).] sourceName=[http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[10] lineSource=[null] lineOffset=[0] >Exception in thread "main" java.lang.NullPointerException > at com.steadystate.css.dom.CSSStyleDeclarationImpl.getPropertyValue(CSSStyleDeclarationImpl.java:109) > at com.gargoylesoftware.htmlunit.javascript.host.css.ComputedCSSStyleDeclaration.applyStyleFromSelector(ComputedCSSStyleDeclaration.java:225) > at com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:242) > at com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:218) > at com.gargoylesoftware.htmlunit.javascript.host.Window.getComputedStyle(Window.java:1607) > at com.gargoylesoftware.htmlunit.javascript.host.Element.getCurrentStyle(Element.java:546) > at com.gargoylesoftware.htmlunit.html.DomNode.isDisplayed(DomNode.java:712) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.isVisible(HtmlSerializer.java:377) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendText(HtmlSerializer.java:371) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:126) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendHtmlUnorderedList(HtmlSerializer.java:229) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:188) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.asText(HtmlSerializer.java:57) > at com.gargoylesoftware.htmlunit.html.DomNode.asText(DomNode.java:760) > at test.Test.main(Test.java:17) > >Thanks, >David > |
From: Marcus H. <dop...@ho...> - 2013-11-12 10:52:09
|
I want to make a simple app to read my google voice page and log the most recent calls I started with loading the login page HtmlPage login = webClient.getPage("https://www.google.com/voice/"); I tried this using BrowserVersion.CHROME, and BrowserVersion.FIREFOX_17. I received the following error (truncated for convenience). ----------Exception class=[net.sourceforge.htmlunit.corejs.javascript.WrappedException] com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot call method "toLowerCase" of undefined (script in https://accounts.google.com/ServiceLogin?service=grandcentral&passive=1209600&continue=https%3A%2F%2Fwww.google.com%2Fvoice%2F&followup=https%3A%2F%2Fwww.google.com%2Fvoice%2F<mpl=open from (1158, 11) to (1170, 10)#1167)------------ After looking around, I tried webClient.getOptions().setJavaScriptEnabled(false);HtmlPage login = webClient.getPage("https://www.google.com/voice/"); followed by some code to enter my email and password and submit. This worked (I could see my google voice phone number in the dom). Then I wanted to read my most recent calls. So I did the following webClient.getOptions().setJavaScriptEnabled(true); //not sure if this is necessary it was just tried in my latest iteration webClient.getOptions().setThrowExceptionOnFailingStatusCode(false); HtmlPage history = webClient.getPage("https://www.google.com/voice/#history"); //not sure if this is necessary it was just tried in my latest iteration history.refresh(); //this is the element that contains the recent calls DomElement e = history.getElementById("gc-view-main"); //BUT IT'S EMPTY System.out.println(e.asXml()); //printed://---------//<div id="gc-view-main" class="gc-inbox-view-main"> //</div>//----------- When accessed via my browser this element is NOT empty. I don't know what's going on. In addition when loading, I get the tons of errors below. I don't know if these are to be expected or not. Nov 12, 2013 3:25:03 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notifyWARNING: Obsolete content type encountered: 'text/javascript'.Nov 12, 2013 3:25:03 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notifyWARNING: Obsolete content type encountered: 'text/javascript'.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:19330] Error in expression. (Invalid token "#4d90fe". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:19347] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:19347] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:19778] Error in expression. (Invalid token "#4d90fe". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:19795] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:19795] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:20919] Error in expression. (Invalid token "#f5f5f5". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:20936] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:20936] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:21465] Error in expression. (Invalid token "#f8f8f8". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:21482] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:21482] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:22151] Error in expression. (Invalid token "#f8f8f8". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:22168] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:22168] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:22740] Error in expression. (Invalid token "#eee". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:22754] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:22754] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:23757] Error in expression. (Invalid token "#3d9400". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:23774] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:23774] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:24242] Error in expression. (Invalid token "#3d9400". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:24259] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:24259] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:25432] Error in expression. (Invalid token "#dd4b39". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:25449] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:25449] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:26015] Error in expression. (Invalid token "#dd4b39". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:26032] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:26032] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:26915] Error in expression. (Invalid token "#dd4b39". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:26932] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:26932] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:27615] Error in expression. (Invalid token "#eee". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:27629] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:27629] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:28384] Error in expression. (Invalid token "#3b93ff". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:28401] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:28401] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:28990] Error in expression. (Invalid token "#f8f8f8". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:29007] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:29007] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:29543] Error in expression. (Invalid token "#ccc". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:29789] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:29789] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:31370] Error in expression. (Invalid token "#f5f5f5". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:31387] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:31387] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:31916] Error in expression. (Invalid token "#f8f8f8". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:31933] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:31933] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:32613] Error in expression. (Invalid token "#f8f8f8". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:32630] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:32630] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:33202] Error in expression. (Invalid token "#eee". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:33216] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:33216] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:15 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:35049] Error in expression. (Invalid token "#f5f5f5". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:35066] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:35066] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:35606] Error in expression. (Invalid token "#f8f8f8". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:35623] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:35623] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:36381] Error in expression. (Invalid token "#eee". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:36395] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:36395] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:38186] Error in expression. (Invalid token "1x". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:38460] Error in expression. (Invalid token "1x". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:39735] Error in expression. (Invalid token "#f5f5f5". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:39752] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:39752] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:40453] Error in expression. (Invalid token "#f8f8f8". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:40470] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:40470] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:41295] Error in expression. (Invalid token "#4d90fe". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:41312] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:41312] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:41749] Error in expression. (Invalid token "#4d90fe". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:41766] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:41766] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:43348] Error in expression. (Invalid token "#f5f5f5". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:43365] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:43365] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:44020] Error in expression. (Invalid token "#f8f8f8". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:44037] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:44037] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:44800] Error in expression. (Invalid token "#eee". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:44814] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:44814] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:48577] Error in expression. (Invalid token "#f5f5f5". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:48594] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:48594] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:49382] Error in expression. (Invalid token "#f8f8f8". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:49399] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:49399] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:52082] Error in expression. (Invalid token "rgba(". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:52151] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:52151] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:61215] Error in expression. (Invalid token "1x". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:61426] Error in expression. (Invalid token "1x". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:61646] Error in expression. (Invalid token "1x". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:61862] Error in expression. (Invalid token "1x". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:62102] Error in expression. (Invalid token "1x". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:16 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:62351] Error in expression. (Invalid token "1x". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:17 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:105103] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:17 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:105103] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:17 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:105297] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:17 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:105297] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:17 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:105467] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:17 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:105467] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:17 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:105660] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:17 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:105660] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:17 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:105972] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:17 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:105972] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:17 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:106154] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:17 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:106154] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:116676] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:116676] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:116852] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:116852] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:117845] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:117845] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:118029] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:118029] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:118214] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:118214] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:118416] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:118416] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:120502] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:120502] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:149017] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:149017] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:149273] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:149273] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:149445] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:149445] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:150029] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:150029] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:150109] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:150109] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:150160] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:150160] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:150213] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:150213] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:151455] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:151455] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:152190] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/resources/3437195615-gc-prod.css' [1:152190] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:1427] Error in style rule. (Invalid token ":". Was expecting one of: <EOF>, <S>, <NUMBER>, "inherit", <IDENT>, <STRING>, <PLUS>, <COMMA>, <HASH>, <IMPORTANT_SYM>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <DIMENSION>, <URI>, <FUNCTION>, "}", ";", "/", "-".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:1427] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:2211] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:2211] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:2551] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:2551] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:2624] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:2624] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:3202] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:3202] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:3717] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:3717] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:3777] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:3777] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:4212] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:4212] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:4976] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:4976] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:6119] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:6119] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:6354] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:6354] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:6797] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:6797] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:6954] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:6954] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:7026] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:7026] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:7368] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:7368] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:7893] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:7893] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:9055] Error in expression. (Invalid token "from(". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:9082] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:9082] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:9711] Error in expression. (Invalid token "from(". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:9738] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:9738] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:10313] Error in expression. (Invalid token "from(". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:10340] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warningWARNING: CSS warning: 'https://www.google.com/voice/#history' [2:10340] Ignoring the following declarations in this rule.Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:10845] Error in expression. (Invalid token "from(". Was expecting one of: <S>, <NUMBER>, <IDENT>, <STRING>, <PLUS>, <COMMA>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <URI>, "-", "=", ")".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler errorWARNING: CSS error: 'https://www.google.com/voice/#history' [2:10872] Error in style rule. (Invalid token "background-image". Was expecting one of: <EOF>, "}", ";".)Nov 12, 2013 3:25:18 AM com.gargoylesoftware.... [truncated message content] |
From: Ahmed A. <asa...@ya...> - 2013-11-12 09:40:16
|
Hi David, This is an issue in CSSParser, a patch has been provided in https://sourceforge.net/p/cssparser/bugs/42/ Thanks, Ahmed Ashour ________________________________ From: David Michael Gang <mic...@gm...> To: htm...@li... Sent: Monday, November 11, 2013 12:13 PM Subject: Re: [Htmlunit-user] Exception when trying to get page with htmlunit On Mon, Nov 11, 2013 at 11:11 AM, David Michael Gang <mic...@gm...> wrote: Hi, > >Thanks for your quick reply. >I changed the program and still getting errors: >package test; > >import java.io.IOException; >import java.net.MalformedURLException; > >import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException; >import com.gargoylesoftware.htmlunit.WebClient; >import com.gargoylesoftware.htmlunit.html.HtmlPage; > > > >public class Test { > public static void main(String[] args) throws FailingHttpStatusCodeException, MalformedURLException, IOException { > WebClient w = new WebClient(); > w.getOptions().setUseInsecureSSL(true); > HtmlPage p = w.getPage("https://www.sciencedirect.com/science/book/9780121346454"); > System.out.println(p.asText()); > } > > >} > > >11/11/2013 11:09:09 com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >WARNING: Obsolete content type encountered: 'text/javascript'. >11/11/2013 11:09:10 com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >WARNING: Obsolete content type encountered: 'application/x-javascript'. >11/11/2013 11:09:10 com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError >SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[https://cdn.optimizely.com/js/204774041.js] line=[31] lineSource=[null] lineOffset=[0] >null [0:0] Error in expression. (Invalid token "<EOF>". Was expecting one of: <NUMBER>, "inherit", <IDENT>, <STRING>, <PLUS>, <HASH>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <DIMENSION>, <URI>, <FUNCTION>, "-".) >11/11/2013 11:09:12 com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError >SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[2] lineSource=[null] lineOffset=[0] >11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error >WARNING: CSS error: 'http://cdn.els-cdn.com/sd/css/css_gen_v01_133aR4.css' [945:46] Error in style rule. (Invalid token "!important". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".) >11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning >WARNING: CSS warning: 'http://cdn.els-cdn.com/sd/css/css_gen_v01_133aR4.css' [945:46] Ignoring the following declarations in this rule. >... WARNING: CSS error: 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/themes/base/jquery-ui.css' [133:20] Error in style rule. (Invalid token " ". Was expecting one of: <EOF>, "}", ";".) >11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning >WARNING: CSS warning: 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/themes/base/jquery-ui.css' [133:20] Ignoring the following declarations in this rule. >11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructor >WARNING: Automation server can't create object for 'ShockwaveFlash.ShockwaveFlash'. >11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError >SEVERE: runtimeError: message=[Automation server can't create object for 'ShockwaveFlash.ShockwaveFlash'.] sourceName=[http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[24] lineSource=[null] lineOffset=[0] >11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error >WARNING: CSS error: 'http://cdn.els-cdn.com/sd/css/css_results_page_sprite_v01_133aR4.css' [766:5] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".) >11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning >WARNING: CSS warning: 'http://cdn.els-cdn.com/sd/css/css_results_page_sprite_v01_133aR4.css' [766:5] Ignoring the following declarations in this rule. >11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error >... 11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error >WARNING: CSS error: 'http://cdn.els-cdn.com/sd/css/css_pub_v01_133aR4.css' [1135:4] Error in style rule. (Invalid token "*". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".) >11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning >WARNING: CSS warning: 'http://cdn.els-cdn.com/sd/css/css_pub_v01_133aR4.css' [1135:4] Ignoring the following declarations in this rule. >11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError >SEVERE: runtimeError: message=[An invalid or illegal selector was specified (selector: '[id='ui-id-1'] ul:not(.ui-menu)' error: Invalid selector: *[id="ui-id-1"] ul:not(*.ui-menu)).] sourceName=[http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[10] lineSource=[null] lineOffset=[0] >11/11/2013 11:09:18 com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >WARNING: Obsolete content type encountered: 'application/x-javascript'. >11/11/2013 11:09:18 com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError >SEVERE: runtimeError: message=[An invalid or illegal selector was specified (selector: 'a:pdf' error: Invalid selector: a:pdf).] sourceName=[http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[10] lineSource=[null] lineOffset=[0] >Exception in thread "main" java.lang.NullPointerException > at com.steadystate.css.dom.CSSStyleDeclarationImpl.getPropertyValue(CSSStyleDeclarationImpl.java:109) > at com.gargoylesoftware.htmlunit.javascript.host.css.ComputedCSSStyleDeclaration.applyStyleFromSelector(ComputedCSSStyleDeclaration.java:225) > at com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:242) > at com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:218) > at com.gargoylesoftware.htmlunit.javascript.host.Window.getComputedStyle(Window.java:1607) > at com.gargoylesoftware.htmlunit.javascript.host.Element.getCurrentStyle(Element.java:546) > at com.gargoylesoftware.htmlunit.html.DomNode.isDisplayed(DomNode.java:712) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.isVisible(HtmlSerializer.java:377) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendText(HtmlSerializer.java:371) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:126) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendHtmlUnorderedList(HtmlSerializer.java:229) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:188) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at com.gargoylesoftware.htmlunit.html.HtmlSerializer.asText(HtmlSerializer.java:57) > at com.gargoylesoftware.htmlunit.html.DomNode.asText(DomNode.java:760) > at test.Test.main(Test.java:17) > >Thanks, >David > |
From: David M. G. <mic...@gm...> - 2013-11-11 09:13:27
|
On Mon, Nov 11, 2013 at 11:11 AM, David Michael Gang <mic...@gm...>wrote: > Hi, > > Thanks for your quick reply. > I changed the program and still getting errors: > package test; > > import java.io.IOException; > import java.net.MalformedURLException; > > import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException; > import com.gargoylesoftware.htmlunit.WebClient; > import com.gargoylesoftware.htmlunit.html.HtmlPage; > > > > public class Test { > public static void main(String[] args) throws > FailingHttpStatusCodeException, MalformedURLException, IOException { > WebClient w = new WebClient(); > w.getOptions().setUseInsecureSSL(true); > HtmlPage p = w.getPage(" > https://www.sciencedirect.com/science/book/9780121346454"); > System.out.println(p.asText()); > } > > > } > > > 11/11/2013 11:09:09 > com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify > WARNING: Obsolete content type encountered: 'text/javascript'. > 11/11/2013 11:09:10 > com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify > WARNING: Obsolete content type encountered: 'application/x-javascript'. > 11/11/2013 11:09:10 > com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError > SEVERE: runtimeError: message=[The data necessary to complete this > operation is not yet available.] sourceName=[ > https://cdn.optimizely.com/js/204774041.js] line=[31] lineSource=[null] > lineOffset=[0] > null [0:0] Error in expression. (Invalid token "<EOF>". Was expecting one > of: <NUMBER>, "inherit", <IDENT>, <STRING>, <PLUS>, <HASH>, <EMS>, <EXS>, > <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, > <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, > <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <DIMENSION>, <URI>, <FUNCTION>, "-".) > 11/11/2013 11:09:12 > com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError > SEVERE: runtimeError: message=[The data necessary to complete this > operation is not yet available.] sourceName=[ > http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[2] lineSource=[null] > lineOffset=[0] > 11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > error > WARNING: CSS error: 'http://cdn.els-cdn.com/sd/css/css_gen_v01_133aR4.css' > [945:46] Error in style rule. (Invalid token "!important". Was expecting > one of: <EOF>, <S>, <IDENT>, "}", ";".) > 11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > warning > WARNING: CSS warning: ' > http://cdn.els-cdn.com/sd/css/css_gen_v01_133aR4.css' [945:46] Ignoring > the following declarations in this rule. > ... > > WARNING: CSS error: ' > https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/themes/base/jquery-ui.css' > [133:20] Error in style rule. (Invalid token " ". Was expecting one of: > <EOF>, "}", ";".) > 11/11/2013 11:09:13 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > warning > WARNING: CSS warning: ' > https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/themes/base/jquery-ui.css' > [133:20] Ignoring the following declarations in this rule. > 11/11/2013 11:09:13 > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructor > WARNING: Automation server can't create object for > 'ShockwaveFlash.ShockwaveFlash'. > 11/11/2013 11:09:13 > com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError > SEVERE: runtimeError: message=[Automation server can't create object for > 'ShockwaveFlash.ShockwaveFlash'.] sourceName=[ > http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[24] lineSource=[null] > lineOffset=[0] > 11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > error > WARNING: CSS error: ' > http://cdn.els-cdn.com/sd/css/css_results_page_sprite_v01_133aR4.css' > [766:5] Error in style rule. (Invalid token "*". Was expecting one of: > <EOF>, <S>, <IDENT>, "}", ";".) > 11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > warning > WARNING: CSS warning: ' > http://cdn.els-cdn.com/sd/css/css_results_page_sprite_v01_133aR4.css' > [766:5] Ignoring the following declarations in this rule. > 11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > error > ... > > 11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > error > WARNING: CSS error: 'http://cdn.els-cdn.com/sd/css/css_pub_v01_133aR4.css' > [1135:4] Error in style rule. (Invalid token "*". Was expecting one of: > <EOF>, <S>, <IDENT>, "}", ";".) > 11/11/2013 11:09:17 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler > warning > WARNING: CSS warning: ' > http://cdn.els-cdn.com/sd/css/css_pub_v01_133aR4.css' [1135:4] Ignoring > the following declarations in this rule. > 11/11/2013 11:09:17 > com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError > SEVERE: runtimeError: message=[An invalid or illegal selector was > specified (selector: '[id='ui-id-1'] ul:not(.ui-menu)' error: Invalid > selector: *[id="ui-id-1"] ul:not(*.ui-menu)).] sourceName=[ > http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[10] lineSource=[null] > lineOffset=[0] > 11/11/2013 11:09:18 > com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify > WARNING: Obsolete content type encountered: 'application/x-javascript'. > 11/11/2013 11:09:18 > com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError > SEVERE: runtimeError: message=[An invalid or illegal selector was > specified (selector: 'a:pdf' error: Invalid selector: a:pdf).] sourceName=[ > http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[10] lineSource=[null] > lineOffset=[0] > Exception in thread "main" java.lang.NullPointerException > at > com.steadystate.css.dom.CSSStyleDeclarationImpl.getPropertyValue(CSSStyleDeclarationImpl.java:109) > at > com.gargoylesoftware.htmlunit.javascript.host.css.ComputedCSSStyleDeclaration.applyStyleFromSelector(ComputedCSSStyleDeclaration.java:225) > at > com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:242) > at > com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:218) > at > com.gargoylesoftware.htmlunit.javascript.host.Window.getComputedStyle(Window.java:1607) > at > com.gargoylesoftware.htmlunit.javascript.host.Element.getCurrentStyle(Element.java:546) > at > com.gargoylesoftware.htmlunit.html.DomNode.isDisplayed(DomNode.java:712) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.isVisible(HtmlSerializer.java:377) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendText(HtmlSerializer.java:371) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:126) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendHtmlUnorderedList(HtmlSerializer.java:229) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:188) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:249) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:198) > at > com.gargoylesoftware.htmlunit.html.HtmlSerializer.asText(HtmlSerializer.java:57) > at com.gargoylesoftware.htmlunit.html.DomNode.asText(DomNode.java:760) > at test.Test.main(Test.java:17) > > Thanks, > David > |
From: Ahmed A. <asa...@ya...> - 2013-11-11 08:32:16
|
Hi Nitin, This is almost as my previous code. If you save the page to a local file and see its output in real browser, you will see it didn't get the 'from'/'to'/'date' fields correctly, as it says "you need to specify" them. I believe you need to know how the website detects values inside the <input> and use HtmlUnit accordingly. Ahmed ________________________________ From: Nitin Tomer <nt...@ne...> To: Ahmed Ashour <asa...@ya...>; "htm...@li..." <htm...@li...> Sent: Sunday, November 10, 2013 8:34 PM Subject: Re: [Htmlunit-user] Not able to submit a form Hi Ahmed, I am doing it this way - HtmlForm form = (HtmlForm)searchPage.getElementById("flights-form"); if(form != null) { (form.getInputByName("MDCity_1")).setValueAttribute("Los Angeles, CA - Los Angeles Intl Airport (LAX)"); (form.getInputByName("MDCity_2")).setValueAttribute("New York City, NY - All Airports (NYC)"); (form.getInputByName("DepDateMD1")).setValueAttribute("11/15/2013"); HtmlButton searchButton = form.getElementById("air-btn-submit-retl"); searchResultPage = searchButton.click(); while(!searchResultPage.getUrl().toString().contains("airlines")) { System.out.println("Waiting!!"); Thread t = Thread.currentThread(); t.sleep(60 * 1000); searchResultPage = (HtmlPage)webClient.getCurrentWindow().getEnclosedPage(); System.out.println("Page Content: " + searchResultPage.asXml()); } It is printing a blank page every time, and is not taking me to the results page. Please suggest what I am doing wrong. Regards Nitin On Sunday, 10-11-2013 on 17:12 Ahmed Ashour wrote: Hi Nitin, > > >How do you fill the form? > > >The below doesn't work > > > > > HtmlPage page = webClient.getPage("http://www.priceline.com/flights/"); > page.<HtmlInput>getHtmlElementById("air-loc-from").setValueAttribute("Los Angeles, CA - Los Angeles Intl Airport (LAX)"); > page.<HtmlInput>getHtmlElementById("air-loc-to").setValueAttribute("New York City, NY - All Airports (NYC)"); > page.<HtmlInput>getHtmlElementById("return-date").setValueAttribute("12/01/2013"); > HtmlPage page2 = page.getHtmlElementById("air-submit-btn").click(); > > >Ahmed > >________________________________ > From: Nitin Tomer <nt...@ne...> >To: htm...@li... >Sent: Wednesday, November 6, 2013 4:39 PM >Subject: [Htmlunit-user] Not able to submit a form > > >Hi, > >I am trying to submit a form on this link - >http://www.priceline.com/flights/ > >I am giving values - from (LAX), to (NYC) and date as 07-Nov-2013. It is >giving me results when I do it by browser but returns the same page when I >try this with HtmlUnit. I saw that the form had this tag - > ><form class="searchform" pclnform="1" fmproduct="flights" >data-section="FlightsForm" Xaction="/qp.asp" method="POST"> > >The button tag is - > ><button id="air-submit-btn" class="button primary medium" type="submit" >value="retl">Search Flights</button> > >Why is this form not being submitted? Is it because the form has an xaction >instead of action? Please help. > >Regards > >Nitin > > > > |
From: Ahmed A. <asa...@ya...> - 2013-11-11 08:30:36
|
Hi David, Use w.getOptions().setUseInsecureSSL(true); Yours, Ahmed ________________________________ From: David Michael Gang <mic...@gm...> To: htm...@li... Sent: Monday, November 11, 2013 11:19 AM Subject: Re: [Htmlunit-user] exception when trying to get page with htmlunit On Mon, Nov 11, 2013 at 9:59 AM, David Michael Gang <mic...@gm...> wrote: Hi, > >I tried with the latest snapshot from >http://build.canoo.com/htmlunit/artifacts/ > >public static void main(String[] args) throws FailingHttpStatusCodeException, MalformedURLException, IOException { > WebClient w = new WebClient(); > HtmlPage p = w.getPage("https://www.sciencedirect.com/science/book/9780121346454"); > System.out.println(p.asText()); > } > > >and get the error messages (shortened exception stack): >11/11/2013 09:55:18 com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >WARNING: Obsolete content type encountered: 'text/javascript'. >11/11/2013 09:55:18 com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >WARNING: Obsolete content type encountered: 'application/x-javascript'. >11/11/2013 09:55:18 com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError >SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[https://cdn.optimizely.com/js/204774041.js] line=[31] lineSource=[null] lineOffset=[0] > >null [0:0] Error in expression. (Invalid token "<EOF>". Was expecting one of: <NUMBER>, "inherit", <IDENT>, <STRING>, <PLUS>, <HASH>, <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <PERCENTAGE>, <DIMENSION>, <URI>, <FUNCTION>, "-".) > 11/11/2013 09:55:21 com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError >SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[2] lineSource=[null] lineOffset=[0] >11/11/2013 09:55:21 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error >WARNING: CSS error: 'http://cdn.els-cdn.com/sd/css/css_gen_v01_133aR4.css' [945:46] Error in style rule. (Invalid token "!important". Was expecting one of: <EOF>, <S>, <IDENT>, "}", ";".) >... WARNING: Automation server can't create object for 'ShockwaveFlash.ShockwaveFlash'. >11/11/2013 09:55:22 com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError >SEVERE: runtimeError: message=[Automation server can't create object for 'ShockwaveFlash.ShockwaveFlash'.] sourceName=[http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[24] lineSource=[null] lineOffset=[0] >11/11/2013 09:55:23 com.gargoylesoftware.htmlunit.html.BaseFrameElement loadInnerPageIfPossible >SEVERE: IOException when getting content for iframe: url=[https://acw.scopus.com/SSOCore/update?acw=61d5d88a1164241502b86549eb96594e1fe0521%7C%24%7CJaYnPDv2odsjkuRTDTxw4aRRMXBZiJ8Mr3nxjU06KnmV2KWzVYCF9l%2FJd6PrZZXDpLLlYpMRbbWjmt81zQFCVK2W%2F%2B9o4%2Fzy] >javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174) > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1747) > ... > at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) > at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:167) > at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1281) > at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1198) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:307) > at com.gargoylesoftware.htmlunit.html.BaseFrameElement.loadInnerPageIfPossible(BaseFrameElement.java:174) > at com.gargoylesoftware.htmlunit.html.BaseFrameElement.loadInnerPage(BaseFrameElement.java:112) > at com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1880) > at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:232) > at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:444) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:311) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:376) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:361) > at test.Test.main(Test.java:15) >Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:323) > at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:217) > at sun.security.validator.Validator.validate(Validator.java:218) > at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126) > at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209) > at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249) > at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1188) > ... 29 more >Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174) > at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238) > at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:318) > ... 35 more >11/11/2013 09:55:23 com.gargoylesoftware.htmlunit.html.BaseFrameElement loadInnerPageIfPossible >SEVERE: IOException when getting content for iframe: url=[https://acw.sciverse.com/SSOCore/update?acw=61d5d88a1164241502b86549eb96594e1fe0521%7C%24%7CJaYnPDv2odsjkuRTDTxw4aRRMXBZiJ8Mr3nxjU06KnmV2KWzVYCF9l%2FJd6PrZZXDpLLlYpMRbbWjmt81zQFCVK2W%2F%2B9o4%2Fzy] >javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174) > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1747) > .... > at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:167) > at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1281) > at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1198) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:307) > at com.gargoylesoftware.htmlunit.html.BaseFrameElement.loadInnerPageIfPossible(BaseFrameElement.java:174) > at com.gargoylesoftware.htmlunit.html.BaseFrameElement.loadInnerPage(BaseFrameElement.java:112) > at com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1880) > at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:232) > at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:444) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:311) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:376) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:361) > at test.Test.main(Test.java:15) >Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:323) > at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:217) > at sun.security.validator.Validator.validate(Validator.java:218) > at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126) > at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209) > at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249) > at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1188) > ... 29 more >Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174) > at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238) > at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:318) > ... 35 more >11/11/2013 09:55:24 com.gargoylesoftware.htmlunit.html.BaseFrameElement loadInnerPageIfPossible >SEVERE: IOException when getting content for iframe: url=[https://acw.elsevier.com/SSOCore/update?acw=61d5d88a1164241502b86549eb96594e1fe0521%7C%24%7CJaYnPDv2odsjkuRTDTxw4aRRMXBZiJ8Mr3nxjU06KnmV2KWzVYCF9l%2FJd6PrZZXDpLLlYpMRbbWjmt81zQFCVK2W%2F%2B9o4%2Fzy] >javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174) > ... > at com.gargoylesoftware.htmlunit.HtmlUnitSSLSocketFactory.connectSocket(HtmlUnitSSLSocketFactory.java:153) > at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:178) > at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304) > at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610) > at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445) > at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) > at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) > at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:167) > at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1281) > at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1198) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:307) > at com.gargoylesoftware.htmlunit.html.BaseFrameElement.loadInnerPageIfPossible(BaseFrameElement.java:174) > at com.gargoylesoftware.htmlunit.html.BaseFrameElement.loadInnerPage(BaseFrameElement.java:112) > at com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1880) > at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:232) > at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:444) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:311) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:376) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:361) > at test.Test.main(Test.java:15) >Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:323) > at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:217) > at sun.security.validator.Validator.validate(Validator.java:218) > at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126) > at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209) > at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249) > at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1188) > ... 29 more >Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174) > at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238) > at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:318) > ... 35 more >11/11/2013 09:55:24 com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error >... 11/11/2013 09:55:24 com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError >SEVERE: runtimeError: message=[An invalid or illegal selector was specified (selector: '[id='ui-id-1'] ul:not(.ui-menu)' error: Invalid selector: *[id="ui-id-1"] ul:not(*.ui-menu)).] sourceName=[http://cdn.els-cdn.com/sd/js/sdX_133aR4.js] line=[10] lineSource=[null] lineOffset=[0] >11/11/2013 09:55:24 com.gargoylesoftware.htmlunit.html.HtmlPage loadExternalJavaScriptFile >SEVERE: Error loading JavaScript from [https://cdn.els-cdn.com/sd/js/adobe/s_code_131.js]. >javax.net.ssl.SSLException: hostname in certificate didn't match: <cdn.els-cdn.com> != <a248.e.akamai.net> OR <*.akamaihd.net> OR <*.akamaihd-staging.net> OR <a248.e.akamai.net> > at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:231) > at org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54) > ... > at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:265) > at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:444) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:311) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:376) > at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:361) > at test.Test.main(Test.java:15) > >Exception in thread "main" java.lang.NullPointerException > at com.steadystate.css.dom.CSSStyleDeclarationImpl.getPropertyValue(CSSStyleDeclarationImpl.java:109) > at com.gargoylesoftware.htmlunit.javascript.host.css.ComputedCSSStyleDeclaration.applyStyleFromSelector(ComputedCSSStyleDeclaration.java:225) > at com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:242) > at com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:218) > at com.gargoylesoftware.htmlunit.javascript.host.Window.getComputedStyle(Window.java:1607) ,,, > > at com.gargoylesoftware.htmlunit.html.DomNode.asText(DomNode.java:760) > at test.Test.main(Test.java:16) > > ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |