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

Android startup crash related to style extraction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 6.6.3
    • Quick: Controls 2
    • Android
    • 2024wk40s3FOQtforAndroid, 2024wk44s3FOQtforAndroid, 2024wk50s3FOQtforAndroid

    Description

      Just seen this on Qt 6.6.3 Android. Happened to me just once. I thought reporting a rare crash log would be helpful.

      I Qt      : qt started
      W test.test: Accessing hidden field Landroid/graphics/drawable/InsetDrawable;->mState:Landroid/graphics/drawable/InsetDrawable$InsetState; (max-target-r, reflection, denied)
      W System.err: java.lang.NoSuchFieldException: No field mState in class Landroid/graphics/drawable/InsetDrawable; (declaration of 'android.graphics.drawable.InsetDrawable' appears in /system/framework/framework.jar)
      W System.err:     at java.lang.Class.getDeclaredField(Native Method)
      W System.err:     at org.qtproject.qt.android.ExtractStyle.getAccessibleField(ExtractStyle.java:266)
      W System.err:     at org.qtproject.qt.android.ExtractStyle.getDrawable(ExtractStyle.java:843)
      W System.err:     at org.qtproject.qt.android.ExtractStyle.getLayerDrawable(ExtractStyle.java:398)
      W System.err:     at org.qtproject.qt.android.ExtractStyle.getRippleDrawable(ExtractStyle.java:569)
      W System.err:     at org.qtproject.qt.android.ExtractStyle.getDrawable(ExtractStyle.java:777)
      W System.err:     at org.qtproject.qt.android.ExtractStyle.extractViewInformation(ExtractStyle.java:998)
      W System.err:     at org.qtproject.qt.android.ExtractStyle.extractTextAppearanceInformation(ExtractStyle.java:1117)
      W System.err:     at org.qtproject.qt.android.ExtractStyle.extractTextAppearanceInformation(ExtractStyle.java:1112)
      W System.err:     at org.qtproject.qt.android.ExtractStyle.<init>(ExtractStyle.java:201)
      W System.err:     at org.qtproject.qt.android.ExtractStyle.runIfNeeded(ExtractStyle.java:166)
      W System.err:     at org.qtproject.qt.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:725)

      Attachments

        Issue Links

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

          Activity

            People

              qtandroidteam Qt Android Team
              flaviotordini Flavio Tordini
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes