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

PIT: regrssn test java/util/Calendar/BuddhistCalendarSerializationTest.sh failed

XMLWordPrintable

    • tiger
    • generic
    • generic
    • Verified

      Build: /net/jano/export/disk12/i18n/NightlyBuilds/archives/2003-09-04.tiger
      Platform: RedHat 8.0 ja, Sol. 8

      regression test java/util/Calendar/BuddhistCalendarSerializationTest.sh failed
      with the above PIT build.

      Exception are attached below:
      ==================================================================
      ----------System.err:(82/7343)----------
      Exception in thread "main" java.lang.NullPointerException
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1318)
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1298)
              at java.util.Calendar.setTimeInMillis(Calendar.java:938)
              at java.util.GregorianCalendar.<init>(GregorianCalendar.java:365)
              at sun.util.BuddhistCalendar.<init>(BuddhistCalendar.java:62)
              at java.util.Calendar.createCalendar(Calendar.java:855)
              at java.util.Calendar.getInstance(Calendar.java:830)
              at BuddhistCalendarSerializationTest.main(BuddhistCalendarSerializationTest.java:16)
      Exception in thread "main" java.lang.NullPointerException
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1318)
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1298)
              at java.util.Calendar.setTimeInMillis(Calendar.java:938)
              at java.util.GregorianCalendar.<init>(GregorianCalendar.java:365)
              at sun.util.BuddhistCalendar.<init>(BuddhistCalendar.java:62)
              at java.util.Calendar.createCalendar(Calendar.java:855)
              at java.util.Calendar.getInstance(Calendar.java:830)
              at BuddhistCalendarSerializationTest.main(BuddhistCalendarSerializationTest.java:16)
      Exception in thread "main" java.lang.NullPointerException
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1318)
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1298)
              at java.util.Calendar.setTimeInMillis(Calendar.java:938)
              at java.util.GregorianCalendar.<init>(GregorianCalendar.java:365)
              at sun.util.BuddhistCalendar.<init>(BuddhistCalendar.java:62)
              at java.util.Calendar.createCalendar(Calendar.java:855)
              at java.util.Calendar.getInstance(Calendar.java:830)
              at BuddhistCalendarSerializationTest.main(BuddhistCalendarSerializationTest.java:16)
      cal=sun.util.BuddhistCalendar[time=1000827225000,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2001,MONTH=8,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=18,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=?,HOUR=?,HOUR_OF_DAY=15,MINUTE=33,SECOND=45,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?]

      decal=sun.util.BuddhistCalendar[time=1000794825000,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Tokyo",offset=32400000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2001,MONTH=8,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=18,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=?,HOUR=?,HOUR_OF_DAY=15,MINUTE=33,SECOND=45,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?]
      Exception in thread "main" java.lang.RuntimeException: The 1st serialized Calendar object is incompatible.
              at BuddhistCalendarSerializationTest.main(BuddhistCalendarSerializationTest.java:42)
      Exception in thread "main" java.lang.NullPointerException
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1318)
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1298)
              at java.util.Calendar.setTimeInMillis(Calendar.java:938)
              at java.util.GregorianCalendar.<init>(GregorianCalendar.java:365)
              at sun.util.BuddhistCalendar.<init>(BuddhistCalendar.java:62)
              at java.util.Calendar.createCalendar(Calendar.java:855)
              at java.util.Calendar.getInstance(Calendar.java:830)
              at BuddhistCalendarSerializationTest.main(BuddhistCalendarSerializationTest.java:16)
      Exception in thread "main" java.lang.NullPointerException
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1318)
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1298)
              at java.util.Calendar.setTimeInMillis(Calendar.java:938)
              at java.util.GregorianCalendar.<init>(GregorianCalendar.java:365)
              at sun.util.BuddhistCalendar.<init>(BuddhistCalendar.java:62)
              at java.util.Calendar.createCalendar(Calendar.java:855)
              at java.util.Calendar.getInstance(Calendar.java:830)
              at BuddhistCalendarSerializationTest.main(BuddhistCalendarSerializationTest.java:16)
      cal=sun.util.BuddhistCalendar[time=1000852425000,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/Los_Angeles",offset=-28800000,dstSavings=3600000,useDaylight=true,transitions=185,lastRule=java.util.SimpleTimeZone[id=America/Los_Angeles,offset=-28800000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2001,MONTH=8,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=18,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=?,HOUR=?,HOUR_OF_DAY=15,MINUTE=33,SECOND=45,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?]

      decal=sun.util.BuddhistCalendar[time=1000794825000,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Tokyo",offset=32400000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2001,MONTH=8,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=18,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=?,HOUR=?,HOUR_OF_DAY=15,MINUTE=33,SECOND=45,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?]
      Exception in thread "main" java.lang.RuntimeException: The 1st serialized Calendar object is incompatible.
              at BuddhistCalendarSerializationTest.main(BuddhistCalendarSerializationTest.java:42)
      Exception in thread "main" java.lang.NullPointerException
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1318)
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1298)
              at java.util.Calendar.setTimeInMillis(Calendar.java:938)
              at java.util.GregorianCalendar.<init>(GregorianCalendar.java:365)
              at sun.util.BuddhistCalendar.<init>(BuddhistCalendar.java:62)
              at java.util.Calendar.createCalendar(Calendar.java:855)
              at java.util.Calendar.getInstance(Calendar.java:830)
              at BuddhistCalendarSerializationTest.main(BuddhistCalendarSerializationTest.java:16)
      Exception in thread "main" java.lang.NullPointerException
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1318)
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1298)
              at java.util.Calendar.setTimeInMillis(Calendar.java:938)
              at java.util.GregorianCalendar.<init>(GregorianCalendar.java:365)
              at sun.util.BuddhistCalendar.<init>(BuddhistCalendar.java:62)
              at java.util.Calendar.createCalendar(Calendar.java:855)
              at java.util.Calendar.getInstance(Calendar.java:830)
              at BuddhistCalendarSerializationTest.main(BuddhistCalendarSerializationTest.java:16)
      Exception in thread "main" java.lang.NullPointerException
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1318)
              at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1298)
              at java.util.Calendar.setTimeInMillis(Calendar.java:938)
              at java.util.GregorianCalendar.<init>(GregorianCalendar.java:365)
              at sun.util.BuddhistCalendar.<init>(BuddhistCalendar.java:62)
              at java.util.Calendar.createCalendar(Calendar.java:855)
              at java.util.Calendar.getInstance(Calendar.java:830)
              at BuddhistCalendarSerializationTest.main(BuddhistCalendarSerializationTest.java:16)
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1

      ========================================================

      Verified in b19, fixed.

            okutsu Masayoshi Okutsu
            mtiensunw Minchi Tien (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: