ZoneRulesException locally
See original GitHub issueSeveral tests failing on:
==> X org.http4s.client.UnexpectedStatusSuite.UnexpectedStatus should not return null 0.09s java.time.zone.ZoneRulesException: Unknown time-zone ID: America/Indianapolis
at java.time.zone.ZoneRulesProvider$.getProvider(/Users/ross.baker/src/http4s/client/js/target/scala-2.12/http4s-client-test-fastopt/main.js:16356)
at java.time.zone.ZoneRulesProvider$.getRules(/Users/ross.baker/src/http4s/client/js/target/scala-2.12/http4s-client-test-fastopt/main.js:16394)
Briefly discussed https://github.com/http4s/http4s/pull/5065#issuecomment-908608752. We need some sort of workaround, because I don’t have a sense what I broke and what I didn’t.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
[Solved] java.time.zone.ZoneRulesException: Unknown time ...
ZoneRulesException occurs while validating time zone This exception is used to indicate problems with configured time zone rules.
Read more >[CI] Failures in various sql tests due to ZoneRulesException ...
Reproduces locally?: no. Applicable branches: 6.8. Failure history: started failing on May 11th. Failure excerpt:.
Read more >ZoneRulesException (Java Platform SE 8 ) - Oracle Help Center
This exception is used to indicate a problems with the configured time-zone rules. Implementation Requirements: This class is intended for use in a...
Read more >Android ThreeTen ABP library not working in unit tests ...
This exception is caused because AndroidThreeTen.init has not been called with a context. Local unit tests do not have an Application or a ......
Read more >java.time.zone (Java SE 15 & JDK 15 [ad-hoc build])
Package java.time.zone. Support for time-zones and their rules. Daylight Saving Time and Time-Zones are concepts used by Governments to alter local time. This ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
On the branch I was on, #5234 fixes both this and a null pointer exception that I think I mentioned somewhere but can’t find now.
The constructor of
ArbitraryInstances
is invokingZoneId.systemDefault
, I think as part of thehttpDate
generator. On the next line, it tries to loadUTC
, but it’s too late.