kotlin.UninitializedPropertyAccessException: lateinit property
compressedFile has not been initialized
at
com.amaze.filemanager.ui.fragments.CompressedExplorerFragment.getCompressedFile(CompressedExplorerFragment.kt:96)
at
com.amaze.filemanager.ui.fragments.CompressedExplorerFragment.onSaveInstanceState(CompressedExplorerFragment.kt:341)
at
androidx.fragment.app.Fragment.performSaveInstanceState(Fragment.java:3183)
at
androidx.fragment.app.FragmentStateManager.saveBasicState(FragmentStateManager.java:680)
at
androidx.fragment.app.FragmentStateManager.saveState(FragmentStateManager.java:646)
at
androidx.fragment.app.FragmentStore.saveActiveFragments(FragmentStore.java:214)
at
androidx.fragment.app.FragmentManager.saveAllStateInternal(FragmentManager.java:2318)
at
androidx.fragment.app.FragmentManager.lambda$attachController$0(FragmentManager.java:2572)
at
androidx.fragment.app.FragmentManager.$r8$lambda$XfPeDpLzKWrJr916TDyhue4S3eM(Unknown
Source:0)
at
androidx.fragment.app.FragmentManager$$ExternalSyntheticLambda0.saveState(Unknown
Source:2)
at
androidx.savedstate.SavedStateRegistry.performSave(SavedStateRegistry.java:227)
at
androidx.savedstate.SavedStateRegistryController.performSave(SavedStateRegistryController.java:74)
at
androidx.activity.ComponentActivity.onSaveInstanceState(ComponentActivity.java:338)
at
com.amaze.filemanager.ui.activities.MainActivity.onSaveInstanceState(MainActivity.java:1292)
at android.app.Activity.performSaveInstanceState(Activity.java:1550)
at
android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1444)
at
android.app.ActivityThread.callActivityOnSaveInstanceState(ActivityThread.java:4849)
at android.app.ActivityThread.callActivityOnStop(ActivityThread.java:4196)
at
android.app.ActivityThread.performStopActivityInner(ActivityThread.java:4160)
at android.app.ActivityThread.handleStopActivity(ActivityThread.java:4235)
at
android.app.servertransaction.StopActivityItem.execute(StopActivityItem.java:41)
at
android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
at
android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1817)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6746)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Issue explanation (write below this line)
Exception
Crash log