{"action":"created","issue":{"url":"https://api.github.com/repos/robolectric/robolectric/issues/1866","repository_url":"https://api.github.com/repos/robolectric/robolectric","labels_url":"https://api.github.com/repos/robolectric/robolectric/issues/1866/labels{/name}","comments_url":"https://api.github.com/repos/robolectric/robolectric/issues/1866/comments","events_url":"https://api.github.com/repos/robolectric/robolectric/issues/1866/events","html_url":"https://github.com/robolectric/robolectric/issues/1866","id":84868356,"node_id":"MDU6SXNzdWU4NDg2ODM1Ng==","number":1866,"title":"ShadowDatePickerDialogTest does not pass on KitKat","user":{"login":"jongerrish","id":6314616,"node_id":"MDQ6VXNlcjYzMTQ2MTY=","avatar_url":"https://avatars1.githubusercontent.com/u/6314616?v=4","gravatar_id":"","url":"https://api.github.com/users/jongerrish","html_url":"https://github.com/jongerrish","followers_url":"https://api.github.com/users/jongerrish/followers","following_url":"https://api.github.com/users/jongerrish/following{/other_user}","gists_url":"https://api.github.com/users/jongerrish/gists{/gist_id}","starred_url":"https://api.github.com/users/jongerrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jongerrish/subscriptions","organizations_url":"https://api.github.com/users/jongerrish/orgs","repos_url":"https://api.github.com/users/jongerrish/repos","events_url":"https://api.github.com/users/jongerrish/events{/privacy}","received_events_url":"https://api.github.com/users/jongerrish/received_events","type":"User","site_admin":false},"labels":[{"id":187563626,"node_id":"MDU6TGFiZWwxODc1NjM2MjY=","url":"https://api.github.com/repos/robolectric/robolectric/labels/defect","name":"defect","color":"e11d21","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-06-04T02:25:18Z","updated_at":"2018-11-05T00:55:54Z","closed_at":"2018-11-05T00:55:54Z","author_association":"CONTRIBUTOR","body":"Set @Config(sdk = 19) - fails with the following error:-\n\nandroid.view.InflateException: XML file jar:/home/jongerrish/.m2/repository/org/robolectric/android-all/4.4_r1-robolectric-1/android-all-4.4_r1-robolectric-1.jar!/res/layout/date_picker_dialog.xml line #-1 (sorry, not yet implemented): Error inflating class android.widget.DatePicker\n    at android.view.LayoutInflater.createView(LayoutInflater.java:620)\n    at org.robolectric.shadows.RoboLayoutInflater.onCreateView(RoboLayoutInflater.java:38)\n    at android.view.LayoutInflater.onCreateView(LayoutInflater.java:669)\n    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:694)\n    at android.view.LayoutInflater.inflate(LayoutInflater.java:469)\n    at android.view.LayoutInflater.inflate(LayoutInflater.java:397)\n    at android.view.LayoutInflater.inflate(LayoutInflater.java:353)\n    at android.app.DatePickerDialog.**constructor**(DatePickerDialog.java:108)\n    at org.robolectric.util.ReflectionHelpers.callInstanceMethod(ReflectionHelpers.java:195)\n    at org.robolectric.internal.Shadow.invokeConstructor(Shadow.java:54)\n    at org.robolectric.shadows.ShadowDatePickerDialog.**constructor**(ShadowDatePickerDialog.java:26)\n    at android.app.DatePickerDialog.<init>(DatePickerDialog.java)\n    at org.robolectric.shadows.ShadowDatePickerDialogTest.returnsTheInitialYearMonthAndDayPassedIntoTheDatePickerDialog(ShadowDatePickerDialogTest.java:22)\n    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)\n    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)\n    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)\n    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)\n    at org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:245)\n    at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:185)\n    at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:54)\n    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)\n    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)\n    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)\n    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)\n    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)\n    at org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:149)\n    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)\n    at org.junit.runners.Suite.runChild(Suite.java:128)\n    at org.junit.runners.Suite.runChild(Suite.java:24)\n    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)\n    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)\n    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)\n    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)\n    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)\n    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)\n    at org.junit.runners.Suite.runChild(Suite.java:128)\n    at org.junit.runners.Suite.runChild(Suite.java:24)\n    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)\n    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)\n    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)\n    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)\n    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)\n    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)\n    at org.junit.runner.JUnitCore.run(JUnitCore.java:157)\n    at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74)\n    at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:211)\n    at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67)\n    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)\nCaused by: java.lang.reflect.InvocationTargetException\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)\n    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)\n    at android.view.LayoutInflater.$$robo$$createView(LayoutInflater.java:594)\n    at android.view.LayoutInflater.createView(LayoutInflater.java)\n    at org.robolectric.shadows.RoboLayoutInflater.onCreateView(RoboLayoutInflater.java:38)\n    at android.view.LayoutInflater.$$robo$$onCreateView(LayoutInflater.java:669)\n    at android.view.LayoutInflater.onCreateView(LayoutInflater.java)\n    at android.view.LayoutInflater.$$robo$$createViewFromTag(LayoutInflater.java:694)\n    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java)\n    at android.view.LayoutInflater.$$robo$$inflate(LayoutInflater.java:469)\n    at android.view.LayoutInflater.inflate(LayoutInflater.java)\n    at android.view.LayoutInflater.$$robo$$inflate(LayoutInflater.java:397)\n    at android.view.LayoutInflater.inflate(LayoutInflater.java)\n    at android.view.LayoutInflater.$$robo$$inflate(LayoutInflater.java:353)\n    at android.view.LayoutInflater.inflate(LayoutInflater.java)\n    at android.app.DatePickerDialog.$$robo$$**constructor**(DatePickerDialog.java:108)\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n    at org.robolectric.util.ReflectionHelpers.callInstanceMethod(ReflectionHelpers.java:195)\n    at org.robolectric.internal.Shadow.invokeConstructor(Shadow.java:54)\n    at org.robolectric.shadows.ShadowDatePickerDialog.**constructor**(ShadowDatePickerDialog.java:26)\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n    at org.robolectric.internal.bytecode.ShadowWrangler$ShadowMethodPlan.run(ShadowWrangler.java:437)\n    at android.app.DatePickerDialog.<init>(DatePickerDialog.java)\n    at android.app.DatePickerDialog.<init>(DatePickerDialog.java)\n    at org.robolectric.shadows.ShadowDatePickerDialogTest.returnsTheInitialYearMonthAndDayPassedIntoTheDatePickerDialog(ShadowDatePickerDialogTest.java:22)\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)\n    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)\n    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)\n    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)\n    at org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:245)\n    at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:185)\n    at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:54)\n    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)\n    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)\n    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)\n    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)\n    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)\n    at org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:149)\n    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)\n    at org.junit.runners.Suite.runChild(Suite.java:128)\n    at org.junit.runners.Suite.runChild(Suite.java:24)\n    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)\n    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)\n    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)\n    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)\n    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)\n    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)\n    at org.junit.runners.Suite.runChild(Suite.java:128)\n    at org.junit.runners.Suite.runChild(Suite.java:24)\n    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)\n    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)\n    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)\n    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)\n    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)\n    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)\n    at org.junit.runner.JUnitCore.run(JUnitCore.java:157)\n    at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74)\n    at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:211)\n    at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67)\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n    ... 1 more\nCaused by: java.lang.IllegalArgumentException: Bad pattern character 'h' in h:mm a\n    at libcore.icu.ICU.getDateFormatOrder(ICU.java:155)\n    at android.widget.DatePicker.reorderSpinners(DatePicker.java:531)\n    at android.widget.DatePicker.**constructor**(DatePicker.java:284)\n    at android.widget.DatePicker.<init>(DatePicker.java)\n    at android.view.LayoutInflater.createView(LayoutInflater.java:594)\n    at org.robolectric.shadows.RoboLayoutInflater.onCreateView(RoboLayoutInflater.java:38)\n    at android.view.LayoutInflater.onCreateView(LayoutInflater.java:669)\n    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:694)\n    at android.view.LayoutInflater.inflate(LayoutInflater.java:469)\n    at android.view.LayoutInflater.inflate(LayoutInflater.java:397)\n    at android.view.LayoutInflater.inflate(LayoutInflater.java:353)\n    at android.app.DatePickerDialog.**constructor**(DatePickerDialog.java:108)\n    at org.robolectric.util.ReflectionHelpers.callInstanceMethod(ReflectionHelpers.java:195)\n    at org.robolectric.internal.Shadow.invokeConstructor(Shadow.java:54)\n    at org.robolectric.shadows.ShadowDatePickerDialog.**constructor**(ShadowDatePickerDialog.java:26)\n    at android.app.DatePickerDialog.<init>(DatePickerDialog.java)\n    at org.robolectric.shadows.ShadowDatePickerDialogTest.returnsTheInitialYearMonthAndDayPassedIntoTheDatePickerDialog(ShadowDatePickerDialogTest.java:22)\n    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)\n    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)\n    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)\n    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)\n    at org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:245)\n    at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:185)\n    at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:54)\n    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)\n    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)\n    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)\n    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)\n    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)\n    at org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:149)\n    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)\n    at org.junit.runners.Suite.runChild(Suite.java:128)\n    at org.junit.runners.Suite.runChild(Suite.java:24)\n    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)\n    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)\n    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)\n    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)\n    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)\n    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)\n    at org.junit.runners.Suite.runChild(Suite.java:128)\n    at org.junit.runners.Suite.runChild(Suite.java:24)\n    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)\n    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)\n    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)\n    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)\n    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)\n    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)\n    at org.junit.runner.JUnitCore.run(JUnitCore.java:157)\n    at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67)\n    ... 1 more\n"},"comment":{"url":"https://api.github.com/repos/robolectric/robolectric/issues/comments/435725833","html_url":"https://github.com/robolectric/robolectric/issues/1866#issuecomment-435725833","issue_url":"https://api.github.com/repos/robolectric/robolectric/issues/1866","id":435725833,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTcyNTgzMw==","user":{"login":"jongerrish","id":6314616,"node_id":"MDQ6VXNlcjYzMTQ2MTY=","avatar_url":"https://avatars1.githubusercontent.com/u/6314616?v=4","gravatar_id":"","url":"https://api.github.com/users/jongerrish","html_url":"https://github.com/jongerrish","followers_url":"https://api.github.com/users/jongerrish/followers","following_url":"https://api.github.com/users/jongerrish/following{/other_user}","gists_url":"https://api.github.com/users/jongerrish/gists{/gist_id}","starred_url":"https://api.github.com/users/jongerrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jongerrish/subscriptions","organizations_url":"https://api.github.com/users/jongerrish/orgs","repos_url":"https://api.github.com/users/jongerrish/repos","events_url":"https://api.github.com/users/jongerrish/events{/privacy}","received_events_url":"https://api.github.com/users/jongerrish/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T00:55:54Z","updated_at":"2018-11-05T00:55:54Z","author_association":"CONTRIBUTOR","body":"Resource handling has vastly improved with Robolectric 4.0 and binary resource support\r\n\r\nClosing this as it hasn't been updated in a while. If its still an issue with Robolectric 4.0 please reopen with a reproducible test case and we'll prioritize."}}
{"actor":{"display_login":"jongerrish"}}