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

11 views
Skip to first unread message

Ashwin.tilak85@gmail.com (JIRA)

unread,
Mar 22, 2018, 2:19:03 AM3/22/18
to jenkinsc...@googlegroups.com
g Tilak created an issue
 
Jenkins / Bug JENKINS-50331
JENKINS -Error Message:FATAL: null java.lang.StackOverflowError at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListen
Issue Type: Bug Bug
Assignee: redsolo
Attachments: Jenkins_Error_Screenshot.PNG
Components: tfs-plugin
Created: 2018-03-22 06:18
Environment: SIT Environment
Priority: Critical Critical
Reporter: g Tilak

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 .

 

 

 

 

 

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

mtarun523@gmail.com (JIRA)

unread,
Aug 9, 2018, 12:05:02 PM8/9/18
to jenkinsc...@googlegroups.com
Tharun Reddy commented on Bug JENKINS-50331
 
Re: JENKINS -Error Message:FATAL: null java.lang.StackOverflowError at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListen

I am also facing same issue. However in my case restarting the Jenkins service fixed it temporarily. But I need a more permanent solution, I cannot restart Jenkins service whenever we face this issue. Is there something have you done to fix it?

This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

murat.gundogdu@gmail.com (JIRA)

unread,
Aug 13, 2018, 7:25:02 AM8/13/18
to jenkinsc...@googlegroups.com
Murat Gundogdu edited a comment on Bug JENKINS-50331
We have a big Jenkins setup with 20 servers and more than a thousand job jobs . We're having this problem for the latest TFS plugin versions, too. This needs urgent fix since when we get this error, all of the jobs starts to fail until a Jenkins restart. Restarting Jenkins solves the issue temporarily until it happens again (usually in 24 hours).  We are using up to date Jenkins and TFS Plugin versions. --> Currently, Jenkins: v2.121.2 / TFS Plugin: v5.139.2 

 We had this issue before with Jenkins v2.60.1 + TFS Plugin: v5.139.1 before we upgraded our Jenkins setup to the latest version.

I can confirm that TFS Plugin v5.121.0 doesn't have this bug. So we downgrade this version. However it has its own bugs :/

 

 

murat.gundogdu@gmail.com (JIRA)

unread,
Aug 13, 2018, 7:25:02 AM8/13/18
to jenkinsc...@googlegroups.com

We have a big Jenkins setup with 20 servers and more than a thousand job. We're having this problem for the latest TFS plugin versions, too. This needs urgent fix since when we get this error, all of the jobs starts to fail until a Jenkins restart. Restarting Jenkins solves the issue temporarily until it happens again (usually in 24 hours).  We are using up to date Jenkins and TFS Plugin versions. --> Currently, Jenkins: v2.121.2 / TFS Plugin: v5.139.2 

 We had this issue before with Jenkins v2.60.1 + TFS Plugin: v5.139.1 before we upgraded our Jenkins setup to the latest version.

I can confirm that TFS Plugin v5.121.0 doesn't have this bug. So we downgrade this version. However it has its own bugs :/

 

 

murat.gundogdu@gmail.com (JIRA)

unread,
Aug 13, 2018, 7:26:02 AM8/13/18
to jenkinsc...@googlegroups.com
Murat Gundogdu edited a comment on Bug JENKINS-50331
We're having this problem for the latest TFS plugin versions, too. This needs urgent fix since when we get this error, all of the jobs starts start to fail until a Jenkins restart. Restarting Jenkins solves the issue temporarily until it happens again (usually in 24 hours).  We are using up to date Jenkins and TFS Plugin versions. --> Currently, Jenkins: v2.121.2 / TFS Plugin: v5.139.2 


 We had this issue before with Jenkins v2.60.1 + TFS Plugin: v5.139.1 before we upgraded our Jenkins setup to the latest version.

I can confirm that TFS Plugin v5.121.0 doesn't have this bug. So we downgrade this version. However it has its own bugs :/

 

 

murat.gundogdu@gmail.com (JIRA)

unread,
Aug 13, 2018, 7:26:02 AM8/13/18
to jenkinsc...@googlegroups.com
Murat Gundogdu edited a comment on Bug JENKINS-50331
We have a big Jenkins setup with 20 servers and more than a thousand jobs. We 're having this problem for the latest TFS plugin versions, too. This needs urgent fix since when we get this error, all of the jobs starts to fail until a Jenkins restart. Restarting Jenkins solves the issue temporarily until it happens again (usually in 24 hours).  We are using up to date Jenkins and TFS Plugin versions. --> Currently, Jenkins: v2.121.2 / TFS Plugin: v5.139.2 


 We had this issue before with Jenkins v2.60.1 + TFS Plugin: v5.139.1 before we upgraded our Jenkins setup to the latest version.

I can confirm that TFS Plugin v5.121.0 doesn't have this bug. So we downgrade this version. However it has its own bugs :/

 

 

murat.gundogdu@gmail.com (JIRA)

unread,
Aug 14, 2018, 8:18:02 AM8/14/18
to jenkinsc...@googlegroups.com
Murat Gundogdu edited a comment on Bug JENKINS-50331
We're having this problem for the latest TFS plugin versions, too. This needs urgent fix since when we get this error, all of the jobs start to fail until a Jenkins restart. Restarting Jenkins solves the issue temporarily until it happens again (usually in 24 hours).  We are using up to date Jenkins and TFS Plugin versions. --> Currently, Jenkins: v2.121.2 / TFS Plugin: v5.139.2 


 We had this issue before with Jenkins v2.60.1 + TFS Plugin: v5.139.1 before we upgraded our Jenkins setup to the latest version.

I can confirm that TFS Plugin v5.121.0 doesn't have this bug. So we downgrade downgraded to this version. However it has its own bugs :/

 

 

aburdajewicz@cloudbees.com (JIRA)

unread,
Mar 13, 2019, 2:59:02 AM3/13/19
to jenkinsc...@googlegroups.com

pibeitz@gmail.com (JIRA)

unread,
Sep 11, 2019, 5:00:02 AM9/11/19
to jenkinsc...@googlegroups.com

Is there an update on this issue? It looks like a duplicate of https://issues.jenkins-ci.org/browse/JENKINS-35432.

It was also observed on a Jenkins 2.138.3 with TFS Plugin 5.142.0.

It looks like the link shared by Allan might be helpful to cook a fix.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

awalls@cloudbees.com (JIRA)

unread,
Sep 13, 2019, 1:57:02 PM9/13/19
to jenkinsc...@googlegroups.com

I am seeing this issue. An update would be appreciated.

Environment where this issue is observed:

Jenkins 2.164.3
TFS Plug-in: 5.133.0

 

awalls@cloudbees.com (JIRA)

unread,
Sep 13, 2019, 1:57:03 PM9/13/19
to jenkinsc...@googlegroups.com
I am seeing this issue too . An update would be appreciated.


Environment where this issue is observed:

Jenkins 2.164.3
TFS Plug-in: 5.133.0

 

contact@jatinbedi.com (JIRA)

unread,
Nov 18, 2019, 2:16:02 PM11/18/19
to jenkinsc...@googlegroups.com

owen@nerdnetworks.org (JIRA)

unread,
Jan 5, 2020, 11:05:03 PM1/5/20
to jenkinsc...@googlegroups.com

owen@nerdnetworks.org (JIRA)

unread,
Jan 5, 2020, 11:11:03 PM1/5/20
to jenkinsc...@googlegroups.com
Owen Mehegan commented on Bug JENKINS-50331
 
Re: JENKINS -Error Message:FATAL: null java.lang.StackOverflowError at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListen

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.

aburdajewicz@cloudbees.com (JIRA)

unread,
Feb 3, 2020, 9:56:03 PM2/3/20
to jenkinsc...@googlegroups.com

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. I 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.

aburdajewicz@cloudbees.com (JIRA)

unread,
Feb 3, 2020, 10:42:04 PM2/3/20
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ edited a comment on Bug JENKINS-50331
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. I


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|https://github.com/microsoft/team-explorer-everywhere/blob/releases/14.0.3/source/com.microsoft.tfs.core/src/com/microsoft/tfs/core/TFSTeamProjectCollection.java#L261-L276]) 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|https://github.com/jenkinsci/tfs-plugin/blob/tfs-5.157.0/tfs/src/main/java/hudson/plugins/tfs/model/Server.java#L274-L290]. But there is some legacy code using reflection that could be cleaned up.

aburdajewicz@cloudbees.com (JIRA)

unread,
Feb 4, 2020, 12:21:04 AM2/4/20
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ edited a comment on Bug JENKINS-50331
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|https://github.com/microsoft/team-explorer-everywhere/blob/releases/14.0.3/source/com.microsoft.tfs.core/src/com/microsoft/tfs/core/TFSTeamProjectCollection.java#L261-L276]) 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|https://github.com/jenkinsci/tfs-plugin/blob/tfs-5.157.0/tfs/src/main/java/hudson/plugins/tfs/model/Server.java#L274-L290]. But there is some legacy code using reflection that could be cleaned up. Proposed https://github.com/jenkinsci/tfs-plugin/pull/230

owen@nerdnetworks.org (JIRA)

unread,
Feb 12, 2020, 8:26:05 PM2/12/20
to jenkinsc...@googlegroups.com

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!

aburdajewicz@cloudbees.com (JIRA)

unread,
Feb 12, 2020, 11:39:05 PM2/12/20
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ edited a comment on Bug JENKINS-50331
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|https://github.com/microsoft/team-explorer-everywhere/blob/releases/14.0.3/source/com.microsoft.tfs.core/src/com/microsoft/tfs/core/TFSTeamProjectCollection.java#L261-L276]) 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|https://github.com/jenkinsci/tfs-plugin/blob/tfs-5.157.0/tfs/src/main/java/hudson/plugins/tfs/model/Server.java#L274-L290]. But there is some legacy code using reflection that could be cleaned up. Proposed https://github.com/jenkinsci/tfs-plugin/pull/230

aburdajewicz@cloudbees.com (JIRA)

unread,
Feb 17, 2020, 10:00:07 PM2/17/20
to jenkinsc...@googlegroups.com

ian.williams1@telus.com (JIRA)

unread,
Feb 19, 2020, 3:21:05 PM2/19/20
to jenkinsc...@googlegroups.com

In JENKINS-58030, Olivier Dagenais, mentioned David Staheli is now responsible for the plugin. Mentioning to see if that provides traction.

Have not seen any real action on the plugin since 2018-07, which is just before MS bought GitHub. Wonder if they've just abandoned support for TFS?

Reply all
Reply to author
Forward
0 new messages