java.lang.RuntimeException

tip

Your xml configuration is invalid. Check it with an xml validator.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Impacted Cases ============== ISV cannot use xwalk lite version to create own apps. Reproduce Test Steps ==================== 1. Use eclipse to import xwalk lite embedded core lib project named project1 2. Build this project1 3. Use eclipse to create new android app project as instructions on crosswalk official website for embedded mode, the project is project2 4. Add support lib (ARM version) from project1 to project2 5. Build the app and deploy it to XiaoMi 3 and run it Expected Outcome ================ Loading crosswalk official website page Actual Outcome ============== Crashed Got following issues: 08-24 20:09:43.712: I/Process(10761): Sending signal. PID: 10761 SIG: 9 08-24 20:09:44.772: D/dalvikvm(10798): GetMethodID: not returning static method Landroid/os/Process;.getTotalMemory ()J 08-24 20:09:44.772: D/dalvikvm(10798): GetMethodID: not returning static method Landroid/os/Process;.getFreeMemory ()J 08-24 20:09:44.812: D/XWalkLib(10798): Init embedded mode 08-24 20:09:44.812: D/XWalkLib(10798): lib version, api:3, min api:3 08-24 20:09:44.812: D/XWalkLib(10798): app version, api:3, min api:3 08-24 20:09:44.832: D/dalvikvm(10798): Trying to load lib /data/app-lib/com.muji.xwalkembed-1/libxwalkdummy.so 0x4224e390 08-24 20:09:44.832: D/dalvikvm(10798): Added shared lib /data/app-lib/com.muji.xwalkembed-1/libxwalkdummy.so 0x4224e390 08-24 20:09:44.832: D/dalvikvm(10798): No JNI_OnLoad found in /data/app-lib/com.muji.xwalkembed-1/libxwalkdummy.so 0x4224e390, skipping init 08-24 20:09:44.832: I/LibraryLoader(10798): Time to load native libraries: 1 ms (timestamps 8531-8532) 08-24 20:09:44.832: W/dalvikvm(10798): No implementation found for native Lorg/chromium/base/library_loader/LibraryLoader;.nativeGetVersionNumber:()Ljava/lang/String; 08-24 20:09:44.832: D/XWalkLib(10798): Failed to load native library 08-24 20:09:44.832: D/AndroidRuntime(10798): Shutting down VM 08-24 20:09:44.832: W/dalvikvm(10798): threadid=1: thread exiting with uncaught exception (group=0x41757d58) 08-24 20:09:44.832: E/AndroidRuntime(10798): FATAL EXCEPTION: main 08-24 20:09:44.832: E/AndroidRuntime(10798): Process: com.muji.xwalkembed, PID: 10798 08-24 20:09:44.832: E/AndroidRuntime(10798): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.muji.xwalkembed/com.muji.xwalkembed.MainActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class org.xwalk.core.XWalkView 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2190) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2239) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.app.ActivityThread.access$800(ActivityThread.java:141) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1202) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.os.Handler.dispatchMessage(Handler.java:102) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.os.Looper.loop(Looper.java:136) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.app.ActivityThread.main(ActivityThread.java:5047) 08-24 20:09:44.832: E/AndroidRuntime(10798): at java.lang.reflect.Method.invokeNative(Native Method) 08-24 20:09:44.832: E/AndroidRuntime(10798): at java.lang.reflect.Method.invoke(Method.java:515) 08-24 20:09:44.832: E/AndroidRuntime(10798): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 08-24 20:09:44.832: E/AndroidRuntime(10798): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609) 08-24 20:09:44.832: E/AndroidRuntime(10798): at dalvik.system.NativeStart.main(Native Method) 08-24 20:09:44.832: E/AndroidRuntime(10798): Caused by: android.view.InflateException: Binary XML file line #1: Error inflating class org.xwalk.core.XWalkView 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.view.LayoutInflater.createView(LayoutInflater.java:623) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:699) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.view.LayoutInflater.inflate(LayoutInflater.java:472) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.view.LayoutInflater.inflate(LayoutInflater.java:400) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.view.LayoutInflater.inflate(LayoutInflater.java:353) 08-24 20:09:44.832: E/AndroidRuntime(10798): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.app.Activity.setContentView(Activity.java:1947) Test Case Source Code ===================== Test Builds =========== Issue Analysis ==============
    via by Y.Y.,
  • Impacted Cases ============== ISV cannot use xwalk lite version to create own apps. Reproduce Test Steps ==================== 1. Use eclipse to import xwalk lite embedded core lib project named project1 2. Build this project1 3. Use eclipse to create new android app project as instructions on crosswalk official website for embedded mode, the project is project2 4. Add support lib (ARM version) from project1 to project2 5. Build the app and deploy it to XiaoMi 3 and run it Expected Outcome ================ Loading crosswalk official website page Actual Outcome ============== Crashed Got following issues: 08-24 20:09:43.712: I/Process(10761): Sending signal. PID: 10761 SIG: 9 08-24 20:09:44.772: D/dalvikvm(10798): GetMethodID: not returning static method Landroid/os/Process;.getTotalMemory ()J 08-24 20:09:44.772: D/dalvikvm(10798): GetMethodID: not returning static method Landroid/os/Process;.getFreeMemory ()J 08-24 20:09:44.812: D/XWalkLib(10798): Init embedded mode 08-24 20:09:44.812: D/XWalkLib(10798): lib version, api:3, min api:3 08-24 20:09:44.812: D/XWalkLib(10798): app version, api:3, min api:3 08-24 20:09:44.832: D/dalvikvm(10798): Trying to load lib /data/app-lib/com.muji.xwalkembed-1/libxwalkdummy.so 0x4224e390 08-24 20:09:44.832: D/dalvikvm(10798): Added shared lib /data/app-lib/com.muji.xwalkembed-1/libxwalkdummy.so 0x4224e390 08-24 20:09:44.832: D/dalvikvm(10798): No JNI_OnLoad found in /data/app-lib/com.muji.xwalkembed-1/libxwalkdummy.so 0x4224e390, skipping init 08-24 20:09:44.832: I/LibraryLoader(10798): Time to load native libraries: 1 ms (timestamps 8531-8532) 08-24 20:09:44.832: W/dalvikvm(10798): No implementation found for native Lorg/chromium/base/library_loader/LibraryLoader;.nativeGetVersionNumber:()Ljava/lang/String; 08-24 20:09:44.832: D/XWalkLib(10798): Failed to load native library 08-24 20:09:44.832: D/AndroidRuntime(10798): Shutting down VM 08-24 20:09:44.832: W/dalvikvm(10798): threadid=1: thread exiting with uncaught exception (group=0x41757d58) 08-24 20:09:44.832: E/AndroidRuntime(10798): FATAL EXCEPTION: main 08-24 20:09:44.832: E/AndroidRuntime(10798): Process: com.muji.xwalkembed, PID: 10798 08-24 20:09:44.832: E/AndroidRuntime(10798): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.muji.xwalkembed/com.muji.xwalkembed.MainActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class org.xwalk.core.XWalkView 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2190) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2239) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.app.ActivityThread.access$800(ActivityThread.java:141) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1202) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.os.Handler.dispatchMessage(Handler.java:102) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.os.Looper.loop(Looper.java:136) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.app.ActivityThread.main(ActivityThread.java:5047) 08-24 20:09:44.832: E/AndroidRuntime(10798): at java.lang.reflect.Method.invokeNative(Native Method) 08-24 20:09:44.832: E/AndroidRuntime(10798): at java.lang.reflect.Method.invoke(Method.java:515) 08-24 20:09:44.832: E/AndroidRuntime(10798): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 08-24 20:09:44.832: E/AndroidRuntime(10798): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609) 08-24 20:09:44.832: E/AndroidRuntime(10798): at dalvik.system.NativeStart.main(Native Method) 08-24 20:09:44.832: E/AndroidRuntime(10798): Caused by: android.view.InflateException: Binary XML file line #1: Error inflating class org.xwalk.core.XWalkView 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.view.LayoutInflater.createView(LayoutInflater.java:623) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:699) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.view.LayoutInflater.inflate(LayoutInflater.java:472) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.view.LayoutInflater.inflate(LayoutInflater.java:400) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.view.LayoutInflater.inflate(LayoutInflater.java:353) 08-24 20:09:44.832: E/AndroidRuntime(10798): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290) 08-24 20:09:44.832: E/AndroidRuntime(10798): at android.app.Activity.setContentView(Activity.java:1947) Test Case Source Code ===================== Test Builds =========== Issue Analysis ==============
    via by Y.Y.,
  • android - inflaterException in fragment
    via Stack Overflow by user2828965
    ,
  • Why does my map won't work?
    via Stack Overflow by Melissa
    ,
  • Unable to load fragment into activity
    via Stack Overflow by donquixto Dac
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.muji.xwalkembed/com.muji.xwalkembed.MainActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class org.xwalk.core.XWalkView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2190) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2239) at android.app.ActivityThread.access$800(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1202) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5047) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #1: Error inflating class org.xwalk.core.XWalkView at android.view.LayoutInflater.createView(LayoutInflater.java:623) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:699) at android.view.LayoutInflater.inflate(LayoutInflater.java:472) at android.view.LayoutInflater.inflate(LayoutInflater.java:400) at android.view.LayoutInflater.inflate(LayoutInflater.java:353) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290) at android.app.Activity.setContentView(Activity.java:1947)

    Users with the same issue

    rprp
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    poroszdporoszd
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    77 more bugmates