{"action":"closed","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/8818","repository_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/8818/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/8818/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/8818/events","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/issues/8818","id":302502742,"node_id":"MDU6SXNzdWUzMDI1MDI3NDI=","number":8818,"title":"Crash: MediaCoordinator.swift line 230","user":{"login":"bummytime","id":154014,"node_id":"MDQ6VXNlcjE1NDAxNA==","avatar_url":"https://avatars1.githubusercontent.com/u/154014?v=4","gravatar_id":"","url":"https://api.github.com/users/bummytime","html_url":"https://github.com/bummytime","followers_url":"https://api.github.com/users/bummytime/followers","following_url":"https://api.github.com/users/bummytime/following{/other_user}","gists_url":"https://api.github.com/users/bummytime/gists{/gist_id}","starred_url":"https://api.github.com/users/bummytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bummytime/subscriptions","organizations_url":"https://api.github.com/users/bummytime/orgs","repos_url":"https://api.github.com/users/bummytime/repos","events_url":"https://api.github.com/users/bummytime/events{/privacy}","received_events_url":"https://api.github.com/users/bummytime/received_events","type":"User","site_admin":false},"labels":[{"id":63774794,"node_id":"MDU6TGFiZWw2Mzc3NDc5NA==","url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/labels/Media","name":"Media","color":"7dcdce","default":false},{"id":48201485,"node_id":"MDU6TGFiZWw0ODIwMTQ4NQ==","url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/labels/[Type]%20Crash","name":"[Type] Crash","color":"000000","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-05T23:18:38Z","updated_at":"2019-01-03T17:39:27Z","closed_at":"2019-01-03T17:39:26Z","author_association":"MEMBER","body":"```\r\nFatal Exception: NSInvalidArgumentException\r\n0  CoreFoundation                 0x1865a2364 __exceptionPreprocess\r\n1  libobjc.A.dylib                0x1857e8528 objc_exception_throw\r\n2  CoreData                       0x188e4611c -[NSPersistentStoreCoordinator managedObjectIDForURIRepresentation:]\r\n3  WordPress                      0x1010239ac specialized MediaCoordinator.media(withObjectID : String) -> Media? (MediaCoordinator.swift:230)\r\n4  WordPress                      0x100e570b8 specialized AztecPostViewController.(processMediaWithErrorAttachments() -> ()).(closure #1) (AztecPostViewController.swift:2961)\r\n5  WordPress                      0x100e5f598 partial apply for AztecPostViewController.(processMediaWithErrorAttachments() -> ()).(closure #1)\r\n6  WordPress                      0x100e287cc thunk (AztecPostViewController.swift)\r\n7  WordPress                      0x10106895c partial apply for thunk (NSAttributedString+RichTextView.swift)\r\n8  WordPress                      0x1010686d0 NSAttributedString.(enumerateAttachments((NSTextAttachment, _NSRange) -> ()) -> ()).(closure #1) (NSAttributedString+RichTextView.swift:12)\r\n9  WordPress                      0x100e00438 @callee_owned (@in Any?, @unowned _NSRange, @unowned UnsafeMutablePointer<ObjCBool>) -> () empty-list  (WPTextAttachmentManager.swift)\r\n10 Foundation                     0x186eab3dc -[NSAttributedString enumerateAttribute:inRange:options:usingBlock:]\r\n11 WordPress                      0x1010688b4 @objc NSAttributedString.enumerateAttachments((NSTextAttachment, _NSRange) -> ()) -> () (NSAttributedString+RichTextView.swift:14)\r\n12 WordPress                      0x100e46960 specialized AztecPostViewController.setHTML(String, for : AztecPostViewController.EditMode) -> () (AztecPostViewController.swift:2969)\r\n13 WordPress                      0x100e2ecec AztecPostViewController.reloadEditorContents() -> () (AztecPostViewController.swift:838)\r\n14 WordPress                      0x100e477bc specialized AztecPostViewController.post.didset (AztecPostViewController.swift:793)\r\n15 WordPress                      0x100e533ac specialized AztecPostViewController.(createRevisionOfPost() -> ()).(closure #1) (AztecPostViewController.swift:2436)\r\n16 WordPress                      0x100e5fdc8 partial apply for AztecPostViewController.(processVideoPressAttachments() -> ()).(closure #1).(closure #1)\r\n17 WordPress                      0x100e19c08 thunk (ReaderPostCardCell.swift)\r\n18 CoreData                       0x188e06c48 developerSubmittedBlockToNSManagedObjectContextPerform\r\n19 CoreData                       0x188e06b1c -[NSManagedObjectContext performBlockAndWait:]\r\n20 WordPress                      0x100e297cc AztecPostViewController.createRevisionOfPost() -> () (AztecPostViewController.swift:2438)\r\n21 WordPress                      0x100e295a0 AztecPostViewController.viewDidLoad() -> () (AztecPostViewController.swift:500)\r\n22 WordPress                      0x100e2980c @objc AztecPostViewController.viewDidLoad() -> () (AztecPostViewController.swift)\r\n23 UIKit                          0x18fb58ae8 -[UIViewController loadViewIfRequired]\r\n24 UIKit                          0x18fb586c0 -[UIViewController view]\r\n25 UIKit                          0x18fef78c8 -[UINavigationController preferredContentSize]\r\n26 UIKit                          0x18fea8434 -[UIPresentationController preferredContentSizeDidChangeForChildContentContainer:]\r\n27 UIKit                          0x18fea4594 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke\r\n28 UIKit                          0x18fdc6b3c _runAfterCACommitDeferredBlocks\r\n29 UIKit                          0x18fdb9ef0 _cleanUpAfterCAFlushAndRunDeferredBlocks\r\n30 UIKit                          0x18fb4b54c _afterCACommitHandler\r\n31 CoreFoundation                 0x186549edc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__\r\n32 CoreFoundation                 0x186547894 __CFRunLoopDoObservers\r\n33 CoreFoundation                 0x186547e50 __CFRunLoopRun\r\n34 CoreFoundation                 0x186467e58 CFRunLoopRunSpecific\r\n35 GraphicsServices               0x188314f84 GSEventRunModal\r\n36 UIKit                          0x18fbbc67c UIApplicationMain\r\n37 WordPress                      0x100c51eec main (main.m:11)\r\n38 libdyld.dylib                  0x185f8456c start\r\n```\r\n\r\nhttp://crashes.to/s/9b06bdfc0a8"}}
{"actor":{"display_login":"rachelmcr"}}