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
Getting Run Time Exception on Android 11 #66
Comments
Could you provide some more information when/how this is happening?
|
Yeah when app in background user tap on widget it's happening. |
Doctor summary (to see all details, run flutter doctor -v): • No issues found! |
home_widget: ^0.1.3 Platform: Android |
Is this possible a similar issue as #74 ? If so I would expect that the error message is now different to what you had in the your original issue? |
I'm encountering a similar crash that was reported on Stack Overflow two days ago (link: https://stackoverflow.com/questions/76040745/homewidgetbackgroundservice-error-using-es-antonborri). It appears to be a recurring issue. Upon further investigation, it seems that the problem may be related to |
Is this still an issue? |
Im currently having this issue and are not able to fix the problem that is causing the crash. Check my implementation with the documentation I think I have implemented it correctly. |
Still appears, it seems the exception is due to the call of
/cc @ABausG |
@firstmetcs what version of home_widget are you on and which Android Version does this appear with? i recently build a new example for interactivity using |
Hi! I'm making a contribution about this error. |
Fatal Exception: java.lang.RuntimeException: Unable to create service es.antonborri.home_widget.HomeWidgetBackgroundService: java.lang.NullPointerException: Attempt to read from field 'java.lang.String io.flutter.view.FlutterCallbackInformation.callbackLibraryPath' on a null object reference
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4673)
at android.app.ActivityThread.access$1700(ActivityThread.java:301)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2196)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8653)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
The text was updated successfully, but these errors were encountered: