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

Crash: java.lang.RuntimeException in BubbleMessageView.kt - line 64 #39

Open
SakisBoridis opened this issue Oct 3, 2019 · 0 comments
Open

Comments

@SakisBoridis
Copy link

SakisBoridis commented Oct 3, 2019

I am getting this crash in some devices:

Fatal Exception: java.lang.RuntimeException: Unable to resume activity {LearnActivity}: android.view.InflateException: Binary XML file line #63: Binary XML file line #63: Error inflating class ImageView
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4026)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4058)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1960)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7081)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

I am also getting this stack trace that might help you understand:

Caused by android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f07013c
at android.content.res.ResourcesImpl.getResourceName(ResourcesImpl.java:267)
at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:831)
at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:677)
at android.content.res.Resources.loadDrawable(Resources.java:912)
at android.content.res.TypedArray.getDrawableForDensity(TypedArray.java:955)
at android.content.res.TypedArray.getDrawable(TypedArray.java:930)
at android.widget.ImageView.(ImageView.java:189)
at android.widget.ImageView.(ImageView.java:172)
at androidx.appcompat.widget.AppCompatImageView.(AppCompatImageView.java:72)
at androidx.appcompat.widget.AppCompatImageView.(AppCompatImageView.java:68)
at androidx.appcompat.app.AppCompatViewInflater.createImageView(AppCompatViewInflater.java:182)
at androidx.appcompat.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:106)
at androidx.appcompat.app.AppCompatDelegateImpl.createView(AppCompatDelegateImpl.java:1266)
at androidx.appcompat.app.AppCompatDelegateImpl.onCreateView(AppCompatDelegateImpl.java:1316)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:811)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:769)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:902)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:863)
at android.view.LayoutInflater.inflate(LayoutInflater.java:554)
at android.view.LayoutInflater.inflate(LayoutInflater.java:461)
at android.view.LayoutInflater.inflate(LayoutInflater.java:383)
at android.view.View.inflate(View.java:26183)
at com.elconfidencial.bubbleshowcase.BubbleMessageView.inflateXML(BubbleMessageView.kt:64)
at com.elconfidencial.bubbleshowcase.BubbleMessageView.initView(BubbleMessageView.kt:59)
at com.elconfidencial.bubbleshowcase.BubbleMessageView.(BubbleMessageView.kt:47)
at com.elconfidencial.bubbleshowcase.BubbleMessageView$Builder.build(BubbleMessageView.kt:323)
at com.elconfidencial.bubbleshowcase.BubbleShowCase.addBubbleMessageViewOnScreenCenter(BubbleShowCase.kt:327)
at com.elconfidencial.bubbleshowcase.BubbleShowCase.show(BubbleShowCase.kt:115)
at com.elconfidencial.bubbleshowcase.BubbleShowCaseBuilder.show(BubbleShowCaseBuilder.kt:278)
at com.elconfidencial.bubbleshowcase.BubbleShowCaseSequence.show(BubbleShowCaseSequence.kt:47)
at com.elconfidencial.bubbleshowcase.BubbleShowCaseSequence.show(BubbleShowCaseSequence.kt:23)
at LearnActivity.learnShowcaseHints(LearnActivity.kt:99)
at LearnActivity.onResume(LearnActivity.kt:49)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1416)
at android.app.Activity.performResume(Activity.java:7585)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4018)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4058)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1960)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7081)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

  • Is it something that you have to fix in the library, or is it my fault.
  • If I am responsible for it, how can I fix it?
  • if you can fix it, when can I expect the fix?

Thanks for the library by the way!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant