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

NullPointerException - CleverTap Plugin 1.2.3 #61

Closed
tlworkssoftware opened this issue Aug 23, 2021 · 8 comments
Closed

NullPointerException - CleverTap Plugin 1.2.3 #61

tlworkssoftware opened this issue Aug 23, 2021 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@tlworkssoftware
Copy link

I've been using the clevertap plugin for Flutter version 2.2.3 to use Native Display, Push Notification, and In App Message campaign. I'm getting this error both on the google play dashboard and on crashlytics.

java.lang.NullPointerException: 
  at com.clevertap.clevertap_plugin.CleverTapPlugin.lambda$invokeMethodOnUiThread$0 (CleverTapPlugin.java:902)
  at com.clevertap.clevertap_plugin.-$$Lambda$CleverTapPlugin$kCoDw1W40T2vMIsGc7DuvhpNl9Y.run (-.java:6)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:250)
  at android.app.ActivityThread.main (ActivityThread.java:7803)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:958)
@darshanclevertap
Copy link
Contributor

@tlworkssoftware Were you able to reproduce this on your device?

@tlworkssoftware
Copy link
Author

@tlworkssoftware Were you able to reproduce this on your device?

Not on my device @darshanclevertap , but Google Play reports an average of 100 errors every 2 hours. I have a base of ~200k users.

@darshanclevertap
Copy link
Contributor

@tlworkssoftware We will take a further look into this and give you an update soon.

@darshanclevertap darshanclevertap added the bug Something isn't working label Oct 4, 2021
@macortesn
Copy link

I have the same issue. I see this in crashlytics
image

@tlworkssoftware
Copy link
Author

@darshanclevertap any update?

@william-ct
Copy link
Contributor

Hey @tlworkssoftware @macortesn , Are you guys still facing this issue in CleverTap Plugin 1.3.0?

@tlworkssoftware
Copy link
Author

@william-ct yes, the same issue

@william-ct
Copy link
Contributor

Hi @tlworkssoftware @macortesn , we've fixed this NPE in our current version of SDK(v1.4.0). Do let us know if you face any more crashes. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants