'Syncfusion.XForms.iOS.Shimmer.ShimmerWaveLayer' does not have a constructor that takes one IntPtr argument

My app crash many times randomly

This is the log report :

Runtime.MissingCtor (System.IntPtr ptr, System.IntPtr klass, System.Type type, ObjCRuntime.Runtime+MissingCtorResolution resolution)

SIGABRT: Failed to marshal the Objective-C object 0x28139ffc0 (type: Syncfusion_XForms_iOS_Shimmer_ShimmerWaveLayer). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance (because the type 'Syncfusion.XForms.iOS.Shimmer.ShimmerWaveLayer' does not have a constructor that takes one IntPtr argument)

This is the stack trace :

Runtime.MissingCtor (System.IntPtr ptr, System.IntPtr klass, System.Type type, ObjCRuntime.Runtime+MissingCtorResolution resolution)

Runtime.ConstructNSObject[T] (System.IntPtr ptr, System.Type type, ObjCRuntime.Runtime+MissingCtorResolution missingCtorResolution)

Runtime.GetNSObject (System.IntPtr ptr, System.Type target_type, ObjCRuntime.Runtime+MissingCtorResolution missingCtorResolution, System.Boolean evenInFinalizerQueue, System.Boolean& created)

Runtime.GetNSObjectWithType (System.IntPtr ptr, System.IntPtr type_ptr, System.Boolean& created)

Runtime.get_nsobject_with_type (System.IntPtr obj, System.IntPtr type, System.Boolean& created, System.IntPtr& exception_gchandle)

(wrapper managed-to-native) ObjCRuntime.Messaging.objc_msgSend(intptr,intptr)

CATransaction.Commit ()

CADisplayLinkTicker.StartThread ()

ThreadHelper.ThreadStart_Context (System.Object state)

ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)

ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)

ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state)

ThreadHelper.ThreadStart ()


2 Replies

ET Eswaran Thirugnanasambandam Syncfusion Team February 24, 2022 12:13 PM UTC

Hi Jimmy, 
 
We checked the reported problem with the provided call stack, but we are unable to replicate the problem from our side on the iOS platform since we are not aware of your exact application scenario. So, based on the provided call stack, we will add a possible fix and include it in our upcoming weekly NuGet release, which is expected to be rolled out on March 1, 2022. 
 
Regards, 
Eswaran 



ET Eswaran Thirugnanasambandam Syncfusion Team March 1, 2022 09:08 AM UTC

We have added the possible fix for the reported problem "Syncfusion.XForms.iOS.Shimmer.ShimmerWaveLayer" does not have a constructor that takes one IntPtr argument and the fix is included in our weekly NuGet of March 1, 2022.

NuGet Version: 
19.4.0.54 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 


Loader.
Up arrow icon