Pesquisas recentes


Sem pesquisas recentes

Android 12 crash java.lang.SecurityException



Publicado 25 de fev. de 2022

Hi support team,

We are getting in firebase the following crash for Android 12:

Dependencies used:

com.zendesk:messaging -> version 5.2.3
com.zendesk:support -> version 5.0.7
zendesk.support.request.CellBindHelper.openAttachment
Fatal Exception: java.lang.SecurityException: UID 10303 does not have permission to content://media/external/file/119192 [user 0]
       at android.os.Parcel.createExceptionOrNull(Parcel.java:2437)
       at android.os.Parcel.createException(Parcel.java:2421)
       at android.os.Parcel.readException(Parcel.java:2404)
       at android.os.Parcel.readException(Parcel.java:2346)
       at android.app.IActivityTaskManager$Stub$Proxy.startActivity(IActivityTaskManager.java:2897)
       at android.app.Instrumentation.execStartActivity(Instrumentation.java:1749)
       at android.app.Activity.startActivityForResult(Activity.java:5465)
       at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:588)
       at android.app.Activity.startActivityForResult(Activity.java:5423)
       at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:574)
       at android.app.Activity.startActivity(Activity.java:5809)
       at android.app.Activity.startActivity(Activity.java:5762)
       at zendesk.support.request.CellBindHelper.openAttachment(CellBindHelper.java:100)
       at zendesk.support.request.CellBindHelper.access$000(CellBindHelper.java:32)
       at zendesk.support.request.CellBindHelper$3.onClick(CellBindHelper.java:87)
       at android.view.View.performClick(View.java:7792)
       at android.view.View.performClickInternal(View.java:7769)
       at android.view.View.access$3800(View.java:910)
       at android.view.View$PerformClick.run(View.java:30184)
       at android.os.Handler.handleCallback(Handler.java:938)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8633)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:567)
     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

Thanks in advance!


1

16

16 comentários

Hi Eric

It's different users, with different phone models, but all of them with android 12

0


Hey Jav,
 
Does it always have the same UID? If so have you been able to identify the associated user? 

0


Hi Eric,

We are getting 1-2 every day.

0


Hey Jav,

Hmm based on the error it seems that either a file (most likely a local cache of one) was attempted to be accessed after it was deleted, or sanitized due to it being potentially malicious. This is something handled at the android level and then brought downstream to the sdk. It's possible this is just a one off. Are you consistently getting this error from firebase or was this only received in a certain period of time?

0


Hi Eric,

Unfortunately, that's all the information i got from firebase.

0


Hey there,

Is this crash happening for all files or only one in particular? 

0


Entrar para deixar um comentário.

Não encontrou o que estava procurando?

Nova publicação