org.threeten.bp.zone.ZoneRulesException: No time-zone data files registered

Stack Overflow | Zoltán Umlauf | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ZonedDateTime.now() causes org.threeten.bp.zone.ZoneRulesException

    Stack Overflow | 5 months ago | Zoltán Umlauf
    org.threeten.bp.zone.ZoneRulesException: No time-zone data files registered

    Root Cause Analysis

    1. org.threeten.bp.zone.ZoneRulesException

      No time-zone data files registered

      at org.threeten.bp.zone.ZoneRulesProvider.getProvider()
    2. ThreeTen backport
      ZonedDateTime.now
      1. org.threeten.bp.zone.ZoneRulesProvider.getProvider(ZoneRulesProvider.java:176)
      2. org.threeten.bp.zone.ZoneRulesProvider.getRules(ZoneRulesProvider.java:133)
      3. org.threeten.bp.ZoneRegion.ofId(ZoneRegion.java:143)
      4. org.threeten.bp.ZoneId.of(ZoneId.java:357)
      5. org.threeten.bp.ZoneId.of(ZoneId.java:285)
      6. org.threeten.bp.ZoneId.systemDefault(ZoneId.java:244)
      7. org.threeten.bp.Clock.systemDefaultZone(Clock.java:137)
      8. org.threeten.bp.ZonedDateTime.now(ZonedDateTime.java:168)
      8 frames
    3. eu.arrowhead.arrowheaddemo
      TimePickerFragment.onTimeSet
      1. eu.arrowhead.arrowheaddemo.ReservationsActivity.onTimeSet(ReservationsActivity.java:162)
      2. eu.arrowhead.arrowheaddemo.TimePickerFragment.onTimeSet(TimePickerFragment.java:56)
      2 frames
    4. Android Platform
      TimePickerDialog.onClick
      1. android.app.TimePickerDialog.onClick(TimePickerDialog.java:141)
      1 frame
    5. Android
      AlertController$ButtonHandler.handleMessage
      1. com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:164)
      1 frame
    6. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:154)
      3. android.app.ActivityThread.main(ActivityThread.java:6077)
      3 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      2 frames