Thanks for the Awesome work on this and making this available.
We can see that there are many crashes, all on Samsung devices.
Crash:
io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException:
at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept (Functions.java:717)
at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept (Functions.java:714)
at io.reactivex.rxjava3.internal.observers.LambdaObserver.onError (LambdaObserver.java:77)
at io.reactivex.rxjava3.internal.observers.LambdaObserver.onNext (LambdaObserver.java:67)
at io.reactivex.rxjava3.internal.operators.observable.ObservableFlatMap$MergeObserver.tryEmit (ObservableFlatMap.java:256)
at io.reactivex.rxjava3.internal.operators.observable.ObservableFlatMap$InnerObserver.onNext (ObservableFlatMap.java:523)
at io.reactivex.rxjava3.observers.SerializedObserver.onNext (SerializedObserver.java:113)
at io.reactivex.rxjava3.internal.operators.observable.ObservableConcatMap$SourceObserver$InnerObserver.onNext (ObservableConcatMap.java:250)
at io.reactivex.rxjava3.subjects.PublishSubject$PublishDisposable.onNext (PublishSubject.java:310)
at io.reactivex.rxjava3.subjects.PublishSubject.onNext (PublishSubject.java:226)
at com.tbruyelle.rxpermissions3.RxPermissionsFragment.onRequestPermissionsResult (RxPermissionsFragment.java:69)
at com.tbruyelle.rxpermissions3.RxPermissionsFragment.onRequestPermissionsResult (RxPermissionsFragment.java:54)
at androidx.fragment.app.FragmentActivity.onRequestPermissionsResult (FragmentActivity.java:768)
at android.app.Activity.dispatchRequestPermissionsResult (Activity.java:8733)
at android.app.Activity.dispatchActivityResult (Activity.java:8554)
at android.app.ActivityThread.deliverResults (ActivityThread.java:5572)
at android.app.ActivityThread.handleSendResult (ActivityThread.java:5620)
at android.app.servertransaction.ActivityResultItem.execute (ActivityResultItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2325)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:246)
at android.app.ActivityThread.main (ActivityThread.java:8633)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
Caused by: java.lang.NullPointerException:
at com.zynksoftware.documentscanner.ui.camerascreen.CameraScreenFragment.startCamera (CameraScreenFragment.kt:147)
at com.zynksoftware.documentscanner.ui.camerascreen.CameraScreenFragment.access$startCamera (CameraScreenFragment.kt:44)
at com.zynksoftware.documentscanner.ui.camerascreen.CameraScreenFragment$checkForCameraPermissions$1.accept (CameraScreenFragment.kt:116)
at com.zynksoftware.documentscanner.ui.camerascreen.CameraScreenFragment$checkForCameraPermissions$1.accept (CameraScreenFragment.kt:44)
at io.reactivex.rxjava3.internal.observers.LambdaObserver.onNext (LambdaObserver.java:63)
java.lang.IllegalStateException:
at androidx.fragment.app.FragmentManager.checkStateLoss (FragmentManager.java:1703)
at androidx.fragment.app.FragmentManager.ensureExecReady (FragmentManager.java:1806)
at androidx.fragment.app.FragmentManager.execPendingActions (FragmentManager.java:1855)
at androidx.fragment.app.FragmentManager.popBackStackImmediate (FragmentManager.java:653)
at androidx.fragment.app.FragmentManager.popBackStackImmediate (FragmentManager.java:608)
at com.zynksoftware.documentscanner.ui.scan.InternalScanActivity$compressFiles$1$6.run (InternalScanActivity.kt:166)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:246)
at android.app.ActivityThread.main (ActivityThread.java:8544)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
Hi
Thanks for the Awesome work on this and making this available.
We can see that there are many crashes, all on Samsung devices.
Crash:
io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException: at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept (Functions.java:717) at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept (Functions.java:714) at io.reactivex.rxjava3.internal.observers.LambdaObserver.onError (LambdaObserver.java:77) at io.reactivex.rxjava3.internal.observers.LambdaObserver.onNext (LambdaObserver.java:67) at io.reactivex.rxjava3.internal.operators.observable.ObservableFlatMap$MergeObserver.tryEmit (ObservableFlatMap.java:256) at io.reactivex.rxjava3.internal.operators.observable.ObservableFlatMap$InnerObserver.onNext (ObservableFlatMap.java:523) at io.reactivex.rxjava3.observers.SerializedObserver.onNext (SerializedObserver.java:113) at io.reactivex.rxjava3.internal.operators.observable.ObservableConcatMap$SourceObserver$InnerObserver.onNext (ObservableConcatMap.java:250) at io.reactivex.rxjava3.subjects.PublishSubject$PublishDisposable.onNext (PublishSubject.java:310) at io.reactivex.rxjava3.subjects.PublishSubject.onNext (PublishSubject.java:226) at com.tbruyelle.rxpermissions3.RxPermissionsFragment.onRequestPermissionsResult (RxPermissionsFragment.java:69) at com.tbruyelle.rxpermissions3.RxPermissionsFragment.onRequestPermissionsResult (RxPermissionsFragment.java:54) at androidx.fragment.app.FragmentActivity.onRequestPermissionsResult (FragmentActivity.java:768) at android.app.Activity.dispatchRequestPermissionsResult (Activity.java:8733) at android.app.Activity.dispatchActivityResult (Activity.java:8554) at android.app.ActivityThread.deliverResults (ActivityThread.java:5572) at android.app.ActivityThread.handleSendResult (ActivityThread.java:5620) at android.app.servertransaction.ActivityResultItem.execute (ActivityResultItem.java:51) at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2325) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loop (Looper.java:246) at android.app.ActivityThread.main (ActivityThread.java:8633) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130) Caused by: java.lang.NullPointerException: at com.zynksoftware.documentscanner.ui.camerascreen.CameraScreenFragment.startCamera (CameraScreenFragment.kt:147) at com.zynksoftware.documentscanner.ui.camerascreen.CameraScreenFragment.access$startCamera (CameraScreenFragment.kt:44) at com.zynksoftware.documentscanner.ui.camerascreen.CameraScreenFragment$checkForCameraPermissions$1.accept (CameraScreenFragment.kt:116) at com.zynksoftware.documentscanner.ui.camerascreen.CameraScreenFragment$checkForCameraPermissions$1.accept (CameraScreenFragment.kt:44) at io.reactivex.rxjava3.internal.observers.LambdaObserver.onNext (LambdaObserver.java:63)
java.lang.IllegalStateException: at androidx.fragment.app.FragmentManager.checkStateLoss (FragmentManager.java:1703) at androidx.fragment.app.FragmentManager.ensureExecReady (FragmentManager.java:1806) at androidx.fragment.app.FragmentManager.execPendingActions (FragmentManager.java:1855) at androidx.fragment.app.FragmentManager.popBackStackImmediate (FragmentManager.java:653) at androidx.fragment.app.FragmentManager.popBackStackImmediate (FragmentManager.java:608) at com.zynksoftware.documentscanner.ui.scan.InternalScanActivity$compressFiles$1$6.run (InternalScanActivity.kt:166) at android.os.Handler.handleCallback (Handler.java:938) at android.os.Handler.dispatchMessage (Handler.java:99) at android.os.Looper.loop (Looper.java:246) at android.app.ActivityThread.main (ActivityThread.java:8544) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
Could you possibly look into this?
Kind Regards, Piyush Singla