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

JENKINS -Error Message:FATAL: null java.lang.StackOverflowError at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListen

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: tfs-plugin
    • Labels:
      None
    • Environment:
      SIT Environment
    • Similar Issues:

      Description

      Hi I am using TFS as my source repository and configured Jenkins with TFS for moving  automated builds for every check-In and it was working fine for more than a month.

      But now I have ran into below error where I am not finding any solution please help me on this.

      Error Message:

      [WS-CLEANUP] Deleting project workspace...
      [WS-CLEANUP] Done
      FATAL: null
      java.lang.StackOverflowError
      at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:304)
      at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:304)
      at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:304)
      at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:304)
      at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:304)

       

      Currently my Versions are :

      Team Foundation Server Plug-In version is 5.126.0

      Jenkins - 2.89.4

       

      I have also tried restarting my slave services on windows server and restarted my windows server but it didn't fix my issue.

       

       

      Please help me on this.

      Thanks in Advance . Really appreciate your Time and Support .

       

       

       

       

       

        Attachments

          Activity

          Hide
          jatinbedi Jatin Bedi added a comment -

          +1.

          Any updates on this would be appreciated.

          Show
          jatinbedi Jatin Bedi added a comment - +1. Any updates on this would be appreciated.
          Hide
          owenmehegan Owen Mehegan added a comment -

          Jason Prickett I assigned this ticket to you because you've made sone of the most recent commits to this plugin, whereas the 'redsolo' user this was assigned to has not been active in this Jira instance since 2014. I hope that's OK. If you or one of the other current maintainers of the plugin should be made the default assignee for new issues, let me know and I can change that setting.

          CloudBees Support has received a case from a customer who is affected by this bug, so I was hoping to get some attention on it, since we do not maintain this plugin.

          Show
          owenmehegan Owen Mehegan added a comment - Jason Prickett I assigned this ticket to you because you've made sone of the most recent commits to this plugin, whereas the 'redsolo' user this was assigned to has not been active in this Jira instance since 2014. I hope that's OK. If you or one of the other current maintainers of the plugin should be made the default assignee for new issues, let me know and I can change that setting. CloudBees Support has received a case from a customer who is affected by this bug, so I was hoping to get some attention on it, since we do not maintain this plugin.
          Hide
          allan_burdajewicz Allan BURDAJEWICZ added a comment - - edited

          I also found http://blogs.pitx3.com/2016/01/24/mulesoft-microsoft-java-tfs-stackoverflowerror. This user has reached out to Microsoft and while they did not confirm it was a bug they provided him with a workaround.

          It is mentioned in the release note that Stackoverlflow issue is solved in https://github.com/microsoft/team-explorer-everywhere/releases/tag/v14.0.3. If we have a look at the source code of the SDK) however, the TFSConfigurationServer is closed after the TFSTeamProjectCollection and (while the workaround is to close it before).

          We can see that the TFS plugin does already this in a way. But there is some legacy code using reflection that could be cleaned up. Proposed https://github.com/jenkinsci/tfs-plugin/pull/230

          Show
          allan_burdajewicz Allan BURDAJEWICZ added a comment - - edited I also found http://blogs.pitx3.com/2016/01/24/mulesoft-microsoft-java-tfs-stackoverflowerror . This user has reached out to Microsoft and while they did not confirm it was a bug they provided him with a workaround. It is mentioned in the release note that Stackoverlflow issue is solved in https://github.com/microsoft/team-explorer-everywhere/releases/tag/v14.0.3 . If we have a look at the source code of the SDK ) however, the TFSConfigurationServer is closed after the TFSTeamProjectCollection and (while the workaround is to close it before). We can see that the TFS plugin does already this in a way . But there is some legacy code using reflection that could be cleaned up. Proposed https://github.com/jenkinsci/tfs-plugin/pull/230
          Hide
          owenmehegan Owen Mehegan added a comment -

          Kellie Jos leah antkiewicz Brian Benz I just wanted to ping a few of you since you all seem to be recent contributors to this plugin. At CloudBees, we have a couple of customers who have been affected by the issue described here, and they are forced to restart Jenkins regularly to work around it. We have proposed this PR as a possible solution: https://github.com/jenkinsci/tfs-plugin/pull/230 If there is anything else we can do to work with you on this, please let us know!

          Show
          owenmehegan Owen Mehegan added a comment - Kellie Jos leah antkiewicz Brian Benz I just wanted to ping a few of you since you all seem to be recent contributors to this plugin. At CloudBees, we have a couple of customers who have been affected by the issue described here, and they are forced to restart Jenkins regularly to work around it. We have proposed this PR as a possible solution:  https://github.com/jenkinsci/tfs-plugin/pull/230  If there is anything else we can do to work with you on this, please let us know!
          Hide
          allan_burdajewicz Allan BURDAJEWICZ added a comment -

          I have also proposed https://github.com/jenkinsci/tfs-plugin/pull/233 to deal with potentially unclosed connections.

          Show
          allan_burdajewicz Allan BURDAJEWICZ added a comment - I have also proposed https://github.com/jenkinsci/tfs-plugin/pull/233 to deal with potentially unclosed connections.

            People

            • Assignee:
              jpricketmsft Jason Prickett
              Reporter:
              gtilak g Tilak
            • Votes:
              8 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated: