Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS - Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSTaggedPointerString _getValue:forType:]: unrecognized selector sent to instance 0xb061b5805377ae36' #71

Open
deepak-soni opened this issue Sep 2, 2019 · 0 comments

Comments

@deepak-soni
Copy link

Hi team,

We are working on the Braintree integration with iOS. The app is working fine with Sandbox environment but when we change it to production we got the below exception. Please help us to get rid from this issue.

2019-08-30 18:39:33.522710+0530 MyleMore[10818:131069] -[NSTaggedPointerString _getValue:forType:]: unrecognized selector sent to instance 0xb061b5805377ae36
2019-08-30 18:39:34.540522+0530 MyleMore[10818:131069] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSTaggedPointerString _getValue:forType:]: unrecognized selector sent to instance 0xb061b5805377ae36'
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001092781bb __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x0000000107bde735 objc_exception_throw + 48
	2   CoreFoundation                      0x0000000109296f44 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
	3   CoreFoundation                      0x000000010927ced6 ___forwarding___ + 1446
	4   CoreFoundation                      0x000000010927eda8 _CF_forwarding_prep_0 + 120
	5   CoreFoundation                      0x00000001092a29ee _CFURLComponentsSetPort + 46
	6   Foundation                          0x00000001076a426d -[__NSConcreteURLComponents setPort:] + 150
	7   BraintreeCore                       0x00000001063fa4f6 +[BTAPIClient baseURLFromTokenizationKey:] + 690
	8   BraintreeCore                       0x00000001063f9c5a -[BTAPIClient initWithAuthorization:sendAnalyticsEvent:] + 237
	9   MyleMore                          0x00000001059053e6 -[BraintreePlugin initialize:] + 694
	10  MyleMore                          0x00000001059e91dc -[CDVCommandQueue execute:] + 892
	11  MyleMore                          0x000000010592b27f -[CDVWKWebViewEngine handleCordovaMessage:] + 207
	12  MyleMore                          0x000000010592b0fb -[CDVWKWebViewEngine userContentController:didReceiveScriptMessage:] + 187
	13  MyleMore                          0x000000010592cd5e -[CDVWKWeakScriptMessageHandler userContentController:didReceiveScriptMessage:] + 126
	14  WebKit                              0x0000000106a55daa _ZN28ScriptMessageHandlerDelegate14didPostMessageERN6WebKit12WebPageProxyERKNS0_13FrameInfoDataERN7WebCore21SerializedScriptValueE + 190
	15  WebKit                              0x00000001069ec568 _ZN6WebKit29WebUserContentControllerProxy14didPostMessageERN3IPC10ConnectionEyRKNS_13FrameInfoDataEyRKNS1_13DataReferenceE + 178
	16  WebKit                              0x00000001069eedfc _ZN3IPC13handleMessageIN8Messages29WebUserContentControllerProxy14DidPostMessageEN6WebKit29WebUserContentControllerProxyEMS5_FvRNS_10ConnectionEyRKNS4_13FrameInfoDataEyRKNS_13DataReferenceEEEEvS7_RNS_7DecoderEPT0_T1_ + 284
	17  WebKit                              0x000000010671f315 _ZN3IPC18MessageReceiverMap15dispatchMessageERNS_10ConnectionERNS_7DecoderE + 127
	18  WebKit                              0x0000000106991df2 _ZN6WebKit15WebProcessProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE + 24
	19  WebKit                              0x00000001066e5392 _ZN3IPC10Connection15dispatchMessageENSt3__110unique_ptrINS_7DecoderENS1_14default_deleteIS3_EEEE + 130
	20  WebKit                              0x00000001066e79db _ZN3IPC10Connection24dispatchIncomingMessagesEv + 731
	21  JavaScriptCore                      0x00000001196f4177 _ZN3WTF7RunLoop11performWorkEv + 231
	22  JavaScriptCore                      0x00000001196f4402 _ZN3WTF7RunLoop11performWorkEPv + 34
	23  CoreFoundation                      0x00000001091dd721 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	24  CoreFoundation                      0x00000001091dcf93 __CFRunLoopDoSources0 + 243
	25  CoreFoundation                      0x00000001091d763f __CFRunLoopRun + 1263
	26  CoreFoundation                      0x00000001091d6e11 CFRunLoopRunSpecific + 625
	27  GraphicsServices                    0x000000010d0191dd GSEventRunModal + 62
	28  UIKitCore                           0x0000000117a5281d UIApplicationMain + 140
	29  MyleMore                          0x00000001058bc961 main + 65
	30  libdyld.dylib                       0x000000010eabe575 start + 1
	31  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant