jonahgrant/mbus

terminating with uncaught exception of type NSException

Closed this issue · 1 comments

I managed to cause an exception when I was clicking repeatedly on the IM Building stop marker.

2013-12-03 10:57:11.150 UMBus[40770:70b] Cannot find executable for CFBundle 0xf29ed70 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/System/Library/AccessibilityBundles/GeoServices.axbundle> (not loaded)
2013-12-03 10:57:11.169 UMBus[40770:70b] Cannot find executable for CFBundle 0xf2b3270 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/System/Library/AccessibilityBundles/CertUIFramework.axbundle> (not loaded)
2013-12-03 10:57:26.684 UMBus[40770:70b] (null)
2013-12-03 10:57:27.795 UMBus[40770:70b] (null)
2013-12-03 10:57:36.404 UMBus[40770:70b] (null)
2013-12-03 10:57:37.601 UMBus[40770:70b] (null)
2013-12-03 10:57:57.068 UMBus[40770:70b] (null)
2013-12-03 10:57:57.593 UMBus[40770:70b] (null)
2013-12-03 10:58:00.621 UMBus[40770:70b] <RACStringSequence: 0xadd2750>{ name = , string = 08:46 }
2013-12-03 10:58:00.623 UMBus[40770:70b] -[RACStringSequence length]: unrecognized selector sent to instance 0xadd2750
2013-12-03 10:58:00.635 UMBus[40770:70b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RACStringSequence length]: unrecognized selector sent to instance 0xadd2750'
*** First throw call stack:
(
    0   CoreFoundation                      0x031ed5e4 __exceptionPreprocess + 180
    1   libobjc.A.dylib                     0x02f708b6 objc_exception_throw + 44
    2   CoreFoundation                      0x0328a903 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
    3   CoreFoundation                      0x031dd90b ___forwarding___ + 1019
    4   CoreFoundation                      0x031dd4ee _CF_forwarding_prep_0 + 14
    5   Foundation                          0x013f5368 -[NSString rangeOfString:options:range:locale:] + 36
    6   Foundation                          0x0142dab2 -[NSString rangeOfString:options:] + 87
    7   UMBus                               0x0000e4ae __32-[StopTray updateTitleLabelText]_block_invoke + 638
    8   UMBus                               0x002e7c4a -[TTTAttributedLabel setText:afterInheritingLabelAttributesAndConfiguringWithBlock:] + 538
    9   UMBus                               0x0000e191 -[StopTray updateTitleLabelText] + 865
    10  UMBus                               0x0000dcf3 __16-[StopTray init]_block_invoke59 + 99
    11  UMBus                               0x002d4e31 -[RACSubscriber sendNext:] + 257
    12  UMBus                               0x00292e11 -[RACPassthroughSubscriber sendNext:] + 481
    13  UMBus                               0x002c4b8a __29-[RACSignal(RACStream) bind:]_block_invoke_298 + 106
    14  UMBus                               0x002d4e31 -[RACSubscriber sendNext:] + 257
    15  UMBus                               0x00296ab1 __29-[RACReturnSignal subscribe:]_block_invoke + 97
    16  UMBus                               0x002d5cc8 -[RACSubscriptionScheduler schedule:] + 488
    17  UMBus                               0x002969bf -[RACReturnSignal subscribe:] + 479
    18  UMBus                               0x002c8ddb -[RACSignal(Subscription) subscribeNext:error:completed:] + 1003
    19  UMBus                               0x002c4989 __29-[RACSignal(RACStream) bind:]_block_invoke88 + 841
    20  UMBus                               0x002c5102 __29-[RACSignal(RACStream) bind:]_block_invoke125 + 146
    21  UMBus                               0x002d4e31 -[RACSubscriber sendNext:] + 257
    22  UMBus                               0x00292e11 -[RACPassthroughSubscriber sendNext:] + 481
    23  UMBus                               0x00274d98 __84-[NSObject(RACPropertySubscribing) rac_valuesAndChangesForKeyPath:options:observer:]_block_invoke_2 + 440
    24  UMBus                               0x00271e98 __69-[NSObject(RACKVOWrapper) rac_observeKeyPath:options:observer:block:]_block_invoke81 + 1048
    25  UMBus                               0x002918bd -[RACKVOTrampoline observeValueForKeyPath:ofObject:change:context:] + 589
    26  Foundation                          0x0142b8c7 NSKeyValueNotifyObserver + 362
    27  Foundation                          0x0142d206 NSKeyValueDidChange + 458
    28  Foundation                          0x013e98dd -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 120
    29  Foundation                          0x0142c5b5 _NSSetObjectValueAndNotify + 170
    30  UMBus                               0x00007d9b __35-[StopTrayModel fetchClosestBusETA]_block_invoke_2 + 379
    31  MapKit                              0x0201561c __50-[MKDirections calculateETAWithCompletionHandler:]_block_invoke + 180
    32  MapKit                              0x020153db __51-[MKDirections _calculateETAWithCompletionHandler:]_block_invoke_2 + 496
    33  GeoServices                         0x067c4d27 __56-[GEOQuickETARequester _calculateRoutingETAWithHandler:]_block_invoke + 846
    34  GeoServices                         0x066abab4 __70-[GEODirectionsRequester startRequest:finished:networkActivity:error:]_block_invoke + 223
    35  GeoServices                         0x0669915d -[GEODirectionsProvider providerReceivedResponse:] + 65
    36  GeoServices                         0x066ad580 -[GEOVoltaireDirectionsProvider requesterDidFinish:] + 936
    37  ProtocolBuffer                      0x069c365c -[PBRequester connectionDidFinishLoading:] + 1029
    38  Foundation                          0x015a6b59 ___NSURLConnectionDidFinishLoading_block_invoke + 40
    39  Foundation                          0x0153d3e1 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 62
    40  Foundation                          0x013c5a6e -[NSURLConnectionInternalConnection invokeForDelegate:] + 119
    41  Foundation                          0x013c59d6 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 208
    42  Foundation                          0x013c58e8 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 76
    43  Foundation                          0x013c5c98 _NSURLConnectionDidFinishLoading + 43
    44  CFNetwork                           0x04942e6f ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 111
    45  CFNetwork                           0x04940bac ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 104
    46  CFNetwork                           0x0498b0ef ___ZNK17CoreSchedulingSet13_performAsyncEPKcU13block_pointerFvvE_block_invoke + 25
    47  CoreFoundation                      0x0318ed59 CFArrayApplyFunction + 57
    48  CFNetwork                           0x048aa5af _ZN19RunloopBlockContext7performEv + 139
    49  CFNetwork                           0x0498b6d2 _ZThn16_N19RunloopBlockContext24multiplexerClientPerformEv + 20
    50  CFNetwork                           0x048aa3dd _ZN17MultiplexerSource7performEv + 299
    51  CFNetwork                           0x048aa1f2 _ZN17MultiplexerSource8_performEPv + 76
    52  CoreFoundation                      0x0317683f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
    53  CoreFoundation                      0x031761cb __CFRunLoopDoSources0 + 235
    54  CoreFoundation                      0x0319329e __CFRunLoopRun + 910
    55  CoreFoundation                      0x03192ac3 CFRunLoopRunSpecific + 467
    56  CoreFoundation                      0x031928db CFRunLoopRunInMode + 123
    57  GraphicsServices                    0x046e69e2 GSEventRunModal + 192
    58  GraphicsServices                    0x046e6809 GSEventRun + 104
    59  UIKit                               0x02103d3b UIApplicationMain + 1225
    60  UMBus                               0x0000bb1d main + 141
    61  libdyld.dylib                       0x0375e70d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 

Issues was with ReactiveCocoa setting the string representing eta. It was expecting a command to be called from the sender that just didn't exist.