MobileSheets Forums
Sync to folder fails on missing files - Printable Version

+- MobileSheets Forums (https://www.zubersoft.com/mobilesheets/forum)
+-- Forum: Support (https://www.zubersoft.com/mobilesheets/forum/forum-1.html)
+--- Forum: MobileSheets (Android) (https://www.zubersoft.com/mobilesheets/forum/forum-23.html)
+--- Thread: Sync to folder fails on missing files (/thread-4799.html)



Sync to folder fails on missing files - sciurius - 08-06-2018

A library with 2 songs, both with a missing file, is synched to a drive folder.
A device that also has these songs, but with files, synchs to this drive folder, updating device.
The synch crashes when MSPro tries to compare the file to the missing one:
Code:
java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String group.pals.android.lib.ui.filechooser.a.c.getName()' on a null object reference
       at com.zubersoft.mobilesheetspro.synclibrary.ap.b(FolderMerger.java:115)
       at com.zubersoft.mobilesheetspro.synclibrary.ap.a(FolderMerger.java:881)
       at com.zubersoft.mobilesheetspro.synclibrary.ap.a(FolderMerger.java:552)
       at com.zubersoft.mobilesheetspro.synclibrary.ba.a(LibraryMerger.java:563)
       at com.zubersoft.mobilesheetspro.synclibrary.ba.w(LibraryMerger.java:331)
       at com.zubersoft.mobilesheetspro.synclibrary.ap.a(FolderMerger.java:1628)
       at com.zubersoft.mobilesheetspro.synclibrary.SyncToFolderActivity.q(SyncToFolderActivity.java:397)
       at com.zubersoft.mobilesheetspro.synclibrary.SyncToFolderActivity$a.a(SyncToFolderActivity.java:369)
       at com.zubersoft.mobilesheetspro.synclibrary.SyncToFolderActivity$a.doInBackground(SyncToFolderActivity.java:343)
       at android.os.AsyncTask$2.call(AsyncTask.java:333)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
       at java.lang.Thread.run(Thread.java:764)

It is understandable, but also avoidable Smile .


RE: Sync to folder fails on missing files - Zubersoft - 08-12-2018

I have a bug fix in place for this now - thanks.

Mike