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

InflateException: Binary XML file line #2: Error inflating class <unknown> #9989

Closed
sentry-io bot opened this issue Jun 5, 2019 · 2 comments · Fixed by #10387
Closed

InflateException: Binary XML file line #2: Error inflating class <unknown> #9989

sentry-io bot opened this issue Jun 5, 2019 · 2 comments · Fixed by #10387
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Jun 5, 2019

Sentry Issue: https://sentry.io/share/issue/9aa4bcd3cb0c48faa34947b64b2d7f80/

RuntimeException: Failed to resolve attribute at index 3
    at org.wordpress.android.widgets.WPTextView.<init>(WPTextView.java:25)
...
(76 additional frame(s) were not displayed)

InvocationTargetException: None
    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.inflate(LayoutInflater.java:482)
...
(70 additional frame(s) were not displayed)

InflateException: Binary XML file line #2: Error inflating class <unknown>
    at org.wordpress.android.ui.FilteredRecyclerView$SpinnerAdapter.getView(FilteredRecyclerView.java:455)
...
(68 additional frame(s) were not displayed)

Binary XML file line #2: Error inflating class <unknown>
@designsimply
Copy link
Contributor

designsimply commented Aug 12, 2019

90-day impact: ~3 per day
Users affected: 49 in the last 30d
Last seen in: 12.3.2
Limited to: Lenovo Android 5.0

https://sentry.io/share/issue/9aa4bcd3cb0c48faa34947b64b2d7f80/

Candidate for closing. Needs to be confirmed by a Groundskeeper.

@malinajirka
Copy link
Contributor

I think at least these two crashes are related:
https://sentry.io/organizations/a8c/issues/1097739319/
https://sentry.io/organizations/a8c/issues/1119527103/

I've created a PR with a possible fix. I can't reproduce the issue so I'm not 100% it'll work, but it's worth a try.

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

Successfully merging a pull request may close this issue.

3 participants