java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String androidx.documentfile.provider.DocumentFile.getName()' on a null object reference
at com.amaze.filemanager.filesystem.HybridFile.getName(HybridFile.java:484)
at com.amaze.filemanager.filesystem.HybridFileParcelable.getName(HybridFileParcelable.java:116)
at com.amaze.filemanager.asynchronous.asynctasks.movecopy.PreparePasteTask$checkConflicts$1$1.onFileFound(PreparePasteTask.kt:184)
at com.amaze.filemanager.utils.OTGUtil.getDocumentFiles(OTGUtil.kt:139)
at com.amaze.filemanager.filesystem.HybridFile.forEachChildrenFile(HybridFile.java:1031)
at com.amaze.filemanager.asynchronous.asynctasks.movecopy.PreparePasteTask$checkConflicts$1.invokeSuspend(PreparePasteTask.kt:178)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@44db97, Dispatchers.Default]
Issue explanation (write below this line)
Exception
Crash log
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String androidx.documentfile.provider.DocumentFile.getName()' on a null object reference at com.amaze.filemanager.filesystem.HybridFile.getName(HybridFile.java:484) at com.amaze.filemanager.filesystem.HybridFileParcelable.getName(HybridFileParcelable.java:116) at com.amaze.filemanager.asynchronous.asynctasks.movecopy.PreparePasteTask$checkConflicts$1$1.onFileFound(PreparePasteTask.kt:184) at com.amaze.filemanager.utils.OTGUtil.getDocumentFiles(OTGUtil.kt:139) at com.amaze.filemanager.filesystem.HybridFile.forEachChildrenFile(HybridFile.java:1031) at com.amaze.filemanager.asynchronous.asynctasks.movecopy.PreparePasteTask$checkConflicts$1.invokeSuspend(PreparePasteTask.kt:178) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@44db97, Dispatchers.Default]
Reporter: Abujarona