1.-[__NSArrayM insertObject:atIndex:]: object cannot be nil?
===》You can not insertnilin to anNSArrayor aNSDictionaryso you have to add a test.
===》if(str==nil||[str isKindOfClass:[NSNullnull]]) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?{[array addObject:@""]; ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?}else{[array addObject:str];}