-
Bug
-
Resolution: Unresolved
-
Major
I am using VS online, TFS plugin 4.1.
I have scheduled builds (every 5 minutes) which checkcode code using the TFS plugin. After 1 or 2 days the builds start failing and I need to restart jenkins.
From my initial searches, I believe this is an issue with how the plugin interacts with the TFS Java sdk.
The workaround is to close the TFSConfigurationServer first and then close the TFSTeamProjectCollection. Future versions of the TFS SDK will take care of closing the TFSConfigurationServer AND throw an exception if you close them the other way around.
Here is the log:
FATAL: null
java.lang.StackOverflowError
at com.microsoft.tfs.util.listeners.Comparators$IdentityComparator.compare(Comparators.java:57)
at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:330)
at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:343)
at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:343)
at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:343)
at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:343)