zmattr
(Matt Robertson)
December 5, 2019, 9:41pm
1
EBuild gives a fatal error when trying to process the latest RecyclerView library from Google’s Android support library.
Could not load referenced Java archive "C:\Users\mattr\AppData\Local\RemObjects Software\EBuild\Obj\recyclerview.error.tests-704DF4A51E9183C896FBFD00D700F9FE3DF5BADD\Debug\Cooper-Android\aar\recyclerview-1.1.0\classes.jar": Year, Month, and Day parameters describe an un-representable DateTime.
Here’s a sample project:
recyclerview.error.tests.zip (97.8 KB)
zmattr
(Matt Robertson)
December 5, 2019, 9:52pm
2
This error appeared today after Google pushed out version 1.1.0 yesterday. If I force the gradle reference to 1.0.0 it works without issue.
mh
(marc hoffman)
December 5, 2019, 10:09pm
3
:(. sounds like a broken zip/jar to me?
mh
(marc hoffman)
December 5, 2019, 10:12pm
4
That said, reproduced, and unzip
exe can unzip it fine, so I guess tomorrow I’ll be debugging the zip library we use…
Thanks, logged as bugs://83617
mh
(marc hoffman)
December 5, 2019, 10:18pm
6
THAT said, this is what unzip generates:
# ls -la androidx/recyclerview/widget
total 2352
drwxr-xr-x 177 mh staff 5664 Dec 5 18:16 .
drwxr-xr-x 3 mh staff 96 Dec 5 18:16 ..
---------- 1 mh staff 873 Dec 31 1979 AdapterHelper$Callback.class
---------- 1 mh staff 2245 Dec 31 1979 AdapterHelper$UpdateOp.class
---------- 1 mh staff 12424 Dec 31 1979 AdapterHelper.class
---------- 1 mh staff 1523 Dec 31 1979 AdapterListUpdateCallback.class
---------- 1 mh staff 2814 Dec 31 1979 AsyncDifferConfig$Builder.class
---------- 1 mh staff 2288 Dec 31 1979 AsyncDifferConfig.class
---------- 1 mh staff 2697 Dec 31 1979 AsyncListDiffer$1$1.class
---------- 1 mh staff 1494 Dec 31 1979 AsyncListDiffer$1$2.class
---------- 1 mh staff 1936 Dec 31 1979 AsyncListDiffer$1.class
---------- 1 mh staff 527 Dec 31 1979 AsyncListDiffer$ListListener.class
...
all the files in this zip DO indeed have invalid timestamps.
1 Like
mh
(marc hoffman)
December 5, 2019, 10:24pm
7
In any case, worked around it for tomorrow. But really, this .jar is bad.
1 Like
bugs://83617 got closed with status fixed.
mh
(marc hoffman)
December 6, 2019, 7:48pm
10
2461 is out and has this fixed