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

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

    XMLWordPrintable

Details

    • b105
    • 8
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: