Skip to content

Instantly share code, notes, and snippets.

@ecgreb
Created July 30, 2018 21:26
Show Gist options
  • Save ecgreb/e73738bf1d592d795c8a7e700ee03350 to your computer and use it in GitHub Desktop.
Save ecgreb/e73738bf1d592d795c8a7e700ee03350 to your computer and use it in GitHub Desktop.
Sample Stack trace
Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.shopback.app/com.usebutton.sdk.internal.WebViewActivity}: android.view.InflateException: Binary XML file line #18: Failed to resolve attribute at index 1: TypedValue{t=0x2/d=0x7f040003 a=-1}
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by android.view.InflateException: Binary XML file line #18: Failed to resolve attribute at index 1: TypedValue{t=0x2/d=0x7f040003 a=-1}
Caused by java.lang.UnsupportedOperationException: Failed to resolve attribute at index 1: TypedValue{t=0x2/d=0x7f040003 a=-1}
at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:771)
at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:7555)
at android.view.ViewGroup$MarginLayoutParams.(ViewGroup.java:7746)
at android.widget.LinearLayout$LayoutParams.(LinearLayout.java:1976)
at android.support.design.widget.AppBarLayout$LayoutParams.(SourceFile:681)
at android.support.design.widget.AppBarLayout.generateLayoutParams(SourceFile:336)
at android.support.design.widget.AppBarLayout.generateLayoutParams(SourceFile:106)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:865)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:866)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:419)
at android.app.Activity.setContentView(Activity.java:2669)
at com.usebutton.sdk.internal.WebViewActivity.onCreate(SourceFile:110)
at android.app.Activity.performCreate(Activity.java:6999)
at android.app.Activity.performCreate(Activity.java:6990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment