Java SDK Plugin Crash Reporting
Hello,
Actually i'm trying to implement Countly 19.09-sdk2-rc for backend service, i try Feature like Event, segment etc,
but when i trying CrashReporting, i got some error Null pointer when i hit Countly.session().addCrashReport(e, true). how i must do..?Thank's
note: in Config i already enabled Config.Feature.CrashReporting
Comments
Hello Hendra,
Could you please share the SDK initialization code? Please share the null pointer exception as well when you call "Countly.session().addCrashReport(e, true)" to report crash.
Thanks,
Hello Zahid,
i'm using maven, i use this dependency
this is the sdk initialization code :
and the log when i try to call addCrashReport
Thank you
This is a known issue for the version '19.09-sdk2-rc'. Due to a bug it's not possible to use crash related functionality. It is fixed in the latest Java SDK release. We would recommend you to use that version as it also fixed other issues. The latest release maven dependency.
Thank you
Thank's,
but when i Countly Sdk 20.11.0
what should i do..by the way i'm running on Windows 10, is there missing configuration. Thank you
In our sample app we are using 'e.getCause()' and it returns 'null'.
If you are using 'e.getCause()' then replace it with 'e'.
For example
Thank you
Thank you very much for your help Zahid.
Please sign in to leave a comment.