java.lang.NoSuchMethodException: <init> [class android.content.Context, interface android.util.AttributeSet]

pushwoosh.com | 4 months ago
  1. 0

    Pushwoosh crash com.pushwoosh.richpages.RichPageActivity.getInflatedView - Pushwoosh Community

    pushwoosh.com | 4 months ago
    java.lang.NoSuchMethodException: <init> [class android.content.Context, interface android.util.AttributeSet]
  2. 0

    Class could not be instantiated XML

    Stack Overflow | 3 years ago | Rohodude
    java.lang.NoSuchMethodException: com.rohit.ShowcaseView.&lt;init&gt; (android.content.Context, android.util.AttributeSet)
  3. 0

    The android custom view error : android.view.InflateException

    Stack Overflow | 2 years ago
    java.lang.NoSuchMethodException: <init> [class android.content.Context, interface android.util.AttributeSet]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to create a CustomView using existing widgets

    Stack Overflow | 12 months ago | Vernon Kawonza
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.venon.jerseytwenty3twenty4/com.venon.jerseytwenty3twenty4.MainActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class com.venon.jerseytwenty3twenty4.CardWidget
  6. 0

    Caused by: java.lang.NoSuchMethodException: <init> [class android.content.Context, interface android.util.AttributeSet]

    Stack Overflow | 11 months ago | bo2
    java.lang.NoSuchMethodException: <init> [class android.content.Context, interface android.util.AttributeSet]

  1. maxxi 12 times, last 2 months ago
  2. bluebunnty 1 times, last 2 weeks ago
  3. Aria Pahlavan 1 times, last 2 weeks ago
  4. bmacedo 3 times, last 2 weeks ago
  5. Alexandru Popa 4 times, last 2 weeks ago
22 more registered users
24 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoSuchMethodException

    <init> [class android.content.Context, interface android.util.AttributeSet]

    at java.lang.Class.getConstructor()
  2. Java RT
    Class.getConstructor
    1. java.lang.Class.getConstructor(Class.java:531)
    2. java.lang.Class.getConstructor(Class.java:495)
    2 frames
  3. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:580)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:504)
    5 frames
  4. com.pushwoosh.richpages
    RichPageActivity$GetPageTask.onPostExecute
    1. com.pushwoosh.richpages.RichPageActivity.getInflatedView(Unknown Source)
    2. com.pushwoosh.richpages.RichPageActivity.addView(Unknown Source)
    3. com.pushwoosh.richpages.RichPageActivity.onPageLoadSuccess(Unknown Source)
    4. com.pushwoosh.richpages.RichPageActivity$GetPageTask.onPostExecute(Unknown Source)
    5. com.pushwoosh.richpages.RichPageActivity$GetPageTask.onPostExecute(Unknown Source)
    5 frames
  5. Android Platform
    ActivityThread.main
    1. android.os.AsyncTask.finish(AsyncTask.java:636)
    2. android.os.AsyncTask.access$500(AsyncTask.java:177)
    3. android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)
    4. android.os.Handler.dispatchMessage(Handler.java:102)
    5. android.os.Looper.loop(Looper.java:135)
    6. android.app.ActivityThread.main(ActivityThread.java:5910)
    6 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
    2 frames