Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.0 Beta
-
None
-
21e5d77e85ced10db6fe9c1bf2e0461195e1560c
Description
1) Create a simple Qt Quick application from Qt Creator with QtQuick.Controls 1.2.
2) Deploy it to a device.
3) At startup you get the following debug output:
D/dalvikvm(28745): Shared lib '/data/data/org.qtproject.example.untitled18/lib/libQt5QuickParticles.so' already loaded in same CL 0x41eda9a0 W/ResourceType(28745): Skipping entry 0x1080b7e in package table 0 because it is not complex! W/System.err(28745): java.lang.NullPointerException W/System.err(28745): at org.qtproject.qt5.android.ExtractStyle.getGradientDrawable(ExtractStyle.java:650) W/System.err(28745): at org.qtproject.qt5.android.ExtractStyle.getDrawable(ExtractStyle.java:840) W/System.err(28745): at org.qtproject.qt5.android.ExtractStyle.getStateListDrawable(ExtractStyle.java:625) W/System.err(28745): at org.qtproject.qt5.android.ExtractStyle.getDrawable(ExtractStyle.java:836) W/System.err(28745): at org.qtproject.qt5.android.ExtractStyle.extractWindow(ExtractStyle.java:1716) W/System.err(28745): at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:1753) W/System.err(28745): at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:429) W/System.err(28745): at java.lang.reflect.Method.invokeNative(Native Method) W/System.err(28745): at java.lang.reflect.Method.invoke(Method.java:515) W/System.err(28745): at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245) W/System.err(28745): at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655) W/System.err(28745): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895) W/System.err(28745): at android.app.Activity.performCreate(Activity.java:5459) W/System.err(28745): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) W/System.err(28745): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364) W/System.err(28745): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2458) W/System.err(28745): at android.app.ActivityThread.access$900(ActivityThread.java:172) W/System.err(28745): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1305) W/System.err(28745): at android.os.Handler.dispatchMessage(Handler.java:102) W/System.err(28745): at android.os.Looper.loop(Looper.java:146) W/System.err(28745): at android.app.ActivityThread.main(ActivityThread.java:5598) W/System.err(28745): at java.lang.reflect.Method.invokeNative(Native Method) W/System.err(28745): at java.lang.reflect.Method.invoke(Method.java:515) W/System.err(28745): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283) W/System.err(28745): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) W/System.err(28745): at dalvik.system.NativeStart.main(Native Method) E/Qmage (28745): onDecode : QmageDecodeFrame 20140421 Rev.6376
- This happens on 2 out of 5 devices I have tested on: Galaxy Tab 3 Lite SM-T210 and http://www.gsmarena.com/allview_ax3_party-6080.php. These are the slowest 2 devices out of the 5 Android devices.
- Despite the debug output, the app does not crash and it continues to run.
Furthermore on the http://www.gsmarena.com/allview_ax3_party-6080.php I also get additional error messages at java.lang.NoSuchFieldException: View_paddingEnd:
W/System.err(29466): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809) W/System.err(29466): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576) W/System.err(29466): at dalvik.system.NativeStart.main(Native Method) W/System.err(29466): java.lang.NoSuchFieldException: View_paddingEnd W/System.err(29466): at java.lang.Class.getDeclaredField(Class.java:631) W/System.err(29466): at org.qtproject.qt5.android.ExtractStyle.getField(ExtractStyle.java:401) W/System.err(29466): at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:177) W/System.err(29466): at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:429) W/System.err(29466): at java.lang.reflect.Method.invokeNative(Native Method) W/System.err(29466): at java.lang.reflect.Method.invoke(Method.java:511) W/System.err(29466): at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245) W/System.err(29466): at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655) W/System.err(29466): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895) W/System.err(29466): at android.app.Activity.performCreate(Activity.java:4479) W/System.err(29466): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1050) W/System.err(29466): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2041) W/System.err(29466): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104) W/System.err(29466): at android.app.ActivityThread.access$600(ActivityThread.java:134) W/System.err(29466): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247) W/System.err(29466): at android.os.Handler.dispatchMessage(Handler.java:99) W/System.err(29466): at android.os.Looper.loop(Looper.java:154) W/System.err(29466): at android.app.ActivityThread.main(ActivityThread.java:4624) W/System.err(29466): at java.lang.reflect.Method.invokeNative(Native Method) W/System.err(29466): at java.lang.reflect.Method.invoke(Method.java:511) W/System.err(29466): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809) W/System.err(29466): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576) W/System.err(29466): at dalvik.system.NativeStart.main(Native Method) W/ResourceType(29466): Skipping entry 0x10804a5 in package table 0 because it is not complex! D/dalvikvm(29466): GC_CONCURRENT freed 351K, 9% free 6988K/7607K, paused 2ms+2ms