java.lang.RuntimeException: Unable to start activity ComponentInfo{ru.initium.directorix/ru.initium.directorix.views.activities.MapActivity}: android.view.InflateException: Binary XML file line #48: Binary XML file line #48: Error inflating class <unknown>

JIRA | Vladimir Rybalka | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Impacted Cases ============== Crash in Android API >= 24 API. Reproduce Test Steps ==================== Opening class extends XWalkActivityAppCompat in the first time work fine. Then press back and opening again - crash. Crash shows this line in xml: http://prntscr.com/e9dxm8 Log: 02-16 08:43:39.942 2937-2937/ru.initium.directorix E/AndroidRuntime: FATAL EXCEPTION: main Process: ru.initium.directorix, PID: 2937 java.lang.RuntimeException: Unable to start activity ComponentInfo{ru.initium.directorix/ru.initium.directorix.views.activities.MapActivity}: android.view.InflateException: Binary XML file line #48: Binary XML file line #48: Error inflating class <unknown> at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6119) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776) Caused by: android.view.InflateException: Binary XML file line #48: Binary XML file line #48: Error inflating class <unknown> Caused by: android.view.InflateException: Binary XML file line #48: Error inflating class <unknown> Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:430) at android.view.LayoutInflater.createView(LayoutInflater.java:645) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:787) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727) at android.view.LayoutInflater.rInflate(LayoutInflater.java:858) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821) at android.view.LayoutInflater.rInflate(LayoutInflater.java:861) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821) at android.view.LayoutInflater.inflate(LayoutInflater.java:518) at android.view.LayoutInflater.inflate(LayoutInflater.java:426) at android.view.LayoutInflater.inflate(LayoutInflater.java:377) at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:288) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140) at ru.initium.directorix.views.activities.MapActivity.onCreate(MapActivity.java:140) at android.app.Activity.performCreate(Activity.java:6679) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6119) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776) Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException: TextureView doesn't support displaying a background drawable at org.xwalk.core.ReflectConstructor.newInstance(ReflectConstructor.java:54) at org.xwalk.core.XWalkView.reflectionInit(XWalkView.java:2082) at org.xwalk.core.XWalkView.<init>(XWalkView.java:299) at java.lang.reflect.Constructor.newInstance0(Native Method)  at java.lang.reflect.Constructor.newInstance(Constructor.java:430)  at android.view.LayoutInflater.createView(LayoutInflater.java:645)  at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:787)  at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)  at android.view.LayoutInflater.rInflate(LayoutInflater.java:858)  at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)  at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)  at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)  at android.view.LayoutInflater.inflate(LayoutInflater.java:518)  at android.view.LayoutInflater.inflate(LayoutInflater.java:426)  at android.view.LayoutInflater.inflate(LayoutInflater.java:377)  at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:288)  at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)  at ru.initium.directorix.views.activities.MapActivity.onCreate(MapActivity.java:140)  at android.app.Activity.performCreate(Activity.java:6679)  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)  at android.app.ActivityThread.-wrap12(ActivityThread.java)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:154)  at android.app.ActivityThread.main(ActivityThread.java:6119)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)  Caused by: java.lang.UnsupportedOperationException: TextureView doesn't support displaying a background drawable at android.view.TextureView.setBackgroundDrawable(TextureView.java:316) at android.view.View.setBackground(View.java:18247) at android.view.View.setBackgroundColor(View.java:18209) at org.chromium.content.browser.ContentViewRenderView.initTextureView(ContentViewRenderView.java:68) at org.chromium.content.browser.ContentViewRenderView.<init>(ContentViewRenderView.java:145) 02-16 08:43:39.942 2937-2937/ru.initium.directorix E/AndroidRuntime: at org.xwalk.core.internal.XWalkContent$2.<init>(XWalkContent.java:191) at org.xwalk.core.internal.XWalkContent.setNativeContent(XWalkContent.java:191) at org.xwalk.core.internal.XWalkContent.<init>(XWalkContent.java:151) at org.xwalk.core.internal.XWalkViewInternal.initXWalkContent(XWalkViewInternal.java:383) at org.xwalk.core.internal.XWalkViewBridge.<init>(XWalkViewBridge.java:72) at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:430) at org.xwalk.core.ReflectConstructor.newInstance(ReflectConstructor.java:48) ... 29 more Expected Outcome ================ No crash. Actual Outcome ============== Test Case Source Code ===================== Test Builds =========== Issue Analysis ==============

    JIRA | 2 months ago | Vladimir Rybalka
    java.lang.RuntimeException: Unable to start activity ComponentInfo{ru.initium.directorix/ru.initium.directorix.views.activities.MapActivity}: android.view.InflateException: Binary XML file line #48: Binary XML file line #48: Error inflating class <unknown>
  2. 0

    xml error?

    GitHub | 1 year ago | raybest4u
    java.lang.RuntimeException: Unable to start activity ComponentInfo{ main.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>
  3. 0

    Unable to start activity ComponentInfo{package.MainActivity}: android.view.InflateException

    Stack Overflow | 1 year ago | enkayh
    java.lang.RuntimeException: Unable to start activity ComponentInfo{mypackage.nkhproj5.MainActivity}: android.view.InflateException: Binary XML file line #8: Binary XML file line #8: Error inflating class <unknown>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    App crashing through Inflate Exception on Android M

    Stack Overflow | 1 year ago | dabo
    java.lang.RuntimeException: Unable to start activity ComponentInfo{abcdef/abcdef.SplashScreen}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>
  6. 0

    【Android】gradle:2.2.0-alpha2(or 3)で9-patch画像を使おうとするとException - Qiita

    qiita.com | 7 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{packageName/ActitivyName}: android.view.InflateException: Binary XML file line #102: Binary XML file line #102: Error inflating class Button

  1. Indri Yunita 7 times, last 2 months ago
  2. andreeaa marin 184 times, last 3 months ago
  3. Reich 59 times, last 3 months ago
  4. gamebusterz 42 times, last 4 weeks ago
  5. Emrah Küçük 3 times, last 4 months ago
42 more registered users
14 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.RuntimeException

    Unable to start activity ComponentInfo{ru.initium.directorix/ru.initium.directorix.views.activities.MapActivity}: android.view.InflateException: Binary XML file line #48: Binary XML file line #48: Error inflating class <unknown>

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
    2 frames