flutterlocation icon indicating copy to clipboard operation
flutterlocation copied to clipboard

Caused by java.lang.NullPointerException Attempt to invoke virtual method 'io.flutter.plugin.common.PluginRegistry$RequestPermissionsResultListener com.lyokone.location.FlutterLocationService.h()' on a null object reference com.lyokone.location.LocationPlugin.dispose

Open ankitsaini12 opened this issue 4 years ago • 7 comments

Describe the bug com.lyokone.location.LocationPlugin.dispose (LocationPlugin.java:117) com.lyokone.location.LocationPlugin.detachActivity (LocationPlugin.java:56) com.lyokone.location.LocationPlugin.onDetachedFromActivityForConfigChanges (LocationPlugin.java:74) io.flutter.embedding.engine.FlutterEngineConnectionRegistry.detachFromActivityForConfigChanges (FlutterEngineConnectionRegistry.java:375) io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onDetach (FlutterActivityAndFragmentDelegate.java:630) io.flutter.embedding.android.FlutterActivity.release (FlutterActivity.java:622) io.flutter.embedding.android.FlutterActivity.onDestroy (FlutterActivity.java:643)

ankitsaini12 avatar Dec 17 '21 06:12 ankitsaini12

@ankitsaini12 Did we get any update on this issue?

ravitejaavv avatar Dec 29 '21 09:12 ravitejaavv

No

On Wed, Dec 29, 2021 at 3:01 PM RaviTeja Aketi @.***> wrote:

@ankitsaini12 https://github.com/ankitsaini12 Did we get any update on this issue?

— Reply to this email directly, view it on GitHub https://github.com/Lyokone/flutterlocation/issues/674#issuecomment-1002481958, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGZA6ETNWWNDJHWZ6OVJ4TUTLIPHANCNFSM5KICMAZA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

--

Thanks and Regards,

Ankit Saini | Software Engineer |

+91 9929954237 | Skype Id - ankitsaini1210

ankitsaini12 avatar Dec 29 '21 10:12 ankitsaini12

I've got the same issue when the app loose focus, for example, in-app purchase screen starts

daria-ost-embrox avatar Jan 31 '22 14:01 daria-ost-embrox

Any update on this issue? I also have this problem on 4.3.0

xclax avatar Mar 02 '22 12:03 xclax

same issue!

KevinHRH avatar Mar 22 '22 02:03 KevinHRH

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 28 '22 03:04 stale[bot]

Android 12 facing this issue. iOS working fine

Faiizii avatar Aug 09 '22 11:08 Faiizii

Still making problem in android 12.

Kayuemkhan avatar Apr 19 '23 06:04 Kayuemkhan

Should be fixed in v5. If not, please create a new issue following the bug report template.

bartekpacia avatar Aug 04 '23 13:08 bartekpacia