{"action":"created","issue":{"url":"https://api.github.com/repos/robolectric/robolectric/issues/1630","labels_url":"https://api.github.com/repos/robolectric/robolectric/issues/1630/labels{/name}","comments_url":"https://api.github.com/repos/robolectric/robolectric/issues/1630/comments","events_url":"https://api.github.com/repos/robolectric/robolectric/issues/1630/events","html_url":"https://github.com/robolectric/robolectric/issues/1630","id":62723167,"number":1630,"title":"ViewPager IllegalStateException","user":{"login":"eygraber","id":1100381,"avatar_url":"https://avatars.githubusercontent.com/u/1100381?v=3","gravatar_id":"","url":"https://api.github.com/users/eygraber","html_url":"https://github.com/eygraber","followers_url":"https://api.github.com/users/eygraber/followers","following_url":"https://api.github.com/users/eygraber/following{/other_user}","gists_url":"https://api.github.com/users/eygraber/gists{/gist_id}","starred_url":"https://api.github.com/users/eygraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eygraber/subscriptions","organizations_url":"https://api.github.com/users/eygraber/orgs","repos_url":"https://api.github.com/users/eygraber/repos","events_url":"https://api.github.com/users/eygraber/events{/privacy}","received_events_url":"https://api.github.com/users/eygraber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robolectric/robolectric/labels/2.4","name":"2.4","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":39,"created_at":"2015-03-18T15:37:02Z","updated_at":"2015-06-04T02:18:48Z","closed_at":"2015-06-04T02:02:03Z","body":"I have a problem similar to https://github.com/robolectric/robolectric/issues/1326\r\n\r\nThe stacktrace is the same, but the code is not. In my case I start a `Fragment` using `FragmentTestUtil`. That `Fragment` calls `ViewPager.setCurrentItem` when it has been started, so I can't use this fix (https://github.com/robolectric/robolectric/issues/1326#issuecomment-68306634)."},"comment":{"url":"https://api.github.com/repos/robolectric/robolectric/issues/comments/108684415","html_url":"https://github.com/robolectric/robolectric/issues/1630#issuecomment-108684415","issue_url":"https://api.github.com/repos/robolectric/robolectric/issues/1630","id":108684415,"user":{"login":"jaredsburrows","id":1739848,"avatar_url":"https://avatars.githubusercontent.com/u/1739848?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredsburrows","html_url":"https://github.com/jaredsburrows","followers_url":"https://api.github.com/users/jaredsburrows/followers","following_url":"https://api.github.com/users/jaredsburrows/following{/other_user}","gists_url":"https://api.github.com/users/jaredsburrows/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredsburrows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredsburrows/subscriptions","organizations_url":"https://api.github.com/users/jaredsburrows/orgs","repos_url":"https://api.github.com/users/jaredsburrows/repos","events_url":"https://api.github.com/users/jaredsburrows/events{/privacy}","received_events_url":"https://api.github.com/users/jaredsburrows/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T02:18:48Z","updated_at":"2015-06-04T02:18:48Z","body":"Rename `org.robolectric.Config.properties` to `robolectric. properties`.\r\n\r\nI am not sure, I have not tried doing that. I simple Google search shows us:\r\n\r\nhttp://stackoverflow.com/questions/11333354/how-can-i-test-fragments-with-robolectric\r\n\r\nSome of those tests are old but are still \"valid\".\r\n\r\n"}}