veritrans / Veritrans-ios-sdk

The new iOS SDK
MIT License
14 stars 32 forks source link

MidtransDeviceHelper.m line 125 crash #482

Closed Berdikhan closed 4 years ago

Berdikhan commented 4 years ago

Version 1.16.0 iOS 13 only

[<UIStatusBar_Placeholder 0x10780beb0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key foregroundView.

Fatal Exception: NSUnknownKeyException
0  CoreFoundation                 0x18d57098c __exceptionPreprocess
1  libobjc.A.dylib                0x18d2990a4 objc_exception_throw
2  CoreFoundation                 0x18d474f80 -[NSObject(NSKindOfAdditions) isNSSet__]
3  Foundation                     0x18d8b36a0 -[NSObject(NSKeyValueCoding) valueForUndefinedKey:]
4  Foundation                     0x18d82b908 -[NSObject(NSKeyValueCoding) valueForKey:]
5  Fave                           0x1033da2e8 +[MidtransDeviceHelper deviceCurrentNetwork] + 125 (MidtransDeviceHelper.m:125)
6  Fave                           0x1033f9624 -[NSDictionary(SNPUITrackingManager) SNPUITrackingManageraddDefaultParameter] + 26 (SNPUITrackingManager.m:26)
7  Fave                           0x1033f9dbc -[SNPUITrackingManager trackEventName:] + 76 (SNPUITrackingManager.m:76)
8  Fave                           0x103443500 -[VTPaymentListController viewDidLoad] + 45 (VTPaymentListController.m:45)
9  UIKitCore                      0x190f6d07c -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled]
10 UIKitCore                      0x190f71b8c -[UIViewController loadViewIfRequired]
11 UIKitCore                      0x190f71f94 -[UIViewController view]
12 UIKitCore                      0x190eefcac -[UINavigationController preferredContentSize]
13 UIKitCore                      0x190e99110 -[UIPresentationController preferredContentSizeDidChangeForChildContentContainer:]
14 UIKitCore                      0x190e9538c __56-[UIPresentationController runTransitionForCurrentState]_block_invoke.467
15 UIKitCore                      0x191587b98 _runAfterCACommitDeferredBlocks
16 UIKitCore                      0x1915777c0 _cleanUpAfterCAFlushAndRunDeferredBlocks
17 UIKitCore                      0x1915a7594 _afterCACommitHandler
18 CoreFoundation                 0x18d4edc48 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
19 CoreFoundation                 0x18d4e8b34 __CFRunLoopDoObservers
20 CoreFoundation                 0x18d4e9100 __CFRunLoopRun
21 CoreFoundation                 0x18d4e88bc CFRunLoopRunSpecific
22 GraphicsServices               0x197354328 GSEventRunModal
23 UIKitCore                      0x19157e6d4 UIApplicationMain
24 Fave                           0x102bb53fc main + 25 (CashBackClaimedTableViewCell.swift:25)
25 libdyld.dylib                  0x18d373460 start
uziwuzzy commented 4 years ago

try updating to the latest version v 1.16.1, https://github.com/veritrans/Veritrans-ios-sdk/releases

Berdikhan commented 4 years ago

Thanks for quick response.