Skip to content

TZPhotoPickerController数组插入空对象崩溃 #1324

Description

@ryanwangh

#0 Thread
NSInvalidArgumentException
*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
解析原始
0 CoreFoundation 0x0000000225816000 + 1149324
1 libobjc.A.dylib objc_exception_throw + 56
2 CoreFoundation _CFArgv + 0
3 CoreFoundation 0x0000000225816000 + 52436
4 CoreFoundation 0x0000000225816000 + 25752
5 __82-[TZPhotoPickerController pushPhotoPrevireViewController:needCheckSelectedModels:]_block_invoke.609 (TZPhotoPickerController.m:755)
6 -[TZPhotoPreviewController doneButtonClick] (TZPhotoPreviewController.m:401)
7 UIKitCore -[UIApplication sendAction:to:from:forEvent:] + 96
8 UIKitCore -[UIControl sendAction:to:forEvent:] + 80
9 UIKitCore -[UIControl _sendActionsForEvents:withEvent:] + 440

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions