Hi guys! Yesterday I had a huge number of crashes in my android app. It occurs when a push notification (with rich-page) was opened. I think it comes from pushwoosh's library.

Used pushwoosh version com.pushwoosh:pushwoosh:3.3.2

Here is stack:

Fatal Exception: android.view.InflateException
Binary XML file line #14: Error inflating class  com.arellomobile.android.push.utils.rich.WebImageView

Fatal Exception: android.view.InflateException: Binary XML file line #14: Error inflating class com.arellomobile.android.push.utils.rich.WebImageView
   at android.view.LayoutInflater.createView(LayoutInflater.java:616)
   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.inflate(LayoutInflater.java:504)
   at com.pushwoosh.richpages.RichPageActivity.getInflatedView(Unknown Source)
   at com.pushwoosh.richpages.RichPageActivity.addView(Unknown Source)
   at com.pushwoosh.richpages.RichPageActivity.onPageLoadSuccess(Unknown Source)
   at com.pushwoosh.richpages.RichPageActivity$GetPageTask.onPostExecute(Unknown Source)
   at com.pushwoosh.richpages.RichPageActivity$GetPageTask.onPostExecute(Unknown Source)
   at android.os.AsyncTask.finish(AsyncTask.java:636)
   at android.os.AsyncTask.access$500(AsyncTask.java:177)
   at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)
   at android.os.Handler.dispatchMessage(Handler.java:102)
   at android.os.Looper.loop(Looper.java:135)
   at android.app.ActivityThread.main(ActivityThread.java:5910)
   at java.lang.reflect.Method.invoke(Method.java)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
   Caused by java.lang.NoSuchMethodException: <init> [class android.content.Context, interface    android.util.AttributeSet]
   at java.lang.Class.getConstructor(Class.java:531)
   at java.lang.Class.getConstructor(Class.java:495)
   at android.view.LayoutInflater.createView(LayoutInflater.java:580)
   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.inflate(LayoutInflater.java:504)
   at com.pushwoosh.richpages.RichPageActivity.getInflatedView(Unknown Source)
   at com.pushwoosh.richpages.RichPageActivity.addView(Unknown Source)
   at com.pushwoosh.richpages.RichPageActivity.onPageLoadSuccess(Unknown Source)
   at com.pushwoosh.richpages.RichPageActivity$GetPageTask.onPostExecute(Unknown Source)
   at com.pushwoosh.richpages.RichPageActivity$GetPageTask.onPostExecute(Unknown Source)
   at android.os.AsyncTask.finish(AsyncTask.java:636)
   at android.os.AsyncTask.access$500(AsyncTask.java:177)
   at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)
   at android.os.Handler.dispatchMessage(Handler.java:102)
   at android.os.Looper.loop(Looper.java:135)
   at android.app.ActivityThread.main(ActivityThread.java:5910)
   at java.lang.reflect.Method.invoke(Method.java)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

any ideas?

asked 21 Apr '16, 07:25
Aishlin's gravatar image

Aishlin
213

edited 21 Apr '16, 07:29

Yep... any ideas?

permanent link
answered 21 Apr '16, 07:28
drusin's gravatar image

drusin
112

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×446
×326
×30
×10

question asked: 21 Apr '16, 07:25

question was seen: 961 times

last updated: 21 Apr '16, 07:29