github201407 / contactlistimporter

Automatically exported from code.google.com/p/contactlistimporter
1 stars 0 forks source link

ContactListImporter 1.2 not working for Hotmail and Yahoo #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have used ContactListImporter-v1.2.zip for importing the contact list 
from gmail, 
yahoo and hotmail. The code works fine for gmail but for yahoo and 
hotmail...it 
gives the following exception...Could you please help..

For hotmail
-----------
Oct 30, 2008 10:29:24 AM 
com.xdatasystem.contactsimporter.ContactListImporterImpl 
getContactList
INFO: Performing login
Oct 30, 2008 10:29:24 AM 
com.xdatasystem.contactsimporter.hotmail.HotmailImporter 
login
INFO: Requesting login page
Oct 30, 2008 10:29:24 AM org.apache.catalina.core.StandardWrapperValve 
invoke
SEVERE: Servlet.service() for servlet ContactImporter threw exception
java.lang.NullPointerException
    at pkgContactImporter.ContactImporter.copyContacts
(ContactImporter.java:45)
    at pkgContactImporter.ContactImporter.doGet
(ContactImporter.java:20)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:263)
    at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:844)
    at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
(Http11Protocol.java:584)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run
(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)

For yahoo
-----------
Oct 30, 2008 10:30:27 AM 
com.xdatasystem.contactsimporter.ContactListImporterImpl 
getContactList
INFO: Performing login
Oct 30, 2008 10:30:29 AM 
com.xdatasystem.contactsimporter.ContactListImporterImpl 
getContactList
INFO: Login succeeded
Oct 30, 2008 10:30:29 AM 
com.xdatasystem.contactsimporter.ContactListImporterImpl 
getAndParseContacts
INFO: Retrieving contactlist
Oct 30, 2008 10:30:29 AM org.apache.catalina.core.StandardWrapperValve 
invoke
SEVERE: Servlet.service() for servlet ContactImporter threw exception
java.lang.NullPointerException
    at pkgContactImporter.ContactImporter.copyContacts
(ContactImporter.java:45)
    at pkgContactImporter.ContactImporter.doGet
(ContactImporter.java:20)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:263)
    at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:844)
    at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
(Http11Protocol.java:584)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run
(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)

Original issue reported on code.google.com by paggarwa...@gmail.com on 30 Oct 2008 at 5:01

GoogleCodeExporter commented 9 years ago
If you look at your stacktrace you see that the NullPointerException is thrown 
in:

pkgContactImporter.ContactImporter.copyContacts

The package pkgContactImporter is not part of the contactlistimporter software 
on 
this website.
If you wrote the class pkgContactImporter.ContactImporter yourself you have a 
problem 
in that class, the exception comes clearly from that class.

So please look into your code.

Original comment by tje...@gmail.com on 30 Oct 2008 at 11:59