{"action":"created","issue":{"url":"https://api.github.com/repos/QuickBlox/QMChatViewController-ios/issues/37","labels_url":"https://api.github.com/repos/QuickBlox/QMChatViewController-ios/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/QuickBlox/QMChatViewController-ios/issues/37/comments","events_url":"https://api.github.com/repos/QuickBlox/QMChatViewController-ios/issues/37/events","html_url":"https://github.com/QuickBlox/QMChatViewController-ios/issues/37","id":128415963,"number":37,"title":"App getting crash after calling method `insertMessagesToTheBottomAnimated`","user":{"login":"rathod24","id":16424775,"avatar_url":"https://avatars.githubusercontent.com/u/16424775?v=3","gravatar_id":"","url":"https://api.github.com/users/rathod24","html_url":"https://github.com/rathod24","followers_url":"https://api.github.com/users/rathod24/followers","following_url":"https://api.github.com/users/rathod24/following{/other_user}","gists_url":"https://api.github.com/users/rathod24/gists{/gist_id}","starred_url":"https://api.github.com/users/rathod24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rathod24/subscriptions","organizations_url":"https://api.github.com/users/rathod24/orgs","repos_url":"https://api.github.com/users/rathod24/repos","events_url":"https://api.github.com/users/rathod24/events{/privacy}","received_events_url":"https://api.github.com/users/rathod24/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-01-24T18:33:33Z","updated_at":"2016-01-25T11:46:35Z","closed_at":null,"body":"I am calling `insertMessagesToTheBottomAnimated` method in viewDidLoad method from subcalass of QMChatViewController and getting following error and crash\r\n\r\nTerminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'NSConcreteMutableAttributedString initWithString:attributes:: nil value'\r\n\r\nI am using version 0.3 of QMChatViewController"},"comment":{"url":"https://api.github.com/repos/QuickBlox/QMChatViewController-ios/issues/comments/174482308","html_url":"https://github.com/QuickBlox/QMChatViewController-ios/issues/37#issuecomment-174482308","issue_url":"https://api.github.com/repos/QuickBlox/QMChatViewController-ios/issues/37","id":174482308,"user":{"login":"rathod24","id":16424775,"avatar_url":"https://avatars.githubusercontent.com/u/16424775?v=3","gravatar_id":"","url":"https://api.github.com/users/rathod24","html_url":"https://github.com/rathod24","followers_url":"https://api.github.com/users/rathod24/followers","following_url":"https://api.github.com/users/rathod24/following{/other_user}","gists_url":"https://api.github.com/users/rathod24/gists{/gist_id}","starred_url":"https://api.github.com/users/rathod24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rathod24/subscriptions","organizations_url":"https://api.github.com/users/rathod24/orgs","repos_url":"https://api.github.com/users/rathod24/repos","events_url":"https://api.github.com/users/rathod24/events{/privacy}","received_events_url":"https://api.github.com/users/rathod24/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T11:46:35Z","updated_at":"2016-01-25T11:46:35Z","body":"- (NSAttributedString *)attributedStringForItem:(QBChatMessage *)messageItem {\r\n    UIColor *textColor = [messageItem senderID] == self.senderID ? [UIColor whiteColor] : [UIColor colorWithWhite:0.290 alpha:1.000];\r\n    UIFont *font = [UIFont fontWithName:@\"Helvetica\" size:15];\r\n    NSDictionary *attributes = @{ NSForegroundColorAttributeName:textColor, NSFontAttributeName:font};\r\n    \r\nNSMutableAttributedString *attrStr = [[NSMutableAttributedString alloc] initWithString:messageItem.text attributes:attributes];\r\n    \r\nreturn attrStr;\r\n}"}}