taltstidl / AppCompat-Extension-Library

A library that builds on the AppCompat Design Library and provides additional common components such as AccountHeaderView, FloatingActionMenu, CircleImageView, Picker Dialogs, FlexibleToolbarLayout, Delightful Detail Drawables and TypefaceCompat.
Apache License 2.0
304 stars 42 forks source link

Show NullPointerException #31

Open patugosavi opened 1 year ago

patugosavi commented 1 year ago

java.lang.NullPointerException: Attempt to invoke virtual method 'void com.tr4android.support.extension.drawable.ColorTransitionDrawable.setColorRatio(float)' on a null object reference

I have use updated version of android studio Android Studio Dolphin 2021.3.1 Patch 1.

Android studio previous version is proper work but after update show anytime NullPointerException.

taltstidl commented 1 year ago

I am not actively using or maintaining this library anymore and pretty busy these days, so I'm afraid I won't be able to help. Anyone else having this issue who could provide a potential solution?

joao-moniz commented 2 months ago

I'm having the same problem with screen rotation

java.lang.NullPointerException: Attempt to invoke virtual method 'void com.tr4android.support.extension.drawable.ColorTransitionDrawable.setColorRatio(float)' on a null object reference at com.tr4android.support.extension.widget.FloatingActionMenu.onRestoreInstanceState(FloatingActionMenu.java:687)