Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8044671

NPE from JapaneseEra when a new era is defined in calendar.properties

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b105
    • Introduced In Version:
      8
    • Resolved In Build:
      b26

      Backports

        Description


        A NullPointerException is thrown from java.time.chrono.JapaneseEra if a new
        era has been defined in calendar.properties

        Exception in thread "main" java.lang.NullPointerException
                at java.time.chrono.JapaneseEra.privateEraFrom(JapaneseEra.java:271)
                at
        java.time.chrono.JapaneseDate.toPrivateJapaneseDate(JapaneseDate.java:502)
                at java.time.chrono.JapaneseDate.<init>(JapaneseDate.java:333)
                at java.time.chrono.JapaneseDate.of(JapaneseDate.java:255)
                at JapaneseNewEra.main(JapaneseNewEra.java:16)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dmeetry Dmeetry Degrave (Inactive)
                Reporter:
                asaha Abhijit Saha
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: