google app engine - GAE and HtmlUnit 2.9 - getting exception upon jsxGet_cookie -



google app engine - GAE and HtmlUnit 2.9 - getting exception upon jsxGet_cookie -

i'm trying login google using htmlunit in app in gae. however, maintain getting error:

exception invoking jsxget_cookie

which because

caused by: java.lang.illegalargumentexception: invalid port: -1 @ org.apache.http.cookie.cookieorigin.<init>(cookieorigin.java:58) @ com.gargoylesoftware.htmlunit.cookiemanager.getcookies(cookiemanager.java:127) @ com.gargoylesoftware.htmlunit.javascript.host.html.htmldocument.jsxget_cookie(htmldocument.java:638) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:616) @ com.google.appengine.tools.development.agent.runtime.runtime.invoke(runtime.java:100) @ net.sourceforge.htmlunit.corejs.javascript.memberbox.invoke(memberbox.java:172) ... 94 more

this occurs when running in gae , in computer.

has ever seen kind of error before? how can alter default port? there workarounds?

change url fetching include default port 80. example: http://www.cnn.com becomes http://www.cnn.com:80. there's workaround involving overriding classes prefer clarify url.

google-app-engine htmlunit

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -