Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13959

StackOverflowException on Job Finish

XMLWordPrintable

      Since upgrading to jenkins 1.465 we get in some of our jobs the following stacktrace:

      FATAL: null
      java.lang.StackOverflowError
      	at sun.util.calendar.ZoneInfo.getOffsets(ZoneInfo.java:266)
      	at sun.util.calendar.ZoneInfo.getOffsets(ZoneInfo.java:243)
      	at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2041)
      	at java.util.GregorianCalendar.computeTime(GregorianCalendar.java:2489)
      	at java.util.Calendar.updateTime(Calendar.java:2495)
      	at java.util.Calendar.getTimeInMillis(Calendar.java:1104)
      	at java.util.Calendar.getMillisOf(Calendar.java:2512)
      	at java.util.Calendar.equals(Calendar.java:1892)
      	at java.util.GregorianCalendar.equals(GregorianCalendar.java:811)
      	at hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:409)
      	at hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      	at java.util.AbstractList.equals(AbstractList.java:524)
      	at hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      	at hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      	at java.util.AbstractList.equals(AbstractList.java:524)
      	at hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      	at hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      	at java.util.AbstractList.equals(AbstractList.java:524)
      	at hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      	at hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      	at java.util.AbstractList.equals(AbstractList.java:524)
      	at hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      	at hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      	at java.util.AbstractList.equals(AbstractList.java:524)
      	at hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      	at hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      	at java.util.AbstractList.equals(AbstractList.java:524)
      	at hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      	at hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      	at java.util.AbstractList.equals(AbstractList.java:524)
      	at hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      	at hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      	at java.util.AbstractList.equals(AbstractList.java:524)
      	at hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      	at hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      	at java.util.AbstractList.equals(AbstractList.java:524)
      	at hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      	at hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      	at java.util.AbstractList.equals(AbstractList.java:524)
      	at hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      	at hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      	at java.util.AbstractList.equals(AbstractList.java:524)
      	at hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      	at hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      	at java.util.AbstractList.equals(AbstractList.java:524)
      	at hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      	at hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      ...
      

      The Exception happens when the Job itself has finished and is about to report results to e-mail receivers.

      We were able to workaround the issue by removing the "send email notification" setting, storing the configuration and then re-add the notification setting, so perhaps it has something to do with the notification part in jenkins itself.

      PS: The concerned Jobs do not all use CVS, some of them are git-only but get the exact same stacktrace as reported above.

            Unassigned Unassigned
            cappuccino Simon Gamma
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: