{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/1478","repository_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/1478/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/1478/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/1478/events","html_url":"https://github.com/couchbase/couchbase-lite-ios/issues/1478","id":181544417,"number":1478,"title":"Assertion failure in CBL_Revision","user":{"login":"jordanpwood","id":6576194,"avatar_url":"https://avatars.githubusercontent.com/u/6576194?v=3","gravatar_id":"","url":"https://api.github.com/users/jordanpwood","html_url":"https://github.com/jordanpwood","followers_url":"https://api.github.com/users/jordanpwood/followers","following_url":"https://api.github.com/users/jordanpwood/following{/other_user}","gists_url":"https://api.github.com/users/jordanpwood/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanpwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanpwood/subscriptions","organizations_url":"https://api.github.com/users/jordanpwood/orgs","repos_url":"https://api.github.com/users/jordanpwood/repos","events_url":"https://api.github.com/users/jordanpwood/events{/privacy}","received_events_url":"https://api.github.com/users/jordanpwood/received_events","type":"User","site_admin":false},"labels":[{"id":108424405,"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/backlog","name":"backlog","color":"ededed","default":false},{"id":106319883,"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/bug","name":"bug","color":"e11d21","default":true},{"id":106234862,"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/crash!","name":"crash!","color":"e11d21","default":false},{"id":80440761,"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/P2:%20medium","name":"P2: medium","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-06T22:47:00Z","updated_at":"2016-11-03T04:18:57Z","closed_at":null,"body":"I've just upgraded the version of couchbase that my app uses from 1.2.1 to 1.3.1, and now my tests which used to work don't.  I'm getting the following assertion failure out of CBL_Revision:\n`2016-10-06 17:03:53.646 BrowZine[51843:2879247] *** ASSERTION FAILED: !revID || [revID isKindOfClass: [CBL_RevID class]]`\n`2016-10-06 17:03:53.647 BrowZine[51843:2879247] *** Assertion failure in -[CBL_Revision initWithDocID:revID:deleted:](), /Users/jenkins/jenkins/workspace/couchbase-lite-ios-builds/couchbase-lite-ios-community/Source/CBL_Revision.m:45`\n\nThere's a gist of the output from this test with database logging enabled:  https://gist.github.com/jordanpwood/eee4c2f58e38c30f99c9dc9904ad9a72\n\nSo far it seems that this problem is only in my tests, not in my regularly functioning app.\n---\n- Version:   Couchbase Lite 1.3.1\n- Client OS: iOS 10.0\n- Server:    N/A\n"},"comment":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/comments/258061707","html_url":"https://github.com/couchbase/couchbase-lite-ios/issues/1478#issuecomment-258061707","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/1478","id":258061707,"user":{"login":"snej","id":43241,"avatar_url":"https://avatars.githubusercontent.com/u/43241?v=3","gravatar_id":"","url":"https://api.github.com/users/snej","html_url":"https://github.com/snej","followers_url":"https://api.github.com/users/snej/followers","following_url":"https://api.github.com/users/snej/following{/other_user}","gists_url":"https://api.github.com/users/snej/gists{/gist_id}","starred_url":"https://api.github.com/users/snej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snej/subscriptions","organizations_url":"https://api.github.com/users/snej/orgs","repos_url":"https://api.github.com/users/snej/repos","events_url":"https://api.github.com/users/snej/events{/privacy}","received_events_url":"https://api.github.com/users/snej/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T04:18:57Z","updated_at":"2016-11-03T04:18:57Z","body":"`2016-10-10 12:19:38.425 BrowZine[42270:6443981] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'CBL_TreeRevID required, but got CBL_TreeRevID 0x61800001da80'`\r\nThat error is very, very strange; note that the required and actual class names are the same. That implies there are two classes with the same name, which should be impossible'"}}
{"actor":{"display_login":"snej"}}