Exception: System.ArgumentException: Handle must be valid. When using IsPreviousRequestPending.

S Shaun Peusschers 11 months 1 week ago
53 0 0

Hi,

When accessing the IsPreviousRequestPending property we get an exception like below.

 

2023-06-06 04:38:34 5703 - MainActivity::Initialize    Exception: System.ArgumentException: Handle must be valid.
Parameter name: instance
  at Java.Interop.JniEnvironment+InstanceMethods.CallBooleanMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method) [0x00009] in <11fc2af2dd2545e691701f6d8516cc0b>:0 
  at Android.Runtime.JNIEnv.CallBooleanMethod (System.IntPtr jobject, System.IntPtr jmethod) [0x0000e] in <74cbe8ac3c424d5da38da517835eb7c7>:0 
  at Symbol.XamarinEMDK.ProfileManager.get_IsPreviousRequestPending () [0x00043] in <3bcce6e22d324e0fb78144db7a630a06>:0 

EMDK-version    : 11.0.131.4031
Mx-version      : 11.5.0.37

We have this only on some devices.

Hope there is a way to fix this.

Regards,

Shaun

CONTACT
Can’t find what you’re looking for?