MobileSheets Forums

Full Version: Sync to folder fails on missing files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 .
I have a bug fix in place for this now - thanks.

Mike