Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing on stop #50

Closed
robertlevonyan opened this issue Dec 14, 2020 · 1 comment
Closed

Crashing on stop #50

robertlevonyan opened this issue Dec 14, 2020 · 1 comment
Labels
No template Issue template was not filled in

Comments

@robertlevonyan
Copy link

robertlevonyan commented Dec 14, 2020

Description
The app is crashing from your library. The crashlog is from Firebase Crashlytics

Log

Fatal Exception: java.lang.RuntimeException: Unable to stop service com.hbisoft.hbrecorder.ScreenRecordService@bf32d6: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.projection.MediaProjection.stop()' on a null object reference
       at android.app.ActivityThread.handleStopService(ActivityThread.java:4137)
       at android.app.ActivityThread.access$1900(ActivityThread.java:220)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1897)
       at android.os.Handler.dispatchMessage(Handler.java:107)
       at android.os.Looper.loop(Looper.java:214)
       at android.app.ActivityThread.main(ActivityThread.java:7397)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)

It cannot be reproduced, because I don't have those devices.

HBRecorder version: 0.1.14

Device information
Nokia N9 - Android SDK 28

@HBiSoft HBiSoft added the No template Issue template was not filled in label Dec 15, 2020
@HBiSoft
Copy link
Owner

HBiSoft commented Dec 15, 2020

Please see Always fill in the issue template

@HBiSoft HBiSoft closed this as completed Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No template Issue template was not filled in
Projects
None yet
Development

No branches or pull requests

2 participants