mihaeu / warmshowers-ios

This project aims to provide a feature rich iOS client for warmshowers.org
0 stars 2 forks source link

Login fails after logout #19

Closed mihaeu closed 9 years ago

mihaeu commented 9 years ago

After logging out, logging in again is not possible. Bug can be reproduced every single time.

Stacktrace:

2015-06-28 12:18:22.996 Warmshowers[46557:355378] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Receiver (<Warmshowers.MapViewController: 0x7a7cc960>) has no segue with identifier 'Show Login''
*** First throw call stack:
(
    0   CoreFoundation                      0x01188746 __exceptionPreprocess + 182
    1   libobjc.A.dylib                     0x02e23a97 objc_exception_throw + 44
    2   UIKit                               0x01dac3a6 -[UIViewController shouldPerformSegueWithIdentifier:sender:] + 0
    3   Warmshowers                         0x000a947b _TFFC11Warmshowers17MapViewController11viewDidLoadFS0_FT_T_U_FCSo7NSErrorT_ + 251
    4   Warmshowers                         0x000a4b10 _TPA__TFFC11Warmshowers17MapViewController11viewDidLoadFS0_FT_T_U_FCSo7NSErrorT_ + 64
    5   Warmshowers                         0x00079f3a _TTRXFo_oCSo7NSError_dT__XFo_iS__dT__ + 26
    6   Warmshowers                         0x000a4bba _TPA__TTRXFo_oCSo7NSError_dT__XFo_iS__dT__ + 74
    7   BrightFutures                       0x0031a5e6 _TTRG1_RPq0_P13BrightFutures9ErrorType__XFo_iq0__dT__XFo_iq0__iT__ + 38
    8   BrightFutures                       0x003191ea _TPA__TTRG1_RPq0_P13BrightFutures9ErrorType__XFo_iq0__dT__XFo_iq0__iT__136 + 138
    9   Result                              0x0078dea2 _TFO6Result6Result8analysisU___fGS0_Q_Q0__U__FT9ifSuccessFQd__Q_9ifFailureFQd_0_Q__Q_ + 466
    10  BrightFutures                       0x0031b7d8 _TFFC13BrightFutures6Future9onFailureU_S_9ErrorType__FGS0_Q_Q0__FT7contextFFT_T_T_8callbackFQ0_T__GS0_Q_Q0__U_FGO6Result6ResultQ_Q0__T_ + 424
    11  BrightFutures                       0x00314ed6 _TPA__TFFC13BrightFutures6Future9onFailureU_S_9ErrorType__FGS0_Q_Q0__FT7contextFFT_T_T_8callbackFQ0_T__GS0_Q_Q0__U_FGO6Result6ResultQ_Q0__T_ + 118
    12  BrightFutures                       0x0031b176 _TFFFFC13BrightFutures6Future10onCompleteU_S_9ErrorType__FGS0_Q_Q0__FT7contextFFT_T_T_8callbackFT6resultGO6Result6ResultQ_Q0___T__GS0_Q_Q0__U_FGS0_Q_Q0__T_U_FT_T_U_FT_T_ + 86
    13  BrightFutures                       0x003197b9 _TPA__TFFFFC13BrightFutures6Future10onCompleteU_S_9ErrorType__FGS0_Q_Q0__FT7contextFFT_T_T_8callbackFT6resultGO6Result6ResultQ_Q0___T__GS0_Q_Q0__U_FGS0_Q_Q0__T_U_FT_T_U_FT_T_ + 137
    14  BrightFutures                       0x0032744d _TFC13BrightFutures9Semaphore7executefS0_FFT_T_T_ + 77
    15  BrightFutures                       0x0031b0e8 _TFFFC13BrightFutures6Future10onCompleteU_S_9ErrorType__FGS0_Q_Q0__FT7contextFFT_T_T_8callbackFT6resultGO6Result6ResultQ_Q0___T__GS0_Q_Q0__U_FGS0_Q_Q0__T_U_FT_T_ + 248
    16  BrightFutures                       0x003196b3 _TPA__TFFFC13BrightFutures6Future10onCompleteU_S_9ErrorType__FGS0_Q_Q0__FT7contextFFT_T_T_8callbackFT6resultGO6Result6ResultQ_Q0___T__GS0_Q_Q0__U_FGS0_Q_Q0__T_U_FT_T_ + 131
    17  BrightFutures                       0x0031aba8 _TTRXFo__dT__XFdCb__dT__ + 40
    18  libdispatch.dylib                   0x03ddf5ea _dispatch_call_block_and_release + 15
    19  libdispatch.dylib                   0x03e01bef _dispatch_client_callout + 14
    20  libdispatch.dylib                   0x03de76bb _dispatch_main_queue_callback_4CF + 993
    21  CoreFoundation                      0x010e18ee __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14
    22  CoreFoundation                      0x0109f5f0 __CFRunLoopRun + 2256
    23  CoreFoundation                      0x0109ea5b CFRunLoopRunSpecific + 443
    24  CoreFoundation                      0x0109e88b CFRunLoopRunInMode + 123
    25  GraphicsServices                    0x075e42c9 GSEventRunModal + 192
    26  GraphicsServices                    0x075e4106 GSEventRun + 104
    27  UIKit                               0x01c45106 UIApplicationMain + 1526
    28  Warmshowers                         0x0009b044 main + 180
    29  libdyld.dylib                       0x03e2dac9 start + 1
    30  ???                                 0x00000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
mihaeu commented 9 years ago

Fixed in aa1c0a0

I have no idea how I could miss this one segue ...