koral--/android-gif-drawable

Rejecting re-init on previously-failed class java.lang.Class<pl.droidsonroids.gif.GifInfoHandle>: java.lang.ExceptionInInitializerError:

Liu-Memory opened this issue · 2 comments

A mobile phone will report an error, Thank You

2020-09-26 16:07:37.044 32630-32630/: Rejecting re-init on previously-failed class java.lang.Class<pl.droidsonroids.gif.GifInfoHandle>: java.lang.ExceptionInInitializerError:
2020-09-26 16:07:37.044 32630-32630/:     at void pl.droidsonroids.gif.GifDrawable.<init>(android.content.res.AssetFileDescriptor) (GifDrawable.java:161)
2020-09-26 16:07:37.044 32630-32630/:     at void pl.droidsonroids.gif.GifDrawable.<init>(android.content.res.Resources, int) (GifDrawable.java:96)
2020-09-26 16:07:37.044 32630-32630/:     at boolean pl.droidsonroids.gif.GifViewUtils.setResource(android.widget.ImageView, boolean, int) (GifViewUtils.java:55)
2020-09-26 16:07:37.044 32630-32630/:     at int pl.droidsonroids.gif.GifViewUtils$GifImageViewAttributes.getResourceId(android.widget.ImageView, android.util.AttributeSet, boolean) (GifViewUtils.java:138)
2020-09-26 16:07:37.044 32630-32630/:     at void pl.droidsonroids.gif.GifViewUtils$GifImageViewAttributes.<init>(android.widget.ImageView, android.util.AttributeSet, int, int) (GifViewUtils.java:124)
2020-09-26 16:07:37.044 32630-32630/:     at pl.droidsonroids.gif.GifViewUtils$GifImageViewAttributes pl.droidsonroids.gif.GifViewUtils.initImageView(android.widget.ImageView, android.util.AttributeSet, int, int) (GifViewUtils.java:29)
2020-09-26 16:07:37.044 32630-32630/:     at void pl.droidsonroids.gif.GifImageView.<init>(android.content.Context, android.util.AttributeSet) (GifImageView.java:41)
2020-09-26 16:07:37.044 32630-32630/:     at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2020-09-26 16:07:37.044 32630-32630/:     at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:343)
2020-09-26 16:07:37.044 32630-32630/:     at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:651)
2020-09-26 16:07:37.044 32630-32630/:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:794)
2020-09-26 16:07:37.044 32630-32630/:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:734)
2020-09-26 16:07:37.044 32630-32630/:     at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:867)
2020-09-26 16:07:37.044 32630-32630/:     at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:828)
2020-09-26 16:07:37.044 32630-32630/:     at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:519)
2020-09-26 16:07:37.044 32630-32630/:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:427)
2020-09-26 16:07:37.044 32630-32630/:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2020-09-26 16:07:37.044 32630-32630/:     at void com.android.internal.policy.PhoneWindow.setContentView(int) (PhoneWindow.java:420)
2020-09-26 16:07:37.044 32630-32630/:     at void android.app.Dialog.setContentView(int) (Dialog.java:557)

Could you post some more info. Eg. a snippet reproducing this issue?

Closing due to inactivity