Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tz2022c update for joda time is failing with latest joda-time release 2.11.1 #633

Open
chakrirc8 opened this issue Sep 8, 2022 · 1 comment

Comments

@chakrirc8
Copy link

While applying tzdata2022c on linux machine, joda-time update is failing with below error

Joda-time version used is 2.11.1

JODA TZ version : 2022a --> 2022c ... Exception in thread "main" java.lang.ClassCastException: org.joda.time.UTCDateTimeZone cannot be cast to org.joda.time.tz.DateTimeZoneBuilder$PrecalculatedZone
at org.joda.time.tz.DateTimeZoneBuilder.writeTo(DateTimeZoneBuilder.java:481)
at org.joda.time.tz.DateTimeZoneBuilder.writeTo(DateTimeZoneBuilder.java:453)
at org.joda.time.tz.ZoneInfoCompiler.writeZone(ZoneInfoCompiler.java:485)
at org.joda.time.tz.ZoneInfoCompiler.compile(ZoneInfoCompiler.java:423)
at org.joda.time.tz.ZoneInfoCompiler.main(ZoneInfoCompiler.java:126)
Failed
| Writing zoneinfo files
| Fixed negative save values for rule 'Morocco'
| Fixed negative save values for rule 'Morocco'
| Fixed negative save values for rule 'Morocco'
| Fixed negative save values for rule 'Morocco'
| Fixed negative save values for rule 'Morocco'
| Fixed negative save values for rule 'Namibia'
| Fixed negative save values for rule 'Eire'
| Fixed negative save values for rule 'Eire'

@jodastephen
Copy link
Member

Just to note that the latest release of Joda-Time includes the 2022c data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants