Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
ManifoldCF 1.2
-
None
Description
Trying to use the GoogleDrive connector with my personal account ManifoldCF returns the following exception:
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)
It seems that the following instruction is causing the issue:
// Get the file length long fileLength = googleFile.getFileSize();
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?