Fatal exception SIG: 9 on Android
See original GitHub issueWhen saving an image, this null pointer exception kills the app. Android, latest version of this package.
E/AndroidRuntime(16565): FATAL EXCEPTION: main
E/AndroidRuntime(16565): Process: com.marco.faceroom_test2, PID: 16565
E/AndroidRuntime(16565): java.lang.NullPointerException
E/AndroidRuntime(16565): at carnegietechnologies.gallery_saver.GallerySaver.finishWithSuccess(GallerySaver.kt:77)
E/AndroidRuntime(16565): at carnegietechnologies.gallery_saver.GallerySaver.access$finishWithSuccess(GallerySaver.kt:16)
E/AndroidRuntime(16565): at carnegietechnologies.gallery_saver.GallerySaver$saveMediaFile$1.invokeSuspend(GallerySaver.kt:72)
E/AndroidRuntime(16565): at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
E/AndroidRuntime(16565): at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
E/AndroidRuntime(16565): at android.os.Handler.handleCallback(Handler.java:938)
E/AndroidRuntime(16565): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(16565): at android.os.Looper.loop(Looper.java:223)
E/AndroidRuntime(16565): at android.app.ActivityThread.main(ActivityThread.java:7664)
E/AndroidRuntime(16565): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(16565): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/AndroidRuntime(16565): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
I/Process (16565): Sending signal. PID: 16565 SIG: 9
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
E/AndroidRuntime: FATAL EXCEPTION: main Process: com ...
The first thing you should do is use androidx.constraintlayout.widget.ConstraintLayout instead of android.support.constraint.ConstraintLayout , ...
Read more >Crashes - Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >App crashes when I attempt to run it! (Example) - Treehouse
I got the following error messages in logcat: 10-06 13:23:09.490 ... FATAL EXCEPTION: main Process: com.example.alexander.funfacts, ...
Read more >Bug - Native crash of /Fatal AndroidRuntime Exception detected
FATAL EXCEPTION : main. Process: com.google.android.googlequicksearchbox:interactor, PID: 1502. This is all there is.
Read more >App is randomly crashing due to com.zipow.videobox.share ...
By going through all the logs I was able to find this critical error: ... FATAL EXCEPTION: main Process: com.myapp, PID: 18895 android.app....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lecicdjuro Regret to inform that the problem is still the same.
Log
I’m trying to save this file
/data/user/0/com.marco.my_app/app_flutter/FaceRoom/Images/f0d96875248f760ef4664921bf77b409.jpeg
Flutter doctor
I’m using gallery_saver ^2.3.2. Please let me know if I can provide more useful information. As I said, unfortunately this makes the entire app crash, so at the moment this package is not usable.
Same issue here. It still happening on gallery_saver 2.3.2. In my app, this issue has 15 crash events affecting 9 users according to crashlytics.