android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.widget.TextView

JIRA | David L | 11 months ago
  1. 0

    Gallery will not open, 100% Through icon or trebuchet Occasionally can open through file manager and select dcim. Report crash below android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.widget.TextView at android.view.LayoutInflater.inflate(LayoutInflater.java:539) at android.view.LayoutInflater.inflate(LayoutInflater.java:423) at com.android.gallery3d.app.GalleryActionBar$ClusterAdapter.getView(GalleryActionBar.java:131) at android.widget.AbsSpinner.onMeasure(AbsSpinner.java:194) at android.widget.Spinner.onMeasure(Spinner.java:580) at android.view.View.measure(View.java:18797) at android.widget.Toolbar.measureChildCollapseMargins(Toolbar.java:1213) at android.widget.Toolbar.onMeasure(Toolbar.java:1316) at android.view.View.measure(View.java:18797) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951) at android.widget.FrameLayout.onMeasure(FrameLayout.java:194) at com.android.internal.widget.ActionBarContainer.onMeasure(ActionBarContainer.java:278) at android.view.View.measure(View.java:18797) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951) at com.android.internal.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:373) at android.view.View.measure(View.java:18797) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951) at android.widget.FrameLayout.onMeasure(FrameLayout.java:194) at com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2899) at android.view.View.measure(View.java:18797) at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2100) at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1216) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1452) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858) at android.view.Choreographer.doCallbacks(Choreographer.java:670) at android.view.Choreographer.doFrame(Choreographer.java:606) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5466) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: android.view.InflateException: Binary XML file line #17: Error inflating class android.widget.TextView at android.view.LayoutInflater.createView(LayoutInflater.java:645) at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:694) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:762) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704) at android.view.LayoutInflater.inflate(LayoutInflater.java:492) ... 35 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.newInstance(Native Method) at android.view.LayoutInflater.createView(LayoutInflater.java:619) ... 40 more Caused by: java.lang.ArrayIndexOutOfBoundsException: length=522; index=1332 at android.content.res.TypedArray.getValueAt(TypedArray.java:1132) at android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:661) at android.view.View.<init>(View.java:4207) at android.widget.TextView.<init>(TextView.java:677) at android.widget.TextView.<init>(TextView.java:671) at android.widget.TextView.<init>(TextView.java:667) ... 42 more

    JIRA | 11 months ago | David L
    android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.widget.TextView
  2. 0

    Gallery will not open, 100% Through icon or trebuchet Occasionally can open through file manager and select dcim. Report crash below android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.widget.TextView at android.view.LayoutInflater.inflate(LayoutInflater.java:539) at android.view.LayoutInflater.inflate(LayoutInflater.java:423) at com.android.gallery3d.app.GalleryActionBar$ClusterAdapter.getView(GalleryActionBar.java:131) at android.widget.AbsSpinner.onMeasure(AbsSpinner.java:194) at android.widget.Spinner.onMeasure(Spinner.java:580) at android.view.View.measure(View.java:18797) at android.widget.Toolbar.measureChildCollapseMargins(Toolbar.java:1213) at android.widget.Toolbar.onMeasure(Toolbar.java:1316) at android.view.View.measure(View.java:18797) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951) at android.widget.FrameLayout.onMeasure(FrameLayout.java:194) at com.android.internal.widget.ActionBarContainer.onMeasure(ActionBarContainer.java:278) at android.view.View.measure(View.java:18797) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951) at com.android.internal.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:373) at android.view.View.measure(View.java:18797) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951) at android.widget.FrameLayout.onMeasure(FrameLayout.java:194) at com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2899) at android.view.View.measure(View.java:18797) at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2100) at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1216) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1452) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858) at android.view.Choreographer.doCallbacks(Choreographer.java:670) at android.view.Choreographer.doFrame(Choreographer.java:606) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5466) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: android.view.InflateException: Binary XML file line #17: Error inflating class android.widget.TextView at android.view.LayoutInflater.createView(LayoutInflater.java:645) at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:694) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:762) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704) at android.view.LayoutInflater.inflate(LayoutInflater.java:492) ... 35 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.newInstance(Native Method) at android.view.LayoutInflater.createView(LayoutInflater.java:619) ... 40 more Caused by: java.lang.ArrayIndexOutOfBoundsException: length=522; index=1332 at android.content.res.TypedArray.getValueAt(TypedArray.java:1132) at android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:661) at android.view.View.<init>(View.java:4207) at android.widget.TextView.<init>(TextView.java:677) at android.widget.TextView.<init>(TextView.java:671) at android.widget.TextView.<init>(TextView.java:667) ... 42 more

    JIRA | 11 months ago | David L
    android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.widget.TextView
  3. 0

    Android app crashing when long click text in edittext

    Stack Overflow | 1 year ago | KrustyGString
    android.view.InflateException: Binary XML file line #31: Error inflating class <unknown>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when Tapping multiple times on EditText

    Stack Overflow | 2 years ago | rashad.z
    android.view.InflateException: Binary XML file line #17: Error inflating class <unknown>
  6. 0

    Java.Lang.NullPointerException on StartActionMode - Xamarin Forums

    xamarin.com | 12 months ago
    android.view.InflateException: Binary XML file line #31: Error inflating class <unknown>

    2 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.ArrayIndexOutOfBoundsException

      length=522; index=1332

      at android.content.res.TypedArray.getValueAt()
    2. Android Platform
      TextView.<init>
      1. android.content.res.TypedArray.getValueAt(TypedArray.java:1132)
      2. android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:661)
      3. android.view.View.<init>(View.java:4207)
      4. android.widget.TextView.<init>(TextView.java:677)
      5. android.widget.TextView.<init>(TextView.java:671)
      6. android.widget.TextView.<init>(TextView.java:667)
      6 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.newInstance(Native Method)
      1 frame
    4. Android Platform
      LayoutInflater.createView
      1. android.view.LayoutInflater.createView(LayoutInflater.java:619)
      1 frame
    5. Android
      PhoneLayoutInflater.onCreateView
      1. com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)
      1 frame
    6. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:694)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:762)
      3. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
      5 frames
    7. com.android.gallery3d
      GalleryActionBar$ClusterAdapter.getView
      1. com.android.gallery3d.app.GalleryActionBar$ClusterAdapter.getView(GalleryActionBar.java:131)
      1 frame
    8. Android Platform
      FrameLayout.onMeasure
      1. android.widget.AbsSpinner.onMeasure(AbsSpinner.java:194)
      2. android.widget.Spinner.onMeasure(Spinner.java:580)
      3. android.view.View.measure(View.java:18797)
      4. android.widget.Toolbar.measureChildCollapseMargins(Toolbar.java:1213)
      5. android.widget.Toolbar.onMeasure(Toolbar.java:1316)
      6. android.view.View.measure(View.java:18797)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      8. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      8 frames
    9. Android
      ActionBarContainer.onMeasure
      1. com.android.internal.widget.ActionBarContainer.onMeasure(ActionBarContainer.java:278)
      1 frame
    10. Android Platform
      ViewGroup.measureChildWithMargins
      1. android.view.View.measure(View.java:18797)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      2 frames
    11. Android
      ActionBarOverlayLayout.onMeasure
      1. com.android.internal.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:373)
      1 frame
    12. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:18797)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      3. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      3 frames
    13. Android
      PhoneWindow$DecorView.onMeasure
      1. com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2899)
      1 frame
    14. Android Platform
      ActivityThread.main
      1. android.view.View.measure(View.java:18797)
      2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2100)
      3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1216)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1452)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
      7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
      8. android.view.Choreographer.doCallbacks(Choreographer.java:670)
      9. android.view.Choreographer.doFrame(Choreographer.java:606)
      10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
      11. android.os.Handler.handleCallback(Handler.java:739)
      12. android.os.Handler.dispatchMessage(Handler.java:95)
      13. android.os.Looper.loop(Looper.java:148)
      14. android.app.ActivityThread.main(ActivityThread.java:5466)
      14 frames
    15. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    16. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames