GAEのアプリでHtmlUnitを使用してGoogleにログインしようとしています。GAEとHtmlUnit 2.9 - jsxGet_cookieで例外が発生する
Exception invoking jsxGet_cookie
あるので
Caused by: java.lang.IllegalArgumentException: Invalid port: -1
at org.apache.http.cookie.CookieOrigin.<init>(CookieOrigin.java:58)
at com.gargoylesoftware.htmlunit.CookieManager.getCookies(CookieManager.java:127)
at com.gargoylesoftware.htmlunit.javascript.host.html.HTMLDocument.jsxGet_cookie(HTMLDocument.java:638)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:100)
at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:172)
... 94 more
GAEで、私のコンピュータで実行している場合に発生: はしかし、私はこのエラーを得続けます。
誰もこの種のエラーを以前に見たことがありますか? デフォルトのポートはどのように変更できますか? 回避策はありますか?
実際のコードを見ずにどのように伝えるべきですか? –