yandexmobile / yandexmapkit-ios

Yandex Map Kit for iOS
Other
173 stars 30 forks source link

iOS 7 Crash BFMarqueeLabel < YMKCalloutDefaultContentView <...< animateGrowOnAdditionStep2 #137

Closed DanSkeel closed 11 years ago

DanSkeel commented 11 years ago

Просто захожу в карту и видимо, когда отрисовывается стандартный синий yandex annotationView что-то плохое происходит.

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'NSConcreteAttributedString initWithString:: nil value'

* thread #1: tid = 0x5965a, 0x38b951fc libsystem_kernel.dylib`__pthread_kill + 8, queue = 'com.apple.main-thread, stop reason = signal SIGABRT
    frame #0: 0x38b951fc libsystem_kernel.dylib`__pthread_kill + 8
    frame #1: 0x38bfea32 libsystem_pthread.dylib`pthread_kill + 58
    frame #2: 0x38b45ffc libsystem_c.dylib`abort + 76
    frame #3: 0x37e74cd6 libc++abi.dylib`abort_message + 74
    frame #4: 0x37e8d6e4 libc++abi.dylib`default_terminate_handler() + 252
    frame #5: 0x385d6920 libobjc.A.dylib`_objc_terminate() + 192
    frame #6: 0x37e8b1c6 libc++abi.dylib`std::__terminate(void (*)()) + 78
    frame #7: 0x37e8aa1c libc++abi.dylib`__cxa_throw + 116
    frame #8: 0x385d6782 libobjc.A.dylib`objc_exception_throw + 250
    frame #9: 0x2e1fde94 CoreFoundation`+[NSException raise:format:] + 104
    frame #10: 0x2eb2ecf4 Foundation`-[NSConcreteAttributedString initWithString:] + 108
    frame #11: 0x2eb2ebd0 Foundation`-[NSConcreteAttributedString initWithString:attributes:] + 24
    frame #12: 0x30c629e0 UIKit`-[UILabel _attributedStringHasAttributesNotCoveredByPrimitives] + 532
    frame #13: 0x30c62d70 UIKit`-[UILabel encodeWithCoder:] + 864
    frame #14: 0x2eb776c0 Foundation`_encodeObject + 1060
    frame #15: 0x2eb7db3c Foundation`+[NSKeyedArchiver archivedDataWithRootObject:] + 156
    frame #16: 0x00311e76 APPNAME`-[BFMarqueeLabel secondaryLabel](self=0x16dfb700, _cmd=<unavailable>) + 78 at BFMarqueeLabel.m:104
    frame #17: 0x00311c5a APPNAME`-[BFMarqueeLabel commonInit](self=<unavailable>, _cmd=<unavailable>) + 206 at BFMarqueeLabel.m:75
    frame #18: 0x00311b6e APPNAME`-[BFMarqueeLabel initWithFrame:](self=<unavailable>, _cmd=<unavailable>, frame=<unavailable>) + 70 at BFMarqueeLabel.m:56
    frame #19: 0x002f59c0 APPNAME`-[YMKCalloutDefaultContentView initWithFrame:](self=<unavailable>, _cmd=<unavailable>, frame=<unavailable>) + 132 at YMKCalloutDefaultContentView.m:95
    frame #20: 0x0029c410 APPNAME`-[YMKMapViewInternal mapOverlayView:calloutViewForAnnotation:](self=<unavailable>, _cmd=<unavailable>, view=<unavailable>, annotation=0x16ddd850) + 296 at YMKMapViewInternal.m:1983
    frame #21: 0x002a825e APPNAME`-[YMMapOverlayView calloutViewForAnnotation:](self=<unavailable>, _cmd=<unavailable>, annotation=<unavailable>) + 46 at YMMapOverlayView.m:368
    frame #22: 0x002bda9c APPNAME`-[YMKAnnotationViewInternal fetchCalloutViewForAnnotation:](self=<unavailable>, _cmd=<unavailable>, annotation=<unavailable>) + 40 at YMKAnnotationViewInternal.m:23
    frame #23: 0x0028b156 APPNAME`-[YMKAnnotationView fetchCalloutView](self=<unavailable>, _cmd=<unavailable>) + 58 at YMKAnnotationView.m:91
    frame #24: 0x0028b9a2 APPNAME`-[YMKAnnotationView fetchAndConfigureCalloutViewForAnnotation:](self=0x16ee1cf0, _cmd=<unavailable>, annotation=<unavailable>) + 38 at YMKAnnotationView.m:272
    frame #25: 0x0028bb96 APPNAME`-[YMKAnnotationView showCalloutViewIfPossibleAnimated:](self=0x16ee1cf0, _cmd=<unavailable>, animated='\0') + 66 at YMKAnnotationView.m:297
    frame #26: 0x002c0550 APPNAME`-[YMKPinAnnotationView showCalloutViewIfPossibleAnimated:](self=<unavailable>, _cmd=<unavailable>, animated=<unavailable>) + 136 at YMKPinAnnotationView.m:109
    frame #27: 0x002c0daa APPNAME`-[YMKPinAnnotationView finishAnimation](self=0x16ee1cf0, _cmd=<unavailable>) + 162 at YMKPinAnnotationView.m:251
    frame #28: 0x002c0b1c APPNAME`-[YMKPinAnnotationView animateGrowOnAdditionStep2:finished:context:](self=<unavailable>, _cmd=<unavailable>, animationID=<unavailable>, finished=<unavailable>, context=0x00000000) + 20 at YMKPinAnnotationView.m:211
    frame #29: 0x309a6c36 UIKit`-[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 178
    frame #30: 0x309a6b4e UIKit`-[UIViewAnimationState animationDidStop:finished:] + 70
    frame #31: 0x305fed08 QuartzCore`CA::Layer::run_animation_callbacks(void*) + 232
    frame #32: 0x38ab9d66 libdispatch.dylib`_dispatch_client_callout + 22
    frame #33: 0x38ac07c0 libdispatch.dylib`_dispatch_main_queue_callback_4CF$VARIANT$mp + 268
    frame #34: 0x2e1c8820 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
    frame #35: 0x2e1c70f4 CoreFoundation`__CFRunLoopRun + 1300
    frame #36: 0x2e131ce6 CoreFoundation`CFRunLoopRunSpecific + 522
    frame #37: 0x2e131aca CoreFoundation`CFRunLoopRunInMode + 106
    frame #38: 0x32e52282 GraphicsServices`GSEventRunModal + 138
    frame #39: 0x309d3a40 UIKit`UIApplicationMain + 1136
    frame #40: 0x0010321c APPNAME `main(argc=1, argv=0x27d08c54) + 116 at main.m:16
DanSkeel commented 11 years ago

прошу прощения, не видел обновления.