apptentive / apptentive-android

Apptentive Android SDK
http://www.apptentive.com
BSD 3-Clause "New" or "Revised" License
65 stars 64 forks source link

NullPointerException at Util.getThemeColor(Util.java:472) #125

Closed GlebMaltsev closed 7 years ago

GlebMaltsev commented 7 years ago

Hello. Is it known issue? (Android 4.3)

Fatal Exception: java.lang.NullPointerException at com.apptentive.android.sdk.util.Util.getThemeColor(Util.java:472) at com.apptentive.android.sdk.module.engagement.interaction.fragment.ApptentiveBaseFragment.onViewCreated(ApptentiveBaseFragment.java:268) at com.apptentive.android.sdk.module.engagement.interaction.fragment.MessageCenterFragment.onViewCreated(MessageCenterFragment.java:227)

Click to see full stacktrace

skykelsey commented 7 years ago

Hello @GlebMaltsev, can you please help me by answering a few questions?

Thanks!

GlebMaltsev commented 7 years ago

@skykelsey, I use Apptentive SDK 3.0.0 version and "Theme.AppCompat" as parent theme for my application theme.

Unfortunately, i can't reproduce this issue on any of my devices. I have only one crash report from SGH-T999 device (Samsung Galaxy S III T-Mobile) running on android 4.3. So i can't confirm or refute that on latest version of Apptentive SDK this issue was fixed.

skykelsey commented 7 years ago

Hi @GlebMaltsev,

It turns out this has been fixed since 3.0.1, so if you haven't upgraded to the latest version, doing so will fix the problem. Thanks for reporting this.

GlebMaltsev commented 7 years ago

@skykelsey. thanks.