{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/794","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/794/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/794/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/794/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/794","id":55980877,"number":794,"title":"Crash when transitioning class changes","user":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-30T00:59:22Z","updated_at":"2015-01-30T00:59:55Z","closed_at":null,"body":"If I set `setDefaultTransitionDuration` before calling `setClasses` I get a crash:\r\n```\r\n01-30 11:52:33.113      274-274/? I/DEBUG﹕ #00  pc 0010fc20  /data/app-lib/com.mapbox.mapboxgl.app-2/libmapbox-gl.so (mbgl::StyleLayer::setClasses(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, unsigned long long, mbgl::PropertyTransition const&)+604)\r\n01-30 11:52:33.113      274-274/? I/DEBUG﹕ #01  pc 001101bc  /data/app-lib/com.mapbox.mapboxgl.app-2/libmapbox-gl.so (mbgl::StyleLayer::applyClassProperties(mbgl::ClassID, std::__1::set<mbgl::PropertyKey, std::__1::less<mbgl::PropertyKey>, std::__1::allocator<mbgl::PropertyKey> >&, unsigned long long, mbgl::PropertyTransition const&)+1336)\r\n```\r\n\r\n/cc @incanus "},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/72135881","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/794#issuecomment-72135881","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/794","id":72135881,"user":{"login":"incanus","id":17722,"avatar_url":"https://avatars.githubusercontent.com/u/17722?v=3","gravatar_id":"","url":"https://api.github.com/users/incanus","html_url":"https://github.com/incanus","followers_url":"https://api.github.com/users/incanus/followers","following_url":"https://api.github.com/users/incanus/following{/other_user}","gists_url":"https://api.github.com/users/incanus/gists{/gist_id}","starred_url":"https://api.github.com/users/incanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incanus/subscriptions","organizations_url":"https://api.github.com/users/incanus/orgs","repos_url":"https://api.github.com/users/incanus/repos","events_url":"https://api.github.com/users/incanus/events{/privacy}","received_events_url":"https://api.github.com/users/incanus/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T00:59:55Z","updated_at":"2015-01-30T00:59:55Z","body":"This API may be rusty; I will add it to the iOS app and poke at this a bit soon. "}}