Crash report 7.2: IllegalArgumentException: reportSizeConfigurations
Fatal Exception: java.lang.IllegalArgumentException: reportSizeConfigurations: ActivityRecord not found for: Token{e1fb44f ActivityRecord{8954eaed0 u0 org.wordpress.android/.ui.main.WPMainActivity t13 f}}
at android.os.Parcel.readException(Parcel.java:1697)
at android.os.Parcel.readException(Parcel.java:1646)
at android.app.ActivityManagerProxy.reportSizeConfigurations(ActivityManagerNative.java:8325)
at android.app.ActivityThread.reportSizeConfigurations(ActivityThread.java:3069)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3012)
at android.app.ActivityThread.-wrap14(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6688)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
This issue only happens on Samsung phones with android 7.0.
You can try to see if this replicates on a Galaxy S6 Edge with Android 7.0 available in Samsung's Developers Remote Test lab here http://developer.samsung.com/remotetestlab/rtlDeviceList.action# (I just tried but they're experiencing some temporary connection problem atm)
I have trouble connecting too =\
It is also happening for Motorola devices on Android 7.0.
Hi @khaykov any idea why it happens in Samsung devices, and is there any solution for this issue?
I am experiencing the same issue with an LG-LS997 on Android 7.0.
Just run into this same issue on a Google Pixel, Android 7.1.2, app crashed upon start, logs here:
06-28 11:55:08.224 10285-10285/org.wordpress.android.beta I/cr_BrowserStartup: Initializing chromium process, singleProcess=true
06-28 11:55:08.243 10285-10285/org.wordpress.android.beta I/Adreno: QUALCOMM build : 6818200, Idb2b4cb785
Build Date : 11/17/16
OpenGL ES Shader Compiler Version: XE031.09.00.04
Local Branch : N25
Remote Branch :
Remote Branch :
Reconstruct Branch :
06-28 11:55:08.339 10285-10413/org.wordpress.android.beta W/cr_BindingManager: Cannot setInForeground() - never saw a connection for the pid: 10285
06-28 11:55:08.375 10285-10423/org.wordpress.android.beta D/NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true
06-28 11:55:08.516 10285-10290/org.wordpress.android.beta I/art: Do partial code cache collection, code=29KB, data=22KB
06-28 11:55:08.516 10285-10290/org.wordpress.android.beta I/art: After code cache collection, code=29KB, data=22KB
06-28 11:55:08.516 10285-10290/org.wordpress.android.beta I/art: Increasing code cache capacity to 128KB
06-28 11:55:08.525 10285-10285/org.wordpress.android.beta D/WordPress-API: AccountStore onRegister
06-28 11:55:08.565 10285-10285/org.wordpress.android.beta D/WordPress-API: SiteStore onRegister
06-28 11:55:08.572 10285-10285/org.wordpress.android.beta D/WordPress-API: PostStore onRegister
06-28 11:55:08.602 10285-10285/org.wordpress.android.beta I/WordPress-UTILS: WordPress.onCreate
06-28 11:55:08.618 10285-10285/org.wordpress.android.beta E/SQLiteLog: (1) no such table: accounts
06-28 11:55:08.623 10285-10285/org.wordpress.android.beta E/SQLiteLog: (1) no such table: tbl_accounts
06-28 11:55:08.628 10285-10285/org.wordpress.android.beta E/SQLiteLog: (1) no such table: posts
06-28 11:55:08.716 10285-10285/org.wordpress.android.beta W/NosaraClient: Package does not have permission android.permission.BLUETOOTH - Nosara Client will not report BT state
06-28 11:55:08.716 10285-10285/org.wordpress.android.beta W/NosaraClient: You can fix this by adding the following to your AndroidManifest.xml file:
<uses-permission android:name="android.permission.BLUETOOTH" />
06-28 11:55:08.786 10285-10290/org.wordpress.android.beta I/art: Do partial code cache collection, code=58KB, data=41KB
06-28 11:55:08.787 10285-10290/org.wordpress.android.beta I/art: After code cache collection, code=58KB, data=41KB
06-28 11:55:08.787 10285-10290/org.wordpress.android.beta I/art: Increasing code cache capacity to 256KB
06-28 11:55:17.076 10285-10285/org.wordpress.android.beta I/WordPress-UTILS: ConnectionChangeReceiver.setEnabled false
06-28 11:55:17.283 10285-10294/org.wordpress.android.beta W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/user/0/org.wordpress.android.beta/databases/wordpress' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.
06-28 11:55:25.843 10285-10690/org.wordpress.android.beta I/stetho: Listening on @stetho_org.wordpress.android.beta_devtools_remote
06-28 11:55:25.893 10285-10285/org.wordpress.android.beta W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
06-28 11:55:26.169 10285-10285/org.wordpress.android.beta D/AndroidRuntime: Shutting down VM
06-28 11:55:26.178 10285-10285/org.wordpress.android.beta E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.wordpress.android.beta, PID: 10285
java.lang.IllegalArgumentException: reportSizeConfigurations: ActivityRecord not found for: Token{25d1fa9 ActivityRecord{6664730 u0 org.wordpress.android.beta/org.wordpress.android.ui.WPLaunchActivity t7074 f}}
at android.os.Parcel.readException(Parcel.java:1688)
at android.os.Parcel.readException(Parcel.java:1637)
at android.app.ActivityManagerProxy.reportSizeConfigurations(ActivityManagerNative.java:6876)
at android.app.ActivityThread.reportSizeConfigurations(ActivityThread.java:2788)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1478)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6121)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
I spent a bit of time on this, but I don't think we have enough information to figure out why this crash is happening. I found that this crash can happen if we try to use a capability a device doesn't have, but it doesn't seem to be the case for us since it's happening in a lot of different devices including Google Pixel. I'll keep it in mind and get back to it if I find anything else.
All Fabric reports I've seen have the user being on the Notifications list. Many reports have logs that indicate long push notifications arriving (capped at 4kb that GCM supports JSON structure in it ending up unterminated). I tried to replicate the capped JSON scenario and managed to cause the exception found in the Fabric logs (JSONException: Unterminated escape sequence at character 4095 ) but that doesn't cause the app to crash at any point. Tested on a Galaxy S6.
I have the same Exception,who can help me?
If it helps, I'm not using WordPress at all and my app also got the issue. So it may be a more general problem. Do anyone have more insights on this ?
Same in my app. Get error reports from users (crashlytics). Reported in goole issue tracker: https://issuetracker.google.com/issues/62427912
I also have same exception for device Pixel 8.0. How can i fix it?
Same problem here, only happens to Samsung devices with android 7.0
Same here! its happening on Samsung S6 android 7.0
Please refer to https://stackoverflow.com/questions/46309428/android-activitythread-reportsizeconfigurations-causes-app-to-freeze-with-black for a fix.
@jollycopper the link described the error and its reason quite well but it didn't describe any solution. Please point me in a direction where I can find any solution.
also reproduced in my app, someone know what the cause? or how to reproduce this scenario?
Fatal Exception: java.lang.IllegalArgumentException: reportSizeConfigurations: ActivityRecord not found for: Token{e7cd7bd ActivityRecord{b584314d0 u0 at android.os.Parcel.readException(Parcel.java:1697) at android.os.Parcel.readException(Parcel.java:1646) at android.app.ActivityManagerProxy.reportSizeConfigurations(ActivityManagerNative.java:8325) at android.app.ActivityThread.reportSizeConfigurations(ActivityThread.java:3069) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3012) at android.app.ActivityThread.-wrap14(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6688) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
I have the same issue on some Samsung and Motorola devices with api 24 and 45 and probably the issue ANR made by:
Environment.getExternalStorageDirectory().getPath();
I will update my app tomorrow and let you now if removing that helped.
(I don't use WordPress but see that WordPress use that code too)
Edit: It helped for me.
I'm having the issue too, outside of WordPress. If that really is the issue, this may help, as it is recommended to verify the external storage exists before accessing. I would personally expect an IOException to be thrown though, not some parcel error.