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

[BUG] Error in InitView #236

Open
PaolinoAngeletti opened this issue Aug 31, 2020 · 3 comments
Open

[BUG] Error in InitView #236

PaolinoAngeletti opened this issue Aug 31, 2020 · 3 comments

Comments

@PaolinoAngeletti
Copy link

we have revelead this error.
A try catch would solve the problem.

"
Caused by android.content.res.Resources$NotFoundException
Unable to find resource ID #0x7f08006a
"
Stack:
Caused by android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08006a
at android.content.res.Resources.getResourceName(Resources.java:2070)
at android.content.res.Resources.loadDrawableForCookie(Resources.java:2441)
at android.content.res.Resources.loadDrawable(Resources.java:2381)
at android.content.res.TypedArray.getDrawable(TypedArray.java:749)
at android.widget.ImageView.(ImageView.java:146)
at android.widget.ImageView.(ImageView.java:135)
at androidx.appcompat.widget.AppCompatImageView.(AppCompatImageView.java:72)
at androidx.appcompat.widget.AppCompatImageView.(AppCompatImageView.java:68)
at java.lang.reflect.Constructor.newInstance(Constructor.java)
at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
at android.view.LayoutInflater.createView(LayoutInflater.java:607)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
at android.view.View.inflate(View.java:18532)
at com.tapadoo.alerter.Alert.initView(Alert.java:122)
at com.tapadoo.alerter.Alert.(Alert.java:93)
at com.tapadoo.alerter.Alerter.create(Alerter.java:61)
at external.DialogMessage.showMessage(DialogMessage.java:142)
at mbe.mp.login.LoginCognito$10.run(LoginCognito.java:566)
at thread.ThreadUtils.runOnUiThread(ThreadUtils.java:25)
at mbe.mp.login.LoginCognito.mostraMessaggioUtente(LoginCognito.java:561)
at mbe.mp.login.LoginCognito.verificaInserimentoMail(LoginCognito.java:350)
at mbe.mp.login.LoginCognito.verificaInserimentoDati(LoginCognito.java:338)
at mbe.mp.login.LoginCognito.access$800(LoginCognito.java:54)
at mbe.mp.login.LoginCognito$4.onClick(LoginCognito.java:280)
at android.view.View.performClick(View.java:4780)
at android.view.ViewDebug$3.run(ViewDebug.java:826)
at android.os.Handler.handleCallback(Handler.java:756)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5314)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:374)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)

@kpmmmurphy
Copy link
Collaborator

Hey @PaolinoAngeletti, could you please provide the library version, and code examples of where this exception is thrown? Many thanks.

@ferostabio
Copy link

I see it myself. Not all the time, but once in a while. Happens when the alerter is created:

Alerter alert = Alerter.create(activity); I'm using com.tapadoo.android:alerter:4.0.2.

@SoftwareAdvise
Copy link

So ? There is a solution ?

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

4 participants