Open vaibhavivipat opened 9 years ago
Boo, same problem.
I'm curious were you doing a search? I've had the same problem and had to add a check for nil prior to entering the found search item into the array
Damon Irons Managing Partner bigpantsgroup.com (208)830-2568
On Mar 25, 2015, at 00:12, vaibhavivipat notifications@github.com wrote:
Hello FastPdfKit Team, Your new library crashes when we tried to run on iPhone 6 with Xcode 6.1.1. Can you please look into the issue? Crashlog:
2015-02-27 18:03:32.527 FastPdfKit Sample[1905:78740] Settings /Users/Vaibhavi/Library/Developer/CoreSimulator/Devices/13441F30-A71C-4E46-B206-4AA393863C95/data/Containers/Bundle/Application/9825834A-1046-4D47-B0CE-78D84C20D246/FastPdfKit Sample.app/Settings.bundle/Root.plist 2015-02-27 18:03:57.187 FastPdfKit Sample[1905:78740] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]' *\ First throw call stack: ( 0 CoreFoundation 0x0000000104a33f35 exceptionPreprocess + 165 1 libobjc.A.dylib 0x00000001045a6bb7 objc_exception_throw + 45 2 CoreFoundation 0x000000010493f61f -[NSPlaceholderDictionary initWithObjects:forKeys:count:] + 383 3 CoreFoundation 0x000000010495264b +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59 4 FastPdfKit Sample 0x000000010143d82c -[MFDocumentViewController prepareToolbarItems] + 2902 5 FastPdfKit Sample 0x000000010143bcc8 -[MFDocumentViewController viewDidLoad] + 1639 6 FastPdfKit Sample 0x0000000101400889 -[DocumentViewController viewDidLoad] + 57 7 UIKit 0x0000000102329a90 -[UIViewController loadViewIfRequired] + 738 8 UIKit 0x0000000102329c8e -[UIViewController view] + 27 9 UIKit 0x00000001028cb41e -[_UIFullscreenPresentationController _setPresentedViewController:] + 65 10 UIKit 0x0000000102305429 -[UIPresentationController initWithPresentedViewController:presentingViewController:] + 105 11 UIKit 0x0000000102335a41 -[UIViewController _presentViewController:withAnimationController:completion:] + 1746 12 UIKit 0x0000000102337d81 62-[UIViewController presentViewController:animated:completion:]_block_invoke + 132 13 UIKit 0x0000000102337ca5 -[UIViewController presentViewController:animated:completion:] + 229 14 FastPdfKit Sample 0x000000010140a7db -[MenuViewController actionOpenPlainDocument:] + 427 15 UIKit 0x00000001022058be -[UIApplication sendAction:to:from:forEvent:] + 75 16 UIKit 0x000000010230c410 -[UIControl _sendActionsForEvents:withEvent:] + 467 17 UIKit 0x000000010230b7df -[UIControl touchesEnded:withEvent:] + 522 18 UIKit 0x000000010224b308 -[UIWindow _sendTouchesForEvent:] + 735 19 UIKit 0x000000010224bc33 -[UIWindow sendEvent:] + 683 20 UIKit 0x00000001022189b1 -[UIApplication sendEvent:] + 246 21 UIKit 0x0000000102225a7d _UIApplicationHandleEventFromQueueEvent + 17370 22 UIKit 0x0000000102201103 _UIApplicationHandleEventQueue + 1961 23 CoreFoundation 0x0000000104969551 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17 24 CoreFoundation 0x000000010495f41d CFRunLoopDoSources0 + 269 25 CoreFoundation 0x000000010495ea54 CFRunLoopRun + 868 26 CoreFoundation 0x000000010495e486 CFRunLoopRunSpecific + 470 27 GraphicsServices 0x000000010540d9f0 GSEventRunModal + 161 28 UIKit 0x0000000102204420 UIApplicationMain + 1282 29 FastPdfKit Sample 0x00000001013f1084 main + 100 30 libdyld.dylib 0x0000000104f90145 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb) Best regards, Vaibhavi
— Reply to this email directly or view it on GitHub.
Hello FastPdfKit Team, Your new library crashes when we tried to run on iPhone 6 with Xcode 6.1.1. Can you please look into the issue? Crashlog:
2015-02-27 18:03:32.527 FastPdfKit Sample[1905:78740] Settings /Users/Vaibhavi/Library/Developer/CoreSimulator/Devices/13441F30-A71C-4E46-B206-4AA393863C95/data/Containers/Bundle/Application/9825834A-1046-4D47-B0CE-78D84C20D246/FastPdfKit Sample.app/Settings.bundle/Root.plist 2015-02-27 18:03:57.187 FastPdfKit Sample[1905:78740] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]' *\ First throw call stack: ( 0 CoreFoundation 0x0000000104a33f35 exceptionPreprocess + 165 1 libobjc.A.dylib 0x00000001045a6bb7 objc_exception_throw + 45 2 CoreFoundation 0x000000010493f61f -[NSPlaceholderDictionary initWithObjects:forKeys:count:] + 383 3 CoreFoundation 0x000000010495264b +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59 4 FastPdfKit Sample 0x000000010143d82c -[MFDocumentViewController prepareToolbarItems] + 2902 5 FastPdfKit Sample 0x000000010143bcc8 -[MFDocumentViewController viewDidLoad] + 1639 6 FastPdfKit Sample 0x0000000101400889 -[DocumentViewController viewDidLoad] + 57 7 UIKit 0x0000000102329a90 -[UIViewController loadViewIfRequired] + 738 8 UIKit 0x0000000102329c8e -[UIViewController view] + 27 9 UIKit 0x00000001028cb41e -[_UIFullscreenPresentationController _setPresentedViewController:] + 65 10 UIKit 0x0000000102305429 -[UIPresentationController initWithPresentedViewController:presentingViewController:] + 105 11 UIKit 0x0000000102335a41 -[UIViewController _presentViewController:withAnimationController:completion:] + 1746 12 UIKit 0x0000000102337d81 62-[UIViewController presentViewController:animated:completion:]_block_invoke + 132 13 UIKit 0x0000000102337ca5 -[UIViewController presentViewController:animated:completion:] + 229 14 FastPdfKit Sample 0x000000010140a7db -[MenuViewController actionOpenPlainDocument:] + 427 15 UIKit 0x00000001022058be -[UIApplication sendAction:to:from:forEvent:] + 75 16 UIKit 0x000000010230c410 -[UIControl _sendActionsForEvents:withEvent:] + 467 17 UIKit 0x000000010230b7df -[UIControl touchesEnded:withEvent:] + 522 18 UIKit 0x000000010224b308 -[UIWindow _sendTouchesForEvent:] + 735 19 UIKit 0x000000010224bc33 -[UIWindow sendEvent:] + 683 20 UIKit 0x00000001022189b1 -[UIApplication sendEvent:] + 246 21 UIKit 0x0000000102225a7d _UIApplicationHandleEventFromQueueEvent + 17370 22 UIKit 0x0000000102201103 _UIApplicationHandleEventQueue + 1961 23 CoreFoundation 0x0000000104969551 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17 24 CoreFoundation 0x000000010495f41d CFRunLoopDoSources0 + 269 25 CoreFoundation 0x000000010495ea54 CFRunLoopRun + 868 26 CoreFoundation 0x000000010495e486 CFRunLoopRunSpecific + 470 27 GraphicsServices 0x000000010540d9f0 GSEventRunModal + 161 28 UIKit 0x0000000102204420 UIApplicationMain + 1282 29 FastPdfKit Sample 0x00000001013f1084 main + 100 30 libdyld.dylib 0x0000000104f90145 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb) Best regards, Vaibhavi