MyException - 我的异常网
当前位置:我的异常网» Java Web开发 » []Java获取QQ邮箱联系人,报错.

[]Java获取QQ邮箱联系人,报错.(2)

www.MyException.Cn  网友分享于:2013-01-20  浏览:267次


java.lang.IllegalArgumentException: host parameter is null
at org.apache.commons.httpclient.HttpConnection.setHost(HttpConnection.java:249)
at org.apache.commons.httpclient.SimpleHttpConnectionManager.getConnectionWithTimeout(SimpleHttpConnectionManager.java:189)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at com.agileeagle.app.invite.importlist.email.EmailImporter.doGet(EmailImporter.java:223)
at com.agileeagle.app.invite.importlist.email.QQImporter.parseContacts(QQImporter.java:162)
at com.agileeagle.app.invite.importlist.email.EmailImporter.getContacts(EmailImporter.java:93)
at com.agileeagle.app.invite.importlist.Test.main(Test.java:28)


------解决方案--------------------
at com.agileeagle.app.invite.importlist.email.EmailImporter.doGet(EmailImporter.java:223)
这行之前做了什么操作

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有