Getting the following exceptions after we moving on to jdk1.5.0_01 :
java.lang.ArrayIndexOutOfBoundsException: 432
at sun.util.calendar.BaseCalendar.getCalendarDateFromFixedDate(BaseCalendar.java:436)
at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2024)
at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1941)
at java.util.Calendar.setTimeInMillis(Calendar.java:1066)
at java.util.Calendar.setTime(Calendar.java:1032)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:785)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:778)
at java.text.DateFormat.format(DateFormat.java:314)
at com.partypoker.common.Debug.formatTime(Debug.java:178)
The relevant code snippet in Debug.java at which the above exception happened :
==================================================================
static java.text.SimpleDateFormat tf = new java.text.SimpleDateFormat("HH-mm-ss");
....
public static String formatTime(long t) {
return tf.format(new Date(t));
}
==================================================================
System details :
Jdk version : jdk1.5.0_01
Operating System : Redhat Enterprise Linux 3.0 - Enterprise Server
OS version : 2.4.20-24.7smp
Hardware platform : Compaq DL360 G3
###@###.### 2005-2-22 11:02:59 GMT