5 Replies Latest reply: Apr 20, 2017 4:10 AM by yuna.hara RSS

After updating GD.SDK (3.0.0.6008) application crash

kiran.khalkar Newbie

After updating GD.SDK (3.0.0.6008) Application crash on Good Authorization.

 

  GDiOS *sharedGDiOS = [GDiOS sharedInstance];

    sharedGDiOS.launchOptions = launchOptions;


   [sharedGDiOS authorize:self]; app crash on this line. we received below error message..


"

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSCFString stringByAppendingString:]: nil argument'

*** First throw call stack:

(0x18166edb0 0x180cd3f80 0x18166ecf8 0x181f5cd78 0x1007ab358 0x1007d9320 0x1007d5568 0x1867c48ec 0x1867c4844 0x1007e5dbc 0x1007ba8e8 0x10083536c 0x10083529c 0x100835334 0x1008367f8 0x181610dfc 0x18161061c 0x18161039c 0x181679414 0x18154e6c8 0x10089a888 0x10089a8e8 0x1008d3f34 0x1007f6b50 0x1007f7014 0x100175e88 0x10081c214 0x18683a9c0 0x186a6a184 0x186a6e5f0 0x186a6b764 0x18300f7ac 0x18300f618 0x18300f9c8 0x18162509c 0x181624b30 0x181622830 0x18154cc50 0x18683394c 0x18682e088 0x100160a4c 0x1810ea8b8)

libc++abi.dylib: terminating with uncaught exception of type NSException"


Please let us know if required any configuration.



  • Re: After updating GD.SDK (3.0.0.6008) application crash
    jkornet Newbie

    Same thing here

  • Re: After updating GD.SDK (3.0.0.6008) application crash
    aderijke Newbie

    We are having the same issue here. Only difference is that we are using Xamarin Forms and the Xamarin bindings (v3.0)

     

    Anyone who's found a solution in this case?

     

    Foundation.MonoTouchException

     

    Objective-C exception thrown.  Name: NSInvalidArgumentException Reason: *** -[__NSCFString stringByAppendingString:]: nil argument

    Native stack trace:

      0   CoreFoundation                      0x0000000186ab41d8 <redacted> + 148

      1   libobjc.A.dylib                     0x00000001854ec55c objc_exception_throw + 56

      2   CoreFoundation                      0x0000000186ab4108 <redacted> + 0

      3   Foundation                          0x000000018749cb98 <redacted> + 112

      4   RapAppiOS                           0x00000001000b8d40 +[GDUIReference loadRetinaImageIfAvailable:] + 448

      5   RapAppiOS                           0x00000001000e6d44 -[GDViewController makeLayout:] + 1168

      6   RapAppiOS                           0x00000001000e2f8c -[GDViewController loadView] + 5780

      7   UIKit                               0x000000018c8f6074 <redacted> + 184

      8   UIKit                               0x000000018c8f5fa4 <redacted> + 28

      9   RapAppiOS                           0x00000001000f37e0 -[GDViewController showSpinner] + 204

      10  RapAppiOS                           0x00000001000c830c +[GDUIManagerScreenCreator createScreen:withData:] + 476

      11  RapAppiOS                           0x000000010014466c __38-[GDUIManager requestScreen:withData:]_block_invoke + 44

      12  RapAppiOS                           0x000000010014459c -[GDUIManager updateUI:] + 124

      13  RapAppiOS                           0x0000000100144634 -[GDUIManager requestScreen:withData:] + 68

      14  RapAppiOS                           0x0000000100145af8 -[GDUIManager receiveCommand_RequestScreen:] + 188

      15  CoreFoundation                      0x0000000186a4e22c <redacted> + 20

      16  CoreFoundation                      0x0000000186a4d930 <redacted> + 400

      17  CoreFoundation                      0x0000000186a4d6ac <redacted> + 60

      18  CoreFoundation                      0x0000000186abcb9c <redacted> + 1504

      19  CoreFoundation                      0x000000018698fbf4 _CFXNotificationPost + 376

      20  RapAppiOS                           0x00000001001ab678 -[GDUICommandSender sendCommand:withUserInfo:] + 164

      21  RapAppiOS                           0x00000001001ab6d8 -[GDUICommandSender sendCommandRequestScreen:withUIData:] + 68

      22  RapAppiOS                           0x00000001001e53d0 +[GDUI requestScreen:withUIData:] + 92

      23  RapAppiOS                           0x0000000100104574 -[GDiOS authorize:andVersion:] + 1060

      24  RapAppiOS                           0x0000000100104a38 -[GDiOS authorize] + 356

      25  RapAppiOS                           0x00000001009107d0 wrapper_managed_to_native__GDAppDetail_Messaging_void_objc_msgSend_intptr_intptr + 208

      26  RapAppiOS                           0x00000001008a6fb0 GoodDynamics_GDiOS_Authorize + 224

      27  RapAppiOS                           0x00000001007ee96c RapApp_iOS_AppDelegateGD_FinishedLaunching_UIKit_UIApplication_Foundation_NSDictionary + 1132

      28  RapAppiOS                           0x0000000101992f84 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244

      29  RapAppiOS                           0x00000001006b9ebc mono_jit_runtime_invoke + 1776

      30  RapAppiOS                           0x00000001007331e8 do_runtime_invoke + 112

      31  RapAppiOS                           0x0000000100733144 mono_runtime_invoke + 208

      32  RapAppiOS                           0x000000010376ce74 _Z31native_to_managed_trampoline_34P11objc_objectP13objc_selectorPP11_MonoMethodP13UIApplicationP12NSDictionaryPKcSB_SB_SB_ + 692

      33  RapAppiOS                           0x000000010376d5c0 -[AppDelegateGD application:didFinishLaunchingWithOptions:] + 96

      34  RapAppiOS                           0x000000010012a220 -[NSObject(UIApplicationDelegate) gdApplication:didFinishLaunchingWithOptions:] + 344

      35  UIKit                               0x000000018c96842c <redacted> + 400

      36  UIKit                               0x000000018cb78b70 <redacted> + 3524

      37  UIKit                               0x000000018cb7e8e0 <redacted> + 1656

      38  UIKit                               0x000000018cb93080 <redacted> + 48

      39  UIKit                               0x000000018cb7b8c4 <redacted> + 168

      40  FrontBoardServices                  0x00000001886558bc <redacted> + 36

      41  FrontBoardServices                  0x0000000188655728 <redacted> + 176

      42  FrontBoardServices                  0x0000000188655ad0 <redacted> + 56

      43  CoreFoundation                      0x0000000186a62278 <redacted> + 24

      44  CoreFoundation                      0x0000000186a61bc0 <redacted> + 524

      45  CoreFoundation                      0x0000000186a5f7c0 <redacted> + 804

      46  CoreFoundation                      0x000000018698e048 CFRunLoopRunSpecific + 444

      47  UIKit                               0x000000018c9615dc <redacted> + 608

      48  UIKit                               0x000000018c95c360 UIApplicationMain + 208

      49  RapAppiOS                           0x00000001013354a4 wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 340

      50  RapAppiOS                           0x0000000100d4c65c UIKit_UIApplication_Main_string___intptr_intptr + 44

      51  RapAppiOS                           0x0000000100d4c51c UIKit_UIApplication_Main_string___string_string + 172

      52  RapAppiOS                           0x00000001007f59e4 RapApp_iOS_Application_Main_string__ + 212

      53  RapAppiOS                           0x0000000101992f84 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244

      54  RapAppiOS                           0x00000001006b9ebc mono_jit_runtime_invoke + 1776

      55  RapAppiOS                           0x00000001007331e8 do_runtime_invoke + 112

      56  RapAppiOS                           0x0000000100736580 do_exec_main_checked + 152

      57  RapAppiOS                           0x000000010069e7a8 mono_jit_exec + 260

      58  RapAppiOS                           0x00000001007ed810 xamarin_main + 2136

      59  RapAppiOS                           0x00000001037e1be4 main + 96

      60  libdyld.dylib                       0x00000001859705b8 <redacted> + 4

    • Re: After updating GD.SDK (3.0.0.6008) application crash
      yuna.hara Newbie

      Hi,

      In case of Xamarin, we need to add GDAssets.bundle manually.

       

      First, place GDAssets.bundle in iOS app project folder.

      Then, open RapApp.iOS.csproj via any text editor and add below elements as children of 'Project' element:

       

      <ItemGroup>

          <BundleResource Include="GDAssets.bundle\BLACKBERRY_LOGO.png" />

          <BundleResource Include="GDAssets.bundle\BLACKBERRY_LOGO%402x.png" />

          <BundleResource Include="GDAssets.bundle\BLACKBERRY_LOGO%402x~ipad.png" />

          <BundleResource Include="GDAssets.bundle\BLACKBERRY_LOGO%403x.png" />

          <BundleResource Include="GDAssets.bundle\BLACKBERRY_LOGO%403x~ipad.png" />

          <BundleResource Include="GDAssets.bundle\BLACKBERRY_LOGO~ipad.png" />

          <BundleResource Include="GDAssets.bundle\GDAssets-Info.plist" />

          <BundleResource Include="GDAssets.bundle\GDSqlite.js" />

          <BundleResource Include="GDAssets.bundle\Icon-20.png" />

          <BundleResource Include="GDAssets.bundle\Icon-20%402x.png" />

          <BundleResource Include="GDAssets.bundle\Icon-20%403x.png" />

          <BundleResource Include="GDAssets.bundle\Icon-29.png" />

          <BundleResource Include="GDAssets.bundle\Icon-29%402x.png" />

          <BundleResource Include="GDAssets.bundle\Icon-29%403x.png" />

          <BundleResource Include="GDAssets.bundle\Icon-40%402x.png" />

          <BundleResource Include="GDAssets.bundle\Icon-40%403x.png" />

          <BundleResource Include="GDAssets.bundle\Icon-50.png" />

          <BundleResource Include="GDAssets.bundle\Icon-50%402x.png" />

          <BundleResource Include="GDAssets.bundle\Icon-57%402x.png" />

          <BundleResource Include="GDAssets.bundle\Icon-57%403x.png" />

          <BundleResource Include="GDAssets.bundle\Icon-60.png" />

          <BundleResource Include="GDAssets.bundle\Icon-60%402x.png" />

          <BundleResource Include="GDAssets.bundle\Icon-60%403x.png" />

          <BundleResource Include="GDAssets.bundle\Icon-72%402x.png" />

          <BundleResource Include="GDAssets.bundle\Icon-72%403x.png" />

          <BundleResource Include="GDAssets.bundle\Icon-76.png" />

          <BundleResource Include="GDAssets.bundle\Icon-76%402x.png" />

          <BundleResource Include="GDAssets.bundle\Icon-83.5%402x.png" />

          <BundleResource Include="GDAssets.bundle\Progress_spinner.png" />

          <BundleResource Include="GDAssets.bundle\Progress_spinner%402x.png" />

          <BundleResource Include="GDAssets.bundle\Progress_spinner%403x.png" />

          <BundleResource Include="GDAssets.bundle\SECURED_BLACKBERRY_LOGO.png" />

          <BundleResource Include="GDAssets.bundle\SECURED_BLACKBERRY_LOGO%402x.png" />

          <BundleResource Include="GDAssets.bundle\SECURED_BLACKBERRY_LOGO%402x~ipad.png" />

          <BundleResource Include="GDAssets.bundle\SECURED_BLACKBERRY_LOGO%403x.png" />

          <BundleResource Include="GDAssets.bundle\SECURED_BLACKBERRY_LOGO~ipad.png" />

          <BundleResource Include="GDAssets.bundle\Splash-568h%402x.png" />

          <BundleResource Include="GDAssets.bundle\Splash-Landscape-568h%402x.png" />

          <BundleResource Include="GDAssets.bundle\Splash-Landscape.png" />

          <BundleResource Include="GDAssets.bundle\Splash-Landscape%402x.png" />

          <BundleResource Include="GDAssets.bundle\Splash-Landscape%402x~ipad.png" />

          <BundleResource Include="GDAssets.bundle\Splash-Landscape~ipad.png" />

          <BundleResource Include="GDAssets.bundle\Splash-Portrait%402x~ipad.png" />

          <BundleResource Include="GDAssets.bundle\Splash-Portrait~ipad.png" />

          <BundleResource Include="GDAssets.bundle\Splash.png" />

          <BundleResource Include="GDAssets.bundle\Splash%402x.png" />

          <BundleResource Include="GDAssets.bundle\Splash_ipadpro.png" />

          <BundleResource Include="GDAssets.bundle\Splash_ipadpro_landscape.png" />

          <BundleResource Include="GDAssets.bundle\Splash_iphone_HD4.7_LS%402x.png" />

          <BundleResource Include="GDAssets.bundle\Splash_iphone_HD4.7_PT%402x.png" />

          <BundleResource Include="GDAssets.bundle\Splash_iphone_HD5.5_LS%403x.png" />

          <BundleResource Include="GDAssets.bundle\Splash_iphone_HD5.5_PT%403x.png" />

          <BundleResource Include="GDAssets.bundle\SplitBilling_icon%401x.png" />

          <BundleResource Include="GDAssets.bundle\SplitBilling_icon%402x.png" />

          <BundleResource Include="GDAssets.bundle\SplitBilling_icon%403x.png" />

          <BundleResource Include="GDAssets.bundle\Split_Billing_Screen1-1242x2208.png" />

          <BundleResource Include="GDAssets.bundle\Split_Billing_Screen1-640x1136.png" />

          <BundleResource Include="GDAssets.bundle\Split_Billing_Screen1-640x960.png" />

          <BundleResource Include="GDAssets.bundle\Split_Billing_Screen1-750x1334.png" />

          <BundleResource Include="GDAssets.bundle\Split_Billing_Screen1_ipad%401x.png" />

          <BundleResource Include="GDAssets.bundle\Split_Billing_Screen1_ipad%402x.png" />

          <BundleResource Include="GDAssets.bundle\Split_Billing_Screen2-1242x2208.png" />

          <BundleResource Include="GDAssets.bundle\Split_Billing_Screen2-640x1136.png" />

          <BundleResource Include="GDAssets.bundle\Split_Billing_Screen2-640x960.png" />

          <BundleResource Include="GDAssets.bundle\Split_Billing_Screen2-750x1334.png" />

          <BundleResource Include="GDAssets.bundle\Split_Billing_Screen2_ipad%401x.png" />

          <BundleResource Include="GDAssets.bundle\Split_Billing_Screen2_ipad%402x.png" />

          <BundleResource Include="GDAssets.bundle\bb_Tab_splash_logo.png" />

          <BundleResource Include="GDAssets.bundle\bb_Tab_splash_logo%402x.png" />

          <BundleResource Include="GDAssets.bundle\bb_Tab_splash_logo%403x.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_3l.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_3p.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_4l.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_4p.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_5l.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_5p.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_6+l.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_6+p.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_6l.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_6p.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_ipad_l.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_ipad_ml.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_ipad_mp.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_ipad_p.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_ipadpro_l.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_bar_ipadpro_p.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_logo.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_logo%402x.png" />

          <BundleResource Include="GDAssets.bundle\bb_splash_logo%403x.png" />

          <BundleResource Include="GDAssets.bundle\certificate_big.png" />

          <BundleResource Include="GDAssets.bundle\certificate_big%402x.png" />

          <BundleResource Include="GDAssets.bundle\certificate_big%403x.png" />

          <BundleResource Include="GDAssets.bundle\gdlocalstorage.js" />

          <BundleResource Include="GDAssets.bundle\icon-40.png" />

          <BundleResource Include="GDAssets.bundle\icon-57.png" />

          <BundleResource Include="GDAssets.bundle\icon-72.png" />

          <BundleResource Include="GDAssets.bundle\da.lproj\Localizable.strings" />

          <BundleResource Include="GDAssets.bundle\de.lproj\Localizable.strings" />

          <BundleResource Include="GDAssets.bundle\en.lproj\Localizable.strings" />

          <BundleResource Include="GDAssets.bundle\es.lproj\Localizable.strings" />

          <BundleResource Include="GDAssets.bundle\fr.lproj\Localizable.strings" />

          <BundleResource Include="GDAssets.bundle\it.lproj\Localizable.strings" />

          <BundleResource Include="GDAssets.bundle\ja.lproj\Localizable.strings" />

          <BundleResource Include="GDAssets.bundle\nl.lproj\Localizable.strings" />

          <BundleResource Include="GDAssets.bundle\pt-PT.lproj\Localizable.strings" />

          <BundleResource Include="GDAssets.bundle\pt.lproj\Localizable.strings" />

          <BundleResource Include="GDAssets.bundle\sv.lproj\Localizable.strings" />

        </ItemGroup>

        <ItemGroup>

          <ITunesArtwork Include="GDAssets.bundle\iTunesArtwork.png" />

          <ITunesArtwork Include="GDAssets.bundle\iTunesArtwork%402x.png" />

        </ItemGroup>