Piergiorgio Lucidi created CONNECTORS-757: ---------------------------------------------
Summary: NPE crawling with the GoogleDrive Connector Key: CONNECTORS-757 URL: https://issues.apache.org/jira/browse/CONNECTORS-757 Project: ManifoldCF Issue Type: Bug Components: GoogleDrive connector Affects Versions: ManifoldCF 1.2 Reporter: Piergiorgio Lucidi Fix For: ManifoldCF 1.3 Trying to use the GoogleDrive connector with my personal account ManifoldCF returns the following exception: {code} FATAL 2013-07-22 17:01:30,838 (Worker thread '8') - Error tossed: null java.lang.NullPointerException at org.apache.manifoldcf.crawler.connectors.googledrive.GoogleDriveRepositoryConnector.processDocuments(GoogleDriveRepositoryConnector.java:1064) at org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.processDocuments(BaseRepositoryConnector.java:423) at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:559) {code} It seems that the following instruction is causing the issue: {code} // Get the file length long fileLength = googleFile.getFileSize(); {code} Some files maybe doesn't have size, probably I have many different types of contents in my Drive account and I didn't changed the default query. But I think that should be fixed anyway. What do you think? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira