microsoftconnect / ms-intune-app-sdk-android

Intune App SDK for Android enables data protection features and mobile app management via Microsoft Intune
43 stars 18 forks source link

App crash due to AgentIpcException #105

Open sandeepbhatia4922 opened 2 years ago

sandeepbhatia4922 commented 2 years ago

App is crashing due to Fatal Exception: com.microsoft.intune.mam.client.ipc.exceptions.AgentIpcException

I have got crash report from firebase crashlytics.So I am unable to repro issue. Kindly check the logs and do needful

Fatal Exception: com.microsoft.intune.mam.client.ipc.exceptions.AgentIpcException: Android threw IllegalArgumentException. Agent flags: 0doze: false; app inactive: false; agent inactive: false; device interactive: false; power save: false; agent disabled: false; provider disabled: false. Method invoked: methodName: onMAMAppInstall; returnType: void  at com.microsoft.intune.mam.client.ipc.ContentProviderEndpointProxy$EndpointProxyInvocationHandler.doAgentIpc(ContentProviderEndpointProxy.java:184) at com.microsoft.intune.mam.client.ipc.ContentProviderEndpointProxy$EndpointProxyInvocationHandler.lambda$invoke$0$ContentProviderEndpointProxy$EndpointProxyInvocationHandler(ContentProviderEndpointProxy.java:107) at com.microsoft.intune.mam.client.ipc.-$$Lambda$ContentProviderEndpointProxy$EndpointProxyInvocationHandler$cVECf9axIoLRDqJ_Y6oDZqcwBXs.call(-.java:10)
       at com.microsoft.intune.mam.client.identity.IdentityCallable.call(IdentityCallable.java:38)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
       at java.lang.Thread.run(Thread.java:929)

Caused by java.lang.IllegalArgumentException: Unknown authority com.microsoft.intune.mam.policy
       at android.content.ContentResolver.call(ContentResolver.java:2077)
       at android.content.ContentResolver.call(ContentResolver.java:2060)
       at com.microsoft.intune.mam.client.ipc.ContentProviderEndpointProxy$EndpointProxyInvocationHandler.callAgentContentProvider(ContentProviderEndpointProxy.java:378)
       at com.microsoft.intune.mam.client.ipc.ContentProviderEndpointProxy$EndpointProxyInvocationHandler.makeContentProviderCall(ContentProviderEndpointProxy.java:354)
       at com.microsoft.intune.mam.client.ipc.ContentProviderEndpointProxy$EndpointProxyInvocationHandler.doAgentIpc(ContentProviderEndpointProxy.java:162)
       at com.microsoft.intune.mam.client.ipc.ContentProviderEndpointProxy$EndpointProxyInvocationHandler.lambda$invoke$0$ContentProviderEndpointProxy$EndpointProxyInvocationHandler(ContentProviderEndpointProxy.java:107)
       at com.microsoft.intune.mam.client.ipc.-$$Lambda$ContentProviderEndpointProxy$EndpointProxyInvocationHandler$cVECf9axIoLRDqJ_Y6oDZqcwBXs.call(-.java:10)
       at com.microsoft.intune.mam.client.identity.IdentityCallable.call(IdentityCallable.java:38)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
       at java.lang.Thread.run(Thread.java:929)
boyzhang-msft commented 2 years ago

Thanks for the information, and this is a known issue on our side. We have an internal bug tracking it and we have been working on it incrementally. Unfortunately, we don't have a local repro either. Please keep an eye out for any increasing trend and let us know!

Internal tracking #: 4403193

Nash123-start commented 2 years ago

When will this bug be fixed

bannus commented 2 years ago

@Nash123-start No ETA at this time. If you have any information about incidence rate or product impact that could impact our prioritization, please share here.

Durzan666 commented 2 years ago

Are there any updates about this issue?

Archit-Pikle commented 2 years ago

Hi @Durzan666, we don't have an ETA at this time

sandeepbhatia4922 commented 1 year ago

@bannus @meghandaly When will this be fixed. Any update please?

shashank-msra commented 1 year ago

Facing the same issue with our Acrobat Reader application, please update on the timelines for the fix.

MAgungHKM commented 10 months ago

One of our user is facing the same issue on his Samsung Galaxy S21 with Android 14. But, the crash issue doesn't seem to happen on our team's Samsung Galaxy S23, also with Android 14.