Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48703

[REG 5.5.1->5.6] Application doesn't start on Android 6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • 5.6.0 RC
    • 5.6.0 Alpha
    • None
    • Latest 5.6 build, Nexus 5(Android 6.0, Build number: MRA58K)
    • Android

    Description

      I get a crash in the java side of things, unsure how to proceed.

      10-11 14:57:37.160 21080 21080 W System.err: java.lang.NoSuchFieldException: mColors
      10-11 14:57:37.160 21080 21080 W System.err:    at java.lang.Class.getField(Class.java:891)
      10-11 14:57:37.161 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.getGradientDrawable(ExtractStyle.java:674)
      10-11 14:57:37.161 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.getDrawable(ExtractStyle.java:1042)
      10-11 14:57:37.161 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.getStateListDrawable(ExtractStyle.java:650)
      10-11 14:57:37.161 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.getDrawable(ExtractStyle.java:1038)
      10-11 14:57:37.161 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.extractWindow(ExtractStyle.java:1951)
      10-11 14:57:37.161 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:2010)
      10-11 14:57:37.161 21080 21080 W System.err:    at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:466)
      10-11 14:57:37.161 21080 21080 W System.err:    at java.lang.reflect.Method.invoke(Native Method)
      10-11 14:57:37.161 21080 21080 W System.err:    at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
      10-11 14:57:37.161 21080 21080 W System.err:    at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
      10-11 14:57:37.161 21080 21080 W System.err:    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
      10-11 14:57:37.161 21080 21080 W System.err:    at android.app.Activity.performCreate(Activity.java:6237)
      10-11 14:57:37.161 21080 21080 W System.err:    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
      10-11 14:57:37.161 21080 21080 W System.err:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
      10-11 14:57:37.161 21080 21080 W System.err:    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
      10-11 14:57:37.161 21080 21080 W System.err:    at android.app.ActivityThread.-wrap11(ActivityThread.java)
      10-11 14:57:37.161 21080 21080 W System.err:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
      10-11 14:57:37.161 21080 21080 W System.err:    at android.os.Handler.dispatchMessage(Handler.java:102)
      10-11 14:57:37.161 21080 21080 W System.err:    at android.os.Looper.loop(Looper.java:148)
      10-11 14:57:37.161 21080 21080 W System.err:    at android.app.ActivityThread.main(ActivityThread.java:5417)
      10-11 14:57:37.161 21080 21080 W System.err:    at java.lang.reflect.Method.invoke(Native Method)
      10-11 14:57:37.161 21080 21080 W System.err:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      10-11 14:57:37.161 21080 21080 W System.err:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      10-11 14:57:37.391 21080 21080 W System.err: java.lang.NoSuchFieldException: No field mDrawable in class Landroid/graphics/drawable/RotateDrawable$RotateState; (declaration of 'android.graphics.drawable.RotateDrawable$RotateState' appears in /system/framework/framework.jar)
      10-11 14:57:37.391 21080 21080 W System.err:    at java.lang.Class.getDeclaredField(Native Method)
      10-11 14:57:37.391 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.getAccessibleField(ExtractStyle.java:397)
      10-11 14:57:37.391 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.getRotateDrawable(ExtractStyle.java:710)
      10-11 14:57:37.391 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.getDrawable(ExtractStyle.java:1046)
      10-11 14:57:37.391 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.getLayerDrawable(ExtractStyle.java:621)
      10-11 14:57:37.391 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.getDrawable(ExtractStyle.java:1034)
      10-11 14:57:37.391 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.extractProgressBarInfo(ExtractStyle.java:1668)
      10-11 14:57:37.391 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.extractProgressBar(ExtractStyle.java:1680)
      10-11 14:57:37.391 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:2014)
      10-11 14:57:37.391 21080 21080 W System.err:    at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:466)
      10-11 14:57:37.391 21080 21080 W System.err:    at java.lang.reflect.Method.invoke(Native Method)
      10-11 14:57:37.391 21080 21080 W System.err:    at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
      10-11 14:57:37.391 21080 21080 W System.err:    at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
      10-11 14:57:37.391 21080 21080 W System.err:    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
      10-11 14:57:37.391 21080 21080 W System.err:    at android.app.Activity.performCreate(Activity.java:6237)
      10-11 14:57:37.391 21080 21080 W System.err:    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
      10-11 14:57:37.391 21080 21080 W System.err:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
      10-11 14:57:37.391 21080 21080 W System.err:    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
      10-11 14:57:37.391 21080 21080 W System.err:    at android.app.ActivityThread.-wrap11(ActivityThread.java)
      10-11 14:57:37.391 21080 21080 W System.err:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
      10-11 14:57:37.391 21080 21080 W System.err:    at android.os.Handler.dispatchMessage(Handler.java:102)
      10-11 14:57:37.391 21080 21080 W System.err:    at android.os.Looper.loop(Looper.java:148)
      10-11 14:57:37.391 21080 21080 W System.err:    at android.app.ActivityThread.main(ActivityThread.java:5417)
      10-11 14:57:37.391 21080 21080 W System.err:    at java.lang.reflect.Method.invoke(Native Method)
      10-11 14:57:37.392 21080 21080 W System.err:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      10-11 14:57:37.392 21080 21080 W System.err:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      10-11 14:57:37.392 21080 21080 W System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Field.get(java.lang.Object)' on a null object reference
      10-11 14:57:37.392 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.getRotateDrawable(ExtractStyle.java:710)
      10-11 14:57:37.392 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.getDrawable(ExtractStyle.java:1046)
      10-11 14:57:37.392 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.getLayerDrawable(ExtractStyle.java:621)
      10-11 14:57:37.392 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.getDrawable(ExtractStyle.java:1034)
      10-11 14:57:37.392 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.extractProgressBarInfo(ExtractStyle.java:1668)
      10-11 14:57:37.392 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.extractProgressBar(ExtractStyle.java:1680)
      10-11 14:57:37.392 21080 21080 W System.err:    at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:2014)
      10-11 14:57:37.392 21080 21080 W System.err:    at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:466)
      10-11 14:57:37.392 21080 21080 W System.err:    at java.lang.reflect.Method.invoke(Native Method)
      10-11 14:57:37.392 21080 21080 W System.err:    at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
      10-11 14:57:37.392 21080 21080 W System.err:    at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
      10-11 14:57:37.392 21080 21080 W System.err:    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
      10-11 14:57:37.392 21080 21080 W System.err:    at android.app.Activity.performCreate(Activity.java:6237)
      10-11 14:57:37.392 21080 21080 W System.err:    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
      10-11 14:57:37.392 21080 21080 W System.err:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
      10-11 14:57:37.392 21080 21080 W System.err:    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
      10-11 14:57:37.392 21080 21080 W System.err:    at android.app.ActivityThread.-wrap11(ActivityThread.java)
      10-11 14:57:37.392 21080 21080 W System.err:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
      10-11 14:57:37.392 21080 21080 W System.err:    at android.os.Handler.dispatchMessage(Handler.java:102)
      10-11 14:57:37.392 21080 21080 W System.err:    at android.os.Looper.loop(Looper.java:148)
      10-11 14:57:37.392 21080 21080 W System.err:    at android.app.ActivityThread.main(ActivityThread.java:5417)
      10-11 14:57:37.392 21080 21080 W System.err:    at java.lang.reflect.Method.invoke(Native Method)
      10-11 14:57:37.393 21080 21080 W System.err:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      10-11 14:57:37.393 21080 21080 W System.err:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      10-11 14:57:37.393 21080 21080 W System.err: java.lang.NoSuchFieldException: No field mDrawable in class Landroid/graphics/drawable/RotateDrawable$RotateState; (declaration of 'android.graphics.drawable.RotateDrawable$RotateState' appears in /system/framework/framework.jar)
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              apol-old Aleix Pol (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes