android.view.InflateException: Binary XML file line #18: Error inflating class org.chromium.ui.ColorPickerAdvanced

JIRA | Raphael Kubo da Costa | 2 months ago
  1. 0

    See the attached app, which can be built with {{crosswalk-pkg -p android -a shared -c /path/to/xwalk_app_template /path/to/app}}. Clicking the color picker causes the app to crash with a backtrace like this: {code} W/System.err(13055): android.view.InflateException: Binary XML file line #18: Error inflating class org.chromium.ui.ColorPickerAdvanced W/System.err(13055): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:698) W/System.err(13055): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746) W/System.err(13055): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749) W/System.err(13055): at android.view.LayoutInflater.inflate(LayoutInflater.java:489) W/System.err(13055): at android.view.LayoutInflater.inflate(LayoutInflater.java:396) W/System.err(13055): at android.view.LayoutInflater.inflate(LayoutInflater.java:352) W/System.err(13055): at org.chromium.ui.ColorPickerDialog.<init>(ColorPickerDialog.java:97) W/System.err(13055): at org.chromium.components.web_contents_delegate_android.ColorChooserAndroid.<init>(ColorChooserAndroid.java:37) W/System.err(13055): at org.chromium.components.web_contents_delegate_android.ColorChooserAndroid.createColorChooserAndroid(ColorChooserAndroid.java:58) W/System.err(13055): at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method) W/System.err(13055): at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39) W/System.err(13055): at android.os.Handler.dispatchMessage(Handler.java:108) W/System.err(13055): at android.os.Looper.loop(Looper.java:152) W/System.err(13055): at android.app.ActivityThread.main(ActivityThread.java:5691) W/System.err(13055): at java.lang.reflect.Method.invokeNative(Native Method) W/System.err(13055): at java.lang.reflect.Method.invoke(Method.java:511) W/System.err(13055): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) W/System.err(13055): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) W/System.err(13055): at dalvik.system.NativeStart.main(Native Method) W/System.err(13055): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.chromium.ui.ColorPickerAdvanced" on path: /data/app/org.xwalk.color_picker_crash-1.apk W/System.err(13055): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65) D/dalvikvm(13055): Rejecting registerization due to +iget-object-quick v7, v9, (#8) W/System.err(13055): at java.lang.ClassLoader.loadClass(ClassLoader.java:501) W/System.err(13055): at java.lang.ClassLoader.loadClass(ClassLoader.java:461) W/System.err(13055): at android.view.LayoutInflater.createView(LayoutInflater.java:552) W/System.err(13055): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687) W/System.err(13055): ... 18 more {code} I've verified this to crash on our latest stable release (Crosswalk 21), and it's possible it's always been broken in shared mode.

    JIRA | 2 months ago | Raphael Kubo da Costa
    android.view.InflateException: Binary XML file line #18: Error inflating class org.chromium.ui.ColorPickerAdvanced
  2. 0

    Selendroid socket error

    GitHub | 3 years ago | bootstraponline
    java.lang.ClassNotFoundException: com.fooapp.alphacom.fooapp.activity.Splash
  3. 0

    ClassNotFound org.stuff.clojuroid.Application

    GitHub | 4 years ago | kenrestivo
    java.lang.RuntimeException: Unable to instantiate application org.stuff.clojuroid.Application: java.lang.ClassNotFoundException: Didn't find class "org.stuff.clojuroid.Application" on path: /data/app/org.stuff.clojuroid-1.apk
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    App did not start (RuntimeError)

    GitHub | 2 years ago | Vinish123
    java.lang.RuntimeException: java.lang.ClassNotFoundException: com.nexercise.client.android.activities.SplashActivity
  6. 0

    App did not start (RuntimeError)

    GitHub | 2 years ago | Vinish123
    java.lang.RuntimeException: java.lang.ClassNotFoundException: com.nexercise.client.android.activities.SplashActivity

  1. bmacedo 1 times, last 1 week ago
  2. Indri Yunita 1 times, last 1 week ago
  3. danleyb2Interintel 12 times, last 2 weeks ago
  4. dealloc 3 times, last 2 weeks ago
  5. filpgame 2 times, last 2 weeks ago
67 more registered users
28 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.ClassNotFoundException

    Didn't find class "org.chromium.ui.ColorPickerAdvanced" on path: /data/app/org.xwalk.color_picker_crash-1.apk

    at dalvik.system.BaseDexClassLoader.findClass()
  2. Android Platform
    BaseDexClassLoader.findClass
    1. dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
    1 frame