java.lang.StackOverflowError

Jenkins JIRA | Simon Schlachter | 5 years ago
  1. 0

    Since upgrading to jenkins 1.465 we get in some of our jobs the following stacktrace: {noformat} 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) ... {noformat} 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.

    Jenkins JIRA | 5 years ago | Simon Schlachter
    java.lang.StackOverflowError
  2. 0

    Since upgrading to jenkins 1.465 we get in some of our jobs the following stacktrace: {noformat} 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) ... {noformat} 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.

    Jenkins JIRA | 5 years ago | Simon Schlachter
    java.lang.StackOverflowError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Unable to trace the source of a stack overflow error

    Stack Overflow | 5 years ago | David
    java.lang.StackOverflowError

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.StackOverflowError

      No message provided

      at sun.util.calendar.ZoneInfo.getOffsets()
    2. Java RT
      GregorianCalendar.equals
      1. sun.util.calendar.ZoneInfo.getOffsets(ZoneInfo.java:266)
      2. sun.util.calendar.ZoneInfo.getOffsets(ZoneInfo.java:243)
      3. java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2041)
      4. java.util.GregorianCalendar.computeTime(GregorianCalendar.java:2489)
      5. java.util.Calendar.updateTime(Calendar.java:2495)
      6. java.util.Calendar.getTimeInMillis(Calendar.java:1104)
      7. java.util.Calendar.getMillisOf(Calendar.java:2512)
      8. java.util.Calendar.equals(Calendar.java:1892)
      9. java.util.GregorianCalendar.equals(GregorianCalendar.java:811)
      9 frames
    3. Hudson
      CVSChangeLogSet$File.equals
      1. hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:409)
      2. hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      2 frames
    4. Java RT
      AbstractList.equals
      1. java.util.AbstractList.equals(AbstractList.java:524)
      1 frame
    5. Hudson
      CVSChangeLogSet$File.equals
      1. hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      2. hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      2 frames
    6. Java RT
      AbstractList.equals
      1. java.util.AbstractList.equals(AbstractList.java:524)
      1 frame
    7. Hudson
      CVSChangeLogSet$File.equals
      1. hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      2. hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      2 frames
    8. Java RT
      AbstractList.equals
      1. java.util.AbstractList.equals(AbstractList.java:524)
      1 frame
    9. Hudson
      CVSChangeLogSet$File.equals
      1. hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      2. hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      2 frames
    10. Java RT
      AbstractList.equals
      1. java.util.AbstractList.equals(AbstractList.java:524)
      1 frame
    11. Hudson
      CVSChangeLogSet$File.equals
      1. hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      2. hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      2 frames
    12. Java RT
      AbstractList.equals
      1. java.util.AbstractList.equals(AbstractList.java:524)
      1 frame
    13. Hudson
      CVSChangeLogSet$File.equals
      1. hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      2. hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      2 frames
    14. Java RT
      AbstractList.equals
      1. java.util.AbstractList.equals(AbstractList.java:524)
      1 frame
    15. Hudson
      CVSChangeLogSet$File.equals
      1. hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      2. hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      2 frames
    16. Java RT
      AbstractList.equals
      1. java.util.AbstractList.equals(AbstractList.java:524)
      1 frame
    17. Hudson
      CVSChangeLogSet$File.equals
      1. hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      2. hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      2 frames
    18. Java RT
      AbstractList.equals
      1. java.util.AbstractList.equals(AbstractList.java:524)
      1 frame
    19. Hudson
      CVSChangeLogSet$File.equals
      1. hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      2. hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      2 frames
    20. Java RT
      AbstractList.equals
      1. java.util.AbstractList.equals(AbstractList.java:524)
      1 frame
    21. Hudson
      CVSChangeLogSet$File.equals
      1. hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      2. hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      2 frames
    22. Java RT
      AbstractList.equals
      1. java.util.AbstractList.equals(AbstractList.java:524)
      1 frame
    23. Hudson
      CVSChangeLogSet$File.equals
      1. hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      2. hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      2 frames
    24. Java RT
      AbstractList.equals
      1. java.util.AbstractList.equals(AbstractList.java:524)
      1 frame
    25. Hudson
      CVSChangeLogSet$File.equals
      1. hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      2. hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      2 frames
    26. Java RT
      AbstractList.equals
      1. java.util.AbstractList.equals(AbstractList.java:524)
      1 frame
    27. Hudson
      CVSChangeLogSet$File.equals
      1. hudson.scm.CVSChangeLogSet$CVSChangeLog.equals(CVSChangeLogSet.java:416)
      2. hudson.scm.CVSChangeLogSet$File.equals(CVSChangeLogSet.java:608)
      2 frames