• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sync to folder fails on missing files
#1
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 .
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply
#2
I have a bug fix in place for this now - thanks.

Mike
Reply




Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.