{"action":"opened","issue":{"url":"https://api.github.com/repos/grote/Transportr/issues/113","labels_url":"https://api.github.com/repos/grote/Transportr/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/grote/Transportr/issues/113/comments","events_url":"https://api.github.com/repos/grote/Transportr/issues/113/events","html_url":"https://github.com/grote/Transportr/issues/113","id":114320759,"number":113,"title":"Removing recent trips crashes Transportr","user":{"login":"motatuc","id":15171154,"avatar_url":"https://avatars.githubusercontent.com/u/15171154?v=3","gravatar_id":"","url":"https://api.github.com/users/motatuc","html_url":"https://github.com/motatuc","followers_url":"https://api.github.com/users/motatuc/followers","following_url":"https://api.github.com/users/motatuc/following{/other_user}","gists_url":"https://api.github.com/users/motatuc/gists{/gist_id}","starred_url":"https://api.github.com/users/motatuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motatuc/subscriptions","organizations_url":"https://api.github.com/users/motatuc/orgs","repos_url":"https://api.github.com/users/motatuc/repos","events_url":"https://api.github.com/users/motatuc/events{/privacy}","received_events_url":"https://api.github.com/users/motatuc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-30T17:46:50Z","updated_at":"2015-10-30T17:46:50Z","closed_at":null,"body":"Hello\r\n\r\nI wanted to remove recent trips but after trying a few times Transportr crashes. This is reproducable.\r\nHappens with 1.0.0beta3.\r\n\r\nThe recent trips is also buggy. For example:\r\n1) open recent trips\r\n2) mark the oldest recent trip\r\n3) remove it\r\n-> suddenly three other recent trips are marked. clicking one of these marked trips twice (because one click does not work) unmarks the two others.\r\n\r\nanyways, here's the crashlog:\r\n\r\n>E/AndroidRuntime(22608): FATAL EXCEPTION: main\r\nE/AndroidRuntime(22608): Process: de.grobox.liberario, PID: 22608\r\nE/AndroidRuntime(22608): java.lang.IndexOutOfBoundsException: Invalid index 40, size is 28\r\nE/AndroidRuntime(22608): \tat java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)\r\nE/AndroidRuntime(22608): \tat java.util.ArrayList.get(ArrayList.java:308)\r\nE/AndroidRuntime(22608): \tat android.widget.ArrayAdapter.getItem(ArrayAdapter.java:337)\r\nE/AndroidRuntime(22608): \tat de.grobox.liberario.fragments.RecentTripsFragment.isFavouriteSelected(RecentTripsFragment.java:264)\r\nE/AndroidRuntime(22608): \tat de.grobox.liberario.fragments.RecentTripsFragment.access$200(RecentTripsFragment.java:51)\r\nE/AndroidRuntime(22608): \tat de.grobox.liberario.fragments.RecentTripsFragment$1$2.onClick(RecentTripsFragment.java:298)\r\nE/AndroidRuntime(22608): \tat com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:162)\r\nE/AndroidRuntime(22608): \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\nE/AndroidRuntime(22608): \tat android.os.Looper.loop(Looper.java:135)\r\nE/AndroidRuntime(22608): \tat android.app.ActivityThread.main(ActivityThread.java:5294)\r\nE/AndroidRuntime(22608): \tat java.lang.reflect.Method.invoke(Native Method)\r\nE/AndroidRuntime(22608): \tat java.lang.reflect.Method.invoke(Method.java:372)\r\nE/AndroidRuntime(22608): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)\r\nE/AndroidRuntime(22608): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)\r\nW/ActivityManager(  555):   Force finishing activity 1 de.grobox.liberario/.activities.MainActivity"}}