{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/issues/477","repository_url":"https://api.github.com/repos/mapbox/mapbox-plugins-android","labels_url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/issues/477/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/issues/477/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/issues/477/events","html_url":"https://github.com/mapbox/mapbox-plugins-android/issues/477","id":319758795,"number":477,"title":"Location layer plugin - Maps SDK - can't find source layer warning log and native crash ","user":{"login":"danesfeder","id":8434572,"avatar_url":"https://avatars0.githubusercontent.com/u/8434572?v=4","gravatar_id":"","url":"https://api.github.com/users/danesfeder","html_url":"https://github.com/danesfeder","followers_url":"https://api.github.com/users/danesfeder/followers","following_url":"https://api.github.com/users/danesfeder/following{/other_user}","gists_url":"https://api.github.com/users/danesfeder/gists{/gist_id}","starred_url":"https://api.github.com/users/danesfeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danesfeder/subscriptions","organizations_url":"https://api.github.com/users/danesfeder/orgs","repos_url":"https://api.github.com/users/danesfeder/repos","events_url":"https://api.github.com/users/danesfeder/events{/privacy}","received_events_url":"https://api.github.com/users/danesfeder/received_events","type":"User","site_admin":false},"labels":[{"id":576426704,"url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/labels/bug","name":"bug","color":"f74e4e","default":true},{"id":591064401,"url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/labels/location-layer-plugin","name":"location-layer-plugin","color":"7753eb","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/milestones/9","html_url":"https://github.com/mapbox/mapbox-plugins-android/milestone/9","labels_url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/milestones/9/labels","id":3319202,"number":9,"title":"location-layer-0.5.1","description":"","creator":{"login":"cammace","id":5652865,"avatar_url":"https://avatars2.githubusercontent.com/u/5652865?v=4","gravatar_id":"","url":"https://api.github.com/users/cammace","html_url":"https://github.com/cammace","followers_url":"https://api.github.com/users/cammace/followers","following_url":"https://api.github.com/users/cammace/following{/other_user}","gists_url":"https://api.github.com/users/cammace/gists{/gist_id}","starred_url":"https://api.github.com/users/cammace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cammace/subscriptions","organizations_url":"https://api.github.com/users/cammace/orgs","repos_url":"https://api.github.com/users/cammace/repos","events_url":"https://api.github.com/users/cammace/events{/privacy}","received_events_url":"https://api.github.com/users/cammace/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":8,"state":"open","created_at":"2018-05-04T02:44:31Z","updated_at":"2018-05-09T15:12:11Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2018-05-03T00:56:34Z","updated_at":"2018-05-10T09:47:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```\r\nW/mbgl: {GLThread 3241}[Render]: can't find source for layer 'mapbox-location-stroke-layer'\r\n05-02 17:46:23.719 29315-29355/com.mapbox.services.android.navigation.testapp W/mbgl: {GLThread 3241}[Render]: can't find source for layer 'mapbox-location-layer'\r\n05-02 17:46:23.724 29315-29355/com.mapbox.services.android.navigation.testapp W/mbgl: {GLThread 3241}[Render]: can't find source for layer 'mapbox-location-stroke-layer'\r\n05-02 17:46:23.724 29315-29355/com.mapbox.services.android.navigation.testapp W/mbgl: {GLThread 3241}[Render]: can't find source for layer 'mapbox-location-layer'\r\n05-02 17:46:23.751 29315-29315/com.mapbox.services.android.navigation.testapp W/art: Attempt to remove non-JNI local reference, dumping thread\r\n05-02 17:46:23.751 29315-29315/com.mapbox.services.android.navigation.testapp W/art: Attempt to remove non-JNI local reference, dumping thread\r\n05-02 17:46:23.751 29315-29315/com.mapbox.services.android.navigation.testapp W/art: Attempt to remove non-JNI local reference, dumping thread\r\n05-02 17:46:23.751 29315-29315/com.mapbox.services.android.navigation.testapp W/art: Attempt to remove non-JNI local reference, dumping thread\r\n05-02 17:46:23.752 29315-29315/com.mapbox.services.android.navigation.testapp W/art: Attempt to remove non-JNI local reference, dumping thread\r\n05-02 17:46:23.752 29315-29315/com.mapbox.services.android.navigation.testapp W/art: Attempt to remove non-JNI local reference, dumping thread\r\n05-02 17:46:23.752 29315-29315/com.mapbox.services.android.navigation.testapp W/art: Attempt to remove non-JNI local reference, dumping thread\r\n05-02 17:46:23.753 29315-29315/com.mapbox.services.android.navigation.testapp W/art: Attempt to remove non-JNI local reference, dumping thread\r\n05-02 17:46:23.755 29315-29315/com.mapbox.services.android.navigation.testapp W/art: Attempt to remove non-JNI local reference, dumping thread\r\n05-02 17:46:23.755 29315-29315/com.mapbox.services.android.navigation.testapp W/art: Attempt to remove non-JNI local reference, dumping thread\r\n05-02 17:46:23.756 29315-29315/com.mapbox.services.android.navigation.testapp E/mbgl: {igation.testapp}[JNI]: Error setting property: icon-size [5]: Input/output pairs for \"interpolate\" expressions must be arranged with input values in strictly ascending order.\r\n05-02 17:46:23.756 29315-29315/com.mapbox.services.android.navigation.testapp W/art: Attempt to remove non-JNI local reference, dumping thread\r\n05-02 17:46:23.756 29315-29315/com.mapbox.services.android.navigation.testapp W/art: Attempt to remove non-JNI local reference, dumping thread\r\n05-02 17:46:23.756 29315-29315/com.mapbox.services.android.navigation.testapp W/art: Attempt to remove non-JNI local reference, dumping thread\r\n05-02 17:46:23.759 29315-29315/com.mapbox.services.android.navigation.testapp D/MapboxNavigation: MapboxNavigation startNavigation called.\r\n05-02 17:46:23.765 29315-29315/com.mapbox.services.android.navigation.testapp D/MockLocationEngine: Route distance in km: 0.176245\r\n05-02 17:46:23.767 29315-29355/com.mapbox.services.android.navigation.testapp W/mbgl: {GLThread 3241}[Render]: can't find source for layer 'mapbox-location-stroke-layer'\r\n05-02 17:46:23.767 29315-29355/com.mapbox.services.android.navigation.testapp W/mbgl: {GLThread 3241}[Render]: can't find source for layer 'mapbox-location-layer'\r\n05-02 17:46:23.785 29315-29315/com.mapbox.services.android.navigation.testapp D/MapboxNavigation: Connected to service.\r\n05-02 17:46:23.785 29315-29315/com.mapbox.services.android.navigation.testapp D/NavigationService$LocalBinder: Local binder called.\r\n05-02 17:46:23.790 29315-29355/com.mapbox.services.android.navigation.testapp W/mbgl: {GLThread 3241}[Render]: can't find source for layer 'mapbox-location-stroke-layer'\r\n05-02 17:46:23.791 29315-29355/com.mapbox.services.android.navigation.testapp W/mbgl: {GLThread 3241}[Render]: can't find source for layer 'mapbox-location-layer'\r\n05-02 17:46:23.831 29315-29355/com.mapbox.services.android.navigation.testapp W/mbgl: {GLThread 3241}[Render]: can't find source for layer 'mapbox-location-stroke-layer'\r\n05-02 17:46:23.831 29315-29355/com.mapbox.services.android.navigation.testapp W/mbgl: {GLThread 3241}[Render]: can't find source for layer 'mapbox-location-layer'\r\n```\r\n\r\nAfter updating to Maps SDK `6.x` and LLP `0.5.0` we are seeing these logs in the Nav SDK.  This seems to be happening when using the map even if the location layer plugin isn't being initialized within that activity or fragment.  Like something is being cached regarding the layer or expression.  \r\n\r\nWhen rotating the turn-by-turn UI, we get intermittent crashes and our [orientation instrumentation test](https://github.com/mapbox/mapbox-navigation-android/pull/895/files#diff-86faeb3b50a2f27acb6e0c81af8804a2) is able to reproduce the native crash.\r\n\r\ncc @LukasPaczos @tobrun @cammace "},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/issues/comments/388007323","html_url":"https://github.com/mapbox/mapbox-plugins-android/issues/477#issuecomment-388007323","issue_url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/issues/477","id":388007323,"user":{"login":"jjniemand","id":29275184,"avatar_url":"https://avatars3.githubusercontent.com/u/29275184?v=4","gravatar_id":"","url":"https://api.github.com/users/jjniemand","html_url":"https://github.com/jjniemand","followers_url":"https://api.github.com/users/jjniemand/followers","following_url":"https://api.github.com/users/jjniemand/following{/other_user}","gists_url":"https://api.github.com/users/jjniemand/gists{/gist_id}","starred_url":"https://api.github.com/users/jjniemand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjniemand/subscriptions","organizations_url":"https://api.github.com/users/jjniemand/orgs","repos_url":"https://api.github.com/users/jjniemand/repos","events_url":"https://api.github.com/users/jjniemand/events{/privacy}","received_events_url":"https://api.github.com/users/jjniemand/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T09:47:38Z","updated_at":"2018-05-10T09:47:38Z","author_association":"NONE","body":"@cammace thanks for the feedback. The warning messages above seems to be gone now using the latest SNAPSHOT."}}
{"actor":{"display_login":"jjniemand"}}