junit.framework.AssertionFailedError

JIRA | Martin Swacke | 1 year ago
  1. 0

    Impacted Cases ============== An app which uses XWalkView could not start Reproduce Test Steps ==================== Install an app which uses XWalkView in an activity which extends XWalkActivity. Expected Outcome ================ App should start without crash. Actual Outcome ============== Crash upon start is observed on some devices: junit.framework.AssertionFailedError at junit.framework.Assert.fail(Assert.java:48) at junit.framework.Assert.fail(Assert.java:56) at org.xwalk.core.XWalkActivity.onXWalkRuntimeError(XWalkActivity.java:179) at org.xwalk.core.XWalkActivity.onXWalkLibraryRuntimeError(XWalkActivity.java:117) at org.xwalk.core.XWalkCoreWrapper.handleException(XWalkCoreWrapper.java:237) at org.xwalk.core.ReflectConstructor.handleException(ReflectConstructor.java:78) at org.xwalk.core.ReflectConstructor.newInstance(ReflectConstructor.java:60) at org.xwalk.core.XWalkView.reflectionInit(XWalkView.java:662) at org.xwalk.core.XWalkView.<init>(XWalkView.java:209) at com.company.product.HTML5WebView.<init>(HTML5WebView.java:48) at com.company.product.BrowserActivity.applicationInit(BrowserActivity.java:576) at com.company.product.BrowserActivity.onXWalkReady(BrowserActivity.java:2590) at org.xwalk.core.XWalkActivity.onXWalkLibraryMatched(XWalkActivity.java:156) at org.xwalk.core.XWalkCoreWrapper.check(XWalkCoreWrapper.java:64) at org.xwalk.core.XWalkCoreWrapper.check(XWalkCoreWrapper.java:51) at org.xwalk.core.XWalkActivity.onStart(XWalkActivity.java:84) at com.company.product.BrowserActivity.onStart(BrowserActivity.java:2570) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1188) at android.app.Activity.performStart(Activity.java:5382) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2279) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2362) at android.app.ActivityThread.access$700(ActivityThread.java:168) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5493) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1209) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1025) at dalvik.system.NativeStart.main(Native Method) Test Case Source Code ===================== Test Builds =========== Issue Analysis ==============

    JIRA | 1 year ago | Martin Swacke
    junit.framework.AssertionFailedError
  2. 0

    Impacted Cases ============== An app which uses XWalkView could not start Reproduce Test Steps ==================== Install an app which uses XWalkView in an activity which extends XWalkActivity. Expected Outcome ================ App should start without crash. Actual Outcome ============== Crash upon start is observed on some devices: junit.framework.AssertionFailedError at junit.framework.Assert.fail(Assert.java:48) at junit.framework.Assert.fail(Assert.java:56) at org.xwalk.core.XWalkActivity.onXWalkRuntimeError(XWalkActivity.java:179) at org.xwalk.core.XWalkActivity.onXWalkLibraryRuntimeError(XWalkActivity.java:117) at org.xwalk.core.XWalkCoreWrapper.handleException(XWalkCoreWrapper.java:237) at org.xwalk.core.ReflectConstructor.handleException(ReflectConstructor.java:78) at org.xwalk.core.ReflectConstructor.newInstance(ReflectConstructor.java:60) at org.xwalk.core.XWalkView.reflectionInit(XWalkView.java:662) at org.xwalk.core.XWalkView.<init>(XWalkView.java:209) at com.company.product.HTML5WebView.<init>(HTML5WebView.java:48) at com.company.product.BrowserActivity.applicationInit(BrowserActivity.java:576) at com.company.product.BrowserActivity.onXWalkReady(BrowserActivity.java:2590) at org.xwalk.core.XWalkActivity.onXWalkLibraryMatched(XWalkActivity.java:156) at org.xwalk.core.XWalkCoreWrapper.check(XWalkCoreWrapper.java:64) at org.xwalk.core.XWalkCoreWrapper.check(XWalkCoreWrapper.java:51) at org.xwalk.core.XWalkActivity.onStart(XWalkActivity.java:84) at com.company.product.BrowserActivity.onStart(BrowserActivity.java:2570) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1188) at android.app.Activity.performStart(Activity.java:5382) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2279) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2362) at android.app.ActivityThread.access$700(ActivityThread.java:168) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5493) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1209) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1025) at dalvik.system.NativeStart.main(Native Method) Test Case Source Code ===================== Test Builds =========== Issue Analysis ==============

    JIRA | 1 year ago | Martin Swacke
    junit.framework.AssertionFailedError
  3. 0

    Crosswalk crash stable version Unable to start activity

    Stack Overflow | 1 year ago | Евгений Осипов
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.crone.skinsforminecraftpe/com.crone.skinsforminecraftpe.TwoActivity}: android.view.InflateException: Binary XML file line #24: Error inflating class org.xwalk.core.XWalkView
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When I load the embedded XWalkView on my Moto-G I get a mismatched architecture JNI error. The embedded view works just fine on the x86 emulator. I use the deprecated JNI config technique in my Gradle build to push the armv7 32bit .so to the Moto-G and the x86 .so to the emulator. I have confirmed via the file command that the apk that Android Studio builds does contain the .so with the proper architecture. Here's the output from the `file` command: SFO1212474815A:~ 212474815$ file /Users/212474815/dev/crosswalk/dev/xwalk/app/build/outputs/apk/app-arm-debug/lib/armeabi-v7a/libxwalkcore.so /Users/212474815/dev/crosswalk/dev/xwalk/app/build/outputs/apk/app-arm-debug/lib/armeabi-v7a/libxwalkcore.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), stripped Here's my stack trace when I run it on device: 06-28 08:15:39.744 26191-26191/com.craig.examples.xwalk W/cr_AwContents: onDetachedFromWindow called when already detached. Ignoring 06-28 08:15:39.746 26191-26191/com.craig.examples.xwalk D/cr_Ime: [ImeAdapter.java:358] onViewFocusChanged: gainFocus [false] 06-28 08:15:39.746 26191-26191/com.craig.examples.xwalk D/cr_Ime: [ImeAdapter.java:326] hideKeyboard 06-28 08:15:39.759 26191-26191/com.craig.examples.xwalk D/cr_Ime: [InputMethodManagerWrapper.java:56] isActive: false 06-28 08:15:39.839 26191-26191/com.craig.examples.xwalk D/XWalkLib: Init embedded mode 06-28 08:15:39.840 26191-26191/com.craig.examples.xwalk D/XWalkLib: [App Version] build:18.48.477.13, api:5, min_api:5 06-28 08:15:39.843 26191-26191/com.craig.examples.xwalk D/XWalkLib: [Lib Version] build:18.48.477.13, api:5, min_api:5 06-28 08:15:39.843 26191-26191/com.craig.examples.xwalk D/XWalkLib: XWalk core version matched 06-28 08:15:39.851 26191-26191/com.craig.examples.xwalk D/XWalkLib: Supported ABIs: armeabi-v7a, armeabi 06-28 08:15:39.851 26191-26191/com.craig.examples.xwalk D/XWalkLib: Device ABI: armeabi-v7a 06-28 08:15:39.882 26191-26191/com.craig.examples.xwalk E/art: ----- class 'Lorg/chromium/base/library_loader/LibraryLoader;' cl=0x12c9e7e0 ----- 06-28 08:15:39.882 26191-26191/com.craig.examples.xwalk E/art: objectSize=460 (412 from super) 06-28 08:15:39.882 26191-26191/com.craig.examples.xwalk E/art: access=0x0000.0001 06-28 08:15:39.882 26191-26191/com.craig.examples.xwalk E/art: super='java.lang.Class<java.lang.Object>' (cl=0x0) 06-28 08:15:39.882 26191-26191/com.craig.examples.xwalk E/art: vtable (7 entries, 11 in super): 06-28 08:15:39.882 26191-26191/com.craig.examples.xwalk E/art: 0: void org.chromium.base.library_loader.LibraryLoader.asyncPrefetchLibrariesToMemory() 06-28 08:15:39.882 26191-26191/com.craig.examples.xwalk E/art: 1: void org.chromium.base.library_loader.LibraryLoader.ensureInitialized(android.content.Context) 06-28 08:15:39.882 26191-26191/com.craig.examples.xwalk E/art: 2: void org.chromium.base.library_loader.LibraryLoader.initialize() 06-28 08:15:39.882 26191-26191/com.craig.examples.xwalk E/art: 3: void org.chromium.base.library_loader.LibraryLoader.loadNow(android.content.Context) 06-28 08:15:39.882 26191-26191/com.craig.examples.xwalk E/art: 4: void org.chromium.base.library_loader.LibraryLoader.onNativeInitializationComplete(android.content.Context) 06-28 08:15:39.882 26191-26191/com.craig.examples.xwalk E/art: 5: void org.chromium.base.library_loader.LibraryLoader.registerRendererProcessHistogram(boolean, boolean) 06-28 08:15:39.882 26191-26191/com.craig.examples.xwalk E/art: 6: void org.chromium.base.library_loader.LibraryLoader.switchCommandLineForWebView() 06-28 08:15:39.882 26191-26191/com.craig.examples.xwalk E/art: direct methods (20 entries): 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 0: void org.chromium.base.library_loader.LibraryLoader.<clinit>() 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 1: void org.chromium.base.library_loader.LibraryLoader.<init>(int) 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 2: boolean org.chromium.base.library_loader.LibraryLoader.access$000() 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 3: void org.chromium.base.library_loader.LibraryLoader.ensureCommandLineSwitchedAlreadyLocked() 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 4: org.chromium.base.library_loader.LibraryLoader org.chromium.base.library_loader.LibraryLoader.get(int) 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 5: java.lang.String org.chromium.base.library_loader.LibraryLoader.getLibraryApkPath(android.content.Context) 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 6: int org.chromium.base.library_loader.LibraryLoader.getLibraryLoadFromApkStatus(android.content.Context) 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 7: int org.chromium.base.library_loader.LibraryLoader.getLibraryProcessType() 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 8: void org.chromium.base.library_loader.LibraryLoader.initializeAlreadyLocked() 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 9: boolean org.chromium.base.library_loader.LibraryLoader.isAbiSplit(java.lang.String) 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 10: boolean org.chromium.base.library_loader.LibraryLoader.isInitialized() 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 11: void org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(android.content.Context) 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 12: void org.chromium.base.library_loader.LibraryLoader.loadLibrary(org.chromium.base.library_loader.Linker, java.lang.String, java.lang.String) 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 13: boolean org.chromium.base.library_loader.LibraryLoader.nativeForkAndPrefetchNativeLibrary() 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 14: java.lang.String org.chromium.base.library_loader.LibraryLoader.nativeGetVersionNumber() 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 15: void org.chromium.base.library_loader.LibraryLoader.nativeInitCommandLine(java.lang.String[]) 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 16: boolean org.chromium.base.library_loader.LibraryLoader.nativeLibraryLoaded() 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 17: void org.chromium.base.library_loader.LibraryLoader.nativeRecordChromiumAndroidLinkerBrowserHistogram(boolean, boolean, int, long) 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 18: void org.chromium.base.library_loader.LibraryLoader.nativeRegisterChromiumAndroidLinkerRendererHistogram(boolean, boolean, long) 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 19: void org.chromium.base.library_loader.LibraryLoader.recordBrowserProcessHistogram(android.content.Context) 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: static fields (5 entries): 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 0: boolean org.chromium.base.library_loader.LibraryLoader.$assertionsDisabled 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 1: boolean org.chromium.base.library_loader.LibraryLoader.DEBUG 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 2: java.lang.String org.chromium.base.library_loader.LibraryLoader.TAG 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 3: org.chromium.base.library_loader.LibraryLoader org.chromium.base.library_loader.LibraryLoader.sInstance 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 4: java.lang.Object org.chromium.base.library_loader.LibraryLoader.sLock 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: instance fields (9 entries): 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 0: boolean org.chromium.base.library_loader.LibraryLoader.mCommandLineSwitched 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 1: boolean org.chromium.base.library_loader.LibraryLoader.mInitialized 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 2: boolean org.chromium.base.library_loader.LibraryLoader.mIsUsingBrowserSharedRelros 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 3: long org.chromium.base.library_loader.LibraryLoader.mLibraryLoadTimeMs 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 4: int org.chromium.base.library_loader.LibraryLoader.mLibraryProcessType 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 5: boolean org.chromium.base.library_loader.LibraryLoader.mLibraryWasLoadedFromApk 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 6: boolean org.chromium.base.library_loader.LibraryLoader.mLoadAtFixedAddressFailed 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 7: boolean org.chromium.base.library_loader.LibraryLoader.mLoaded 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: 8: java.util.concurrent.atomic.AtomicBoolean org.chromium.base.library_loader.LibraryLoader.mPrefetchLibraryHasBeenCalled 06-28 08:15:39.883 26191-26191/com.craig.examples.xwalk E/art: Failed to register native method org.chromium.base.library_loader.LibraryLoader.nativePercentageOfResidentNativeLibraryCode()I in /data/app/com.craig.examples.xwalk-1/base.apk 06-28 08:15:39.884 26191-26191/com.craig.examples.xwalk E/chromium: [0628/081539:ERROR:jni_generator_helper.h(28)] RegisterNatives failed in gen/base/jni/LibraryLoader_jni.h 06-28 08:15:39.886 26191-26191/com.craig.examples.xwalk D/XWalkLib: java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/com.craig.examples.xwalk-1/lib/arm/libxwalkcore.so" 06-28 08:15:39.886 26191-26191/com.craig.examples.xwalk D/XWalkLib: Mismatch of CPU architecture 06-28 08:15:39.890 26191-26191/com.craig.examples.xwalk D/AndroidRuntime: Shutting down VM 06-28 08:15:39.894 26191-26191/com.craig.examples.xwalk E/AndroidRuntime: FATAL EXCEPTION: main Process: com.craig.examples.xwalk, PID: 26191 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.craig.examples.xwalk/com.craig.examples.xwalk.MainActivity}: android.view.InflateException: Binary XML file line #49: Error inflating class org.xwalk.core.XWalkView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2339) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413) at android.app.ActivityThread.access$800(ActivityThread.java:155) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5343) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700) Caused by: android.view.InflateException: Binary XML file line #49: Error inflating class org.xwalk.core.XWalkView at android.view.LayoutInflater.createView(LayoutInflater.java:633) 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.rInflate(LayoutInflater.java:809) at android.view.LayoutInflater.inflate(LayoutInflater.java:504) at android.view.LayoutInflater.inflate(LayoutInflater.java:414) at android.view.LayoutInflater.inflate(LayoutInflater.java:365) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:267) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:129) at com.craig.examples.xwalk.MainActivity.onCreate(MainActivity.java:33) at android.app.Activity.performCreate(Activity.java:6010) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)  at android.app.ActivityThread.access$800(ActivityThread.java:155)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:135)  at android.app.ActivityThread.main(ActivityThread.java:5343)  at java.lang.reflect.Method.invoke(Native Method)  at java.lang.reflect.Method.invoke(Method.java:372)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)  Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.newInstance(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:288) at android.view.LayoutInflater.createView(LayoutInflater.java:607) 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.rInflate(LayoutInflater.java:809)  at android.view.LayoutInflater.inflate(LayoutInflater.java:504)  at android.view.LayoutInflater.inflate(LayoutInflater.java:414)  at android.view.LayoutInflater.inflate(LayoutInflater.java:365)  at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:267)  at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:129)  at com.craig.examples.xwalk.MainActivity.onCreate(MainActivity.java:33)  at android.app.Activity.performCreate(Activity.java:6010)  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)  at android.app.ActivityThread.access$800(ActivityThread.java:155)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:135)  at android.app.ActivityThread.main(ActivityThread.java:5343)  at java.lang.reflect.Method.invoke(Native Method)  at java.lang.reflect.Method.invoke(Method.java:372)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)  Caused by: junit.framework.AssertionFailedError: Please have your activity extend XWalkActivity for shared mode at junit.framework.Assert.fail(Assert.java:50) at org.xwalk.core.XWalkCoreWrapper.initEmbeddedMode(XWalkCoreWrapper.java:220) at org.xwalk.core.XWalkView.reflectionInit(XWalkView.java:1451) at org.xwalk.core.XWalkView.<init>(XWalkView.java:237) at java.lang.reflect.Constructor.newInstance(Native Method)  at java.lang.reflect.Constructor.newInstance(Constructor.java:288)  at android.view.LayoutInflater.createView(LayoutInflater.java:607)  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.rInflate(LayoutInflater.java:809)  at android.view.LayoutInflater.inflate(LayoutInflater.java:504)  at android.view.LayoutInflater.inflate(LayoutInflater.java:414)  at android.view.LayoutInflater.inflate(LayoutInflater.java:365)  at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:267)  at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:129)  at com.craig.examples.xwalk.MainActivity.onCreate(MainActivity.java:33)  at android.app.Activity.performCreate(Activity.java:6010)  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)  at android.app.ActivityThread.access$800(ActivityThread.java:155)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:135)  at android.app.ActivityThread.main(ActivityThread.java:5343)  at java.lang.reflect.Method.invoke(Native Method)  at java.lang.reflect.Method.invoke(Method.java:372)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700) 

    JIRA | 5 months ago | Clifton Craig
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.craig.examples.xwalk/com.craig.examples.xwalk.MainActivity}: android.view.InflateException: Binary XML file line #49: Error inflating class org.xwalk.core.XWalkView
  6. 0

    junit.framework.AssertionFailedError

    GitHub | 3 years ago | iheanyi
    junit.framework.AssertionFailedError

    4 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. junit.framework.AssertionFailedError

      No message provided

      at junit.framework.Assert.fail()
    2. JUnit
      Assert.fail
      1. junit.framework.Assert.fail(Assert.java:48)
      2. junit.framework.Assert.fail(Assert.java:56)
      2 frames
    3. org.xwalk.core
      XWalkView.<init>
      1. org.xwalk.core.XWalkActivity.onXWalkRuntimeError(XWalkActivity.java:179)
      2. org.xwalk.core.XWalkActivity.onXWalkLibraryRuntimeError(XWalkActivity.java:117)
      3. org.xwalk.core.XWalkCoreWrapper.handleException(XWalkCoreWrapper.java:237)
      4. org.xwalk.core.ReflectConstructor.handleException(ReflectConstructor.java:78)
      5. org.xwalk.core.ReflectConstructor.newInstance(ReflectConstructor.java:60)
      6. org.xwalk.core.XWalkView.reflectionInit(XWalkView.java:662)
      7. org.xwalk.core.XWalkView.<init>(XWalkView.java:209)
      7 frames
    4. com.company.product
      BrowserActivity.onXWalkReady
      1. com.company.product.HTML5WebView.<init>(HTML5WebView.java:48)
      2. com.company.product.BrowserActivity.applicationInit(BrowserActivity.java:576)
      3. com.company.product.BrowserActivity.onXWalkReady(BrowserActivity.java:2590)
      3 frames
    5. org.xwalk.core
      XWalkActivity.onStart
      1. org.xwalk.core.XWalkActivity.onXWalkLibraryMatched(XWalkActivity.java:156)
      2. org.xwalk.core.XWalkCoreWrapper.check(XWalkCoreWrapper.java:64)
      3. org.xwalk.core.XWalkCoreWrapper.check(XWalkCoreWrapper.java:51)
      4. org.xwalk.core.XWalkActivity.onStart(XWalkActivity.java:84)
      4 frames
    6. com.company.product
      BrowserActivity.onStart
      1. com.company.product.BrowserActivity.onStart(BrowserActivity.java:2570)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1188)
      2. android.app.Activity.performStart(Activity.java:5382)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2279)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2362)
      5. android.app.ActivityThread.access$700(ActivityThread.java:168)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:5493)
      9 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:525)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1209)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1025)
      2 frames
    10. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame