{"action":"created","issue":{"url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/708","labels_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/708/labels{/name}","comments_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/708/comments","events_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/708/events","html_url":"https://github.com/eclipsesource/tabris-js/issues/708","id":122765847,"number":708,"title":"minor android crash issue","user":{"login":"bFlood","id":404991,"avatar_url":"https://avatars.githubusercontent.com/u/404991?v=3","gravatar_id":"","url":"https://api.github.com/users/bFlood","html_url":"https://github.com/bFlood","followers_url":"https://api.github.com/users/bFlood/followers","following_url":"https://api.github.com/users/bFlood/following{/other_user}","gists_url":"https://api.github.com/users/bFlood/gists{/gist_id}","starred_url":"https://api.github.com/users/bFlood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bFlood/subscriptions","organizations_url":"https://api.github.com/users/bFlood/orgs","repos_url":"https://api.github.com/users/bFlood/repos","events_url":"https://api.github.com/users/bFlood/events{/privacy}","received_events_url":"https://api.github.com/users/bFlood/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipsesource/tabris-js/labels/bug","name":"bug","color":"333333"},{"url":"https://api.github.com/repos/eclipsesource/tabris-js/labels/priority:%20high","name":"priority: high","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-17T16:07:30Z","updated_at":"2015-12-21T16:40:43Z","closed_at":"2015-12-21T16:40:43Z","body":"I get this error infrequently but it usually happens when you click the back button on a page where tabs are present\r\n\r\n``` \r\n12-17 11:04:36.619: E/AndroidRuntime(4568): FATAL EXCEPTION: main\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): Process: com.sdlportal.sdlmobile3, PID: 4568\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getLeft()' on a null object reference\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.support.design.widget.TabLayout$SlidingTabStrip.animateIndicatorToPosition(TabLayout.java:1599)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.support.design.widget.TabLayout$SlidingTabStrip.onLayout(TabLayout.java:1554)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.HorizontalScrollView.onLayout(HorizontalScrollView.java:2033)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.LinearLayout.layoutVertical(LinearLayout.java:1556)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.LinearLayout.onLayout(LinearLayout.java:1465)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.LinearLayout.layoutVertical(LinearLayout.java:1556)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.LinearLayout.onLayout(LinearLayout.java:1465)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1043)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1043)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.FrameLayout.onLayout(FrameLayout.java:508)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.FrameLayout.onLayout(FrameLayout.java:508)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.FrameLayout.onLayout(FrameLayout.java:508)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.LinearLayout.layoutVertical(LinearLayout.java:1556)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.LinearLayout.onLayout(LinearLayout.java:1465)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.widget.FrameLayout.onLayout(FrameLayout.java:508)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.View.layout(View.java:16701)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewGroup.layout(ViewGroup.java:5328)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2344)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2057)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1216)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6678)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.Choreographer$CallbackRecord.run(Choreographer.java:777)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.view.Choreographer.doCallbacks(Choreographer.java:590)\r\n12-17 11:04:36.619: E/AndroidRuntime(4568): \tat android.vie\r\n``` "},"comment":{"url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/comments/166354094","html_url":"https://github.com/eclipsesource/tabris-js/issues/708#issuecomment-166354094","issue_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/708","id":166354094,"user":{"login":"mpost","id":73655,"avatar_url":"https://avatars.githubusercontent.com/u/73655?v=3","gravatar_id":"","url":"https://api.github.com/users/mpost","html_url":"https://github.com/mpost","followers_url":"https://api.github.com/users/mpost/followers","following_url":"https://api.github.com/users/mpost/following{/other_user}","gists_url":"https://api.github.com/users/mpost/gists{/gist_id}","starred_url":"https://api.github.com/users/mpost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpost/subscriptions","organizations_url":"https://api.github.com/users/mpost/orgs","repos_url":"https://api.github.com/users/mpost/repos","events_url":"https://api.github.com/users/mpost/events{/privacy}","received_events_url":"https://api.github.com/users/mpost/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T16:40:43Z","updated_at":"2015-12-21T16:40:43Z","body":"@bFlood We have fixed the issue in the android client. It is already available in the nightly builds. We will also publish a 1.5.1 update that includes the fix. Thanks for reporting."}}