v4.0 crash report - java.lang.SecurityException: getDataNetworkTypeForSubscriber
See original GitHub issueFrom our google group crash report forum:
USER_COMMENT=
APP_VERSION_CODE=1026
APP_VERSION_NAME=4.0.0
ANDROID_VERSION=11
PHONE_MODEL=DN2103
STACK_TRACE=java.lang.SecurityException: getDataNetworkTypeForSubscriber
at android.os.Parcel.createExceptionOrNull(Parcel.java:2389)
at android.os.Parcel.createException(Parcel.java:2373)
at android.os.Parcel.readException(Parcel.java:2356)
at android.os.Parcel.readException(Parcel.java:2298)
at com.android.internal.telephony.ITelephony$Stub$Proxy.getNetworkTypeForSubscriber(ITelephony.java:8762)
at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:3051)
at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:3015)
at fr.free.nrw.commons.utils.NetworkUtils.getNetworkType(NetworkUtils.java:52)
at fr.free.nrw.commons.utils.DeviceInfoUtil.getConnectionType(DeviceInfoUtil.java:47)
at fr.free.nrw.commons.logging.CommonsLogSender.getExtraInfo(CommonsLogSender.java:78)
at fr.free.nrw.commons.logging.CommonsLogSender.<init>(CommonsLogSender.java:39)
at fr.free.nrw.commons.logging.CommonsLogSender_Factory.get(CommonsLogSender_Factory.java:22)
at fr.free.nrw.commons.logging.CommonsLogSender_Factory.get(CommonsLogSender_Factory.java:9)
at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at fr.free.nrw.commons.di.DaggerCommonsApplicationComponent.injectMoreBottomSheetFragment(DaggerCommonsApplicationComponent.java:1401)
at fr.free.nrw.commons.di.DaggerCommonsApplicationComponent.inject(DaggerCommonsApplicationComponent.java:1332)
at fr.free.nrw.commons.navtab.MoreBottomSheetFragment.onAttach(MoreBottomSheetFragment.java:84)
at androidx.fragment.app.Fragment.performAttach(Fragment.java:2672)
at androidx.fragment.app.FragmentStateManager.attach(FragmentStateManager.java:253)
at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1168)
at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1354)
at androidx.fragment.app.FragmentManager.moveFragmentToExpectedState(FragmentManager.java:1432)
at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1495)
at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:447)
at androidx.fragment.app.FragmentManager.executeOps(FragmentManager.java:2167)
at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1990)
at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1945)
at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1847)
at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:413)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:265)
at android.app.ActivityThread.main(ActivityThread.java:8360)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
getDataNetworkTypeForSubscrib...
v4.0 crash report - java.lang.SecurityException: getDataNetworkTypeForSubscriber commons-app/apps-android-commons#4988.
Read more >GetNetworkType in Android 11 - Stack Overflow
Take runtime permission for READ_PHONE_STATE to ignore crash of getDataNetworkTypeForSubscriber @Override protected void onStart() { super.
Read more >Building with Android 11 results in runtime crash - Unity Forum
java.lang.SecurityException: getDataNetworkTypeForSubscriber ... I'm running the project in Android Studio 4.0 targeting API level 30 and ...
Read more >MIUI 13 App Crash - Spacetime Studios
Here the log: java.lang. ... at com.google.firebase.iid.zzl.zza(Unknown Source:0) ... SecurityException: getDataNetworkTypeForSubscriber
Read more >Error in test report of app on google play store - Discuss
Crash - FATAL EXCEPTION: main. Process: com.google.android.gm, PID: 5677 java.lang.NullPointerException: Attempt to invoke virtual method ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, please do so and I’ll release the next beta version, then we will see if the crash reports still come in for this one.
@madhurgupta10 seems like it didn’t work. 😕