TeamCity VS Addin Error pre-commit fails with SVN

Hi,

With TC 2018.1 (build 58245 ) version, when I try to submit updated files using pre-commit, I have an error. In the preceeding version (10.x) it worked fine.

I activated the addin log, here is the result:

18:06:51.214 |I| AsyncHttpFileUploader         | UiTaskExecutorWorker:93 | [AsyncHttpFileUploader] Authorization header is setted
18:06:51.215 |I| AsyncHttpFileUploader         | UiTaskExecutorWorker:93 | [AsyncHttpFileUploader] Begin request to http://teamcity.example.com:8080/uploadChanges.html?userId=3&description=CONFIG+Test+de+pre-commit+avec+reformattage&date=1530029211211&commitType=0
18:06:51.219 |I| AsyncHttpFileUploader         | :96                | [AsyncHttpFileUploader] Sending file content. content-length is 55013
18:06:51.221 |I| AsyncHttpFileUploader         | :96                | [AsyncHttpFileUploader] File content sent
18:06:51.221 |I| AsyncHttpFileUploader         | :96                | [AsyncHttpFileUploader] Waiting for response
18:06:51.252 |I| AsyncHttpFileUploader         | :96                | [AsyncHttpFileUploader] Response callback called
18:06:51.470 |W|                               | :1                 | Failed to post changes to TeamCity server. No builds were queued.

--- EXCEPTION #1/2 [TeamCityException]
Message = “Failed to post changes to TeamCity server. No builds were queued.”
ExceptionPath = Root.InnerException
ClassName = JetBrains.TeamCity.Common.ErrorHandling.TeamCityException
HResult = COR_E_APPLICATION=80131600
Source = JetBrains.TeamCity.Utils
StackTraceString = “
  at JetBrains.TeamCity.Utils.ErrorManagement.ErrorManagerEx.ThrowExceptionIfHasErrors(ErrorManager errorManager)
     at JetBrains.TeamCity.RemoteRun.PersonalBuild.PersonalBuildConfigurator.DoConfigurePersonalBuild(IEnumerable`1 pendingChanges, String dialogTitle)
     at JetBrains.TeamCity.RemoteRun.PersonalBuild.PersonalBuildConfigurator.<>c__DisplayClass15_0.<ConfigurePersonalBuild>b__0()


--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Failed to post changes to TeamCity server. No builds were queued.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Threading.JetDispatcher.Closure.Execute()
     at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
     at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
     at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
     at System.Windows.Threading.DispatcherOperation.InvokeImpl()
     at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Windows.Threading.DispatcherOperation.Invoke()
     at System.Windows.Threading.Dispatcher.ProcessQueue()
     at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
     at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
     at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
     at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
     at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)


18:14:37.097 |I| VsSolutionManager10           | :1                 | VSSolutionManager::OnBeforeCloseSolution 28751319
18:14:37.097 |I| VsSolutionManager10           | :1                 | VSSolutionManager::CloseSolutionInstance 28751319
18:14:37.352 |W|                               | TeamCity Event Tracker TeamServerSummaryThread:45 | Thread interrompu à partir d'un état d'attente.

--- EXCEPTION #1/2 [ThreadInterruptedException]
Message = “Thread interrompu à partir d'un état d'attente.”
ExceptionPath = Root.InnerException
ClassName = System.Threading.ThreadInterruptedException
HResult = COR_E_THREADINTERRUPTED=80131519
Source = mscorlib
StackTraceString = “
  at System.Threading.WaitHandle.WaitOneNative(SafeHandle waitableSafeHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
     at System.Threading.WaitHandle.InternalWaitOne(SafeHandle waitableSafeHandle, Int64 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
     at System.Threading.WaitHandle.WaitOne(Int32 millisecondsTimeout, Boolean exitContext)
     at System.Net.UnsafeNclNativeMethods.RasHelper.get_HasChanged()
     at System.Net.AutoWebProxyScriptEngine.AutoDetector.CheckForChanges()
     at System.Net.AutoWebProxyScriptEngine.AutoDetector.CheckForNetworkChanges(Int32& changeStatus)
     at System.Net.AutoWebProxyScriptEngine.CheckForChanges(Int32& syncStatus)
     at System.Net.AutoWebProxyScriptEngine.GetProxies(Uri destination, IList`1& proxyList, Int32& syncStatus)
     at System.Net.WebProxy.GetProxiesAuto(Uri destination, Int32& syncStatus)
     at System.Net.ProxyScriptChain.GetNextProxy(Uri& proxy)
     at System.Net.ProxyChain.ProxyEnumerator.MoveNext()
     at System.Net.ServicePointManager.FindServicePoint(Uri address, IWebProxy proxy, ProxyChain& chain, HttpAbortDelegate& abortDelegate, Int32& abortState)
     at System.Net.HttpWebRequest.FindServicePoint(Boolean forceFind)
     at System.Net.HttpWebRequest.get_ServicePoint()
     at CookComputing.XmlRpc.XmlRpcClientProtocol.SetProperties(WebRequest webReq)
     at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(Object clientObj, MethodInfo mi, Object[] parameters)
     at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(MethodInfo mi, Object[] Parameters)
     at XmlRpcProxy7c85c31b-e13d-4f60-89ca-88979060a526.getGZippedSummary(String userId)
     at JetBrains.TeamCity.Connect.RemoteBuildServer.GetTeamServerSummary(String userId)
     at JetBrains.TeamCity.Connect.ErrorHandlingRemoteBuildServer.<>c__DisplayClass6_0.<GetTeamServerSummary>b__0(IRemoteBuildServer proxy)
     at JetBrains.TeamCity.Connect.ErrorHandlingProxy`1.Try[T2](WorkItem`1 item, Func`2 def)


--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Thread interrompu à partir d'un état d'attente.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.TeamCity.Connect.ErrorHandlingProxy`1.Try[T2](WorkItem`1 item, Func`2 def)
     at JetBrains.TeamCity.Connect.ErrorHandlingRemoteBuildServer.GetTeamServerSummary(String userId)
     at JetBrains.TeamCity.EventTrackers.Impl.TeamServerSummaryThread.DoInThread()
     at JetBrains.TeamCity.EventTrackers.Impl.TrackerThreadRun.ThreadRun()
     at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Threading.ThreadHelper.ThreadStart()

Do you have any idea ?

Thanks a lot.


FX
1
5 comments

We are getting the same error with Perforce.

 

13:18:01.390 |I| AsyncHttpFileUploader | UiTaskExecutorWorker:51 | [AsyncHttpFileUploader] Authorization header is setted
13:18:01.390 |I| AsyncHttpFileUploader | UiTaskExecutorWorker:51 | [AsyncHttpFileUploader] Begin request to http://adptcsrv/uploadChanges.html?userId=330&description=Test+the+TeamCity+VS+plugin+issue.&date=1540469881390&commitType=0
13:18:01.390 |I| AsyncHttpFileUploader | :71 | [AsyncHttpFileUploader] Sending file content. content-length is 131418645
13:18:02.531 |I| AsyncHttpFileUploader | :71 | [AsyncHttpFileUploader] File content sent
13:18:02.531 |I| AsyncHttpFileUploader | :71 | [AsyncHttpFileUploader] Waiting for response
13:18:02.531 |I| AsyncHttpFileUploader | :71 | [AsyncHttpFileUploader] Response callback called
13:18:02.531 |E| AsyncHttpFileUploader | :71 | Error while recieving responce from http://adptcsrv/uploadChanges.html?userId=330&description=Test+the+TeamCity+VS+plugin+issue.&date=1540469881390&commitType=0

--- EXCEPTION #1/1 [LoggerException]
Message = “Error while recieving responce from http://adptcsrv/uploadChanges.html?userId=330&description=Test+the+TeamCity+VS+plugin+issue.&date=1540469881390&commitType=0”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.TeamCity.Network.Utils.AsyncHttpFileUploader.GetResponseCallback(IAsyncResult res)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CaptureOrComplete(ExecutionContext& cachedContext, Boolean returnContext)
at System.Net.ContextAwareResult.FinishPostingAsyncOp()
at System.Net.HttpWebRequest.BeginGetResponse(AsyncCallback callback, Object state)
at JetBrains.TeamCity.Network.Utils.AsyncHttpFileUploader.GetRequestStreamCallback(IAsyncResult res)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.HttpWebRequest.InvokeGetRequestStreamCallback()
at System.Net.HttpWebRequest.EndWriteHeaders_Part2()
at System.Net.HttpWebRequest.EndWriteHeaders(Boolean async)
at System.Net.HttpWebRequest.WriteHeadersCallback(WebExceptionStatus errorStatus, ConnectStream stream, Boolean async)
at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

13:18:02.656 |W| | :1 | Failed to post changes to TeamCity server. No builds were queued.

--- EXCEPTION #1/2 [TeamCityException]
Message = “Failed to post changes to TeamCity server. No builds were queued.”
ExceptionPath = Root.InnerException
ClassName = JetBrains.TeamCity.Common.ErrorHandling.TeamCityException
HResult = COR_E_APPLICATION=80131600
Source = JetBrains.TeamCity.Utils
StackTraceString = “
at JetBrains.TeamCity.Utils.ErrorManagement.ErrorManagerEx.ThrowExceptionIfHasErrors(ErrorManager errorManager)
at JetBrains.TeamCity.RemoteRun.PersonalBuild.PersonalBuildConfigurator.DoConfigurePersonalBuild(IEnumerable`1 pendingChanges, String dialogTitle)
at JetBrains.TeamCity.RemoteRun.PersonalBuild.PersonalBuildConfigurator.<>c__DisplayClass15_0.<ConfigurePersonalBuild>b__0()

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Failed to post changes to TeamCity server. No builds were queued.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Threading.JetDispatcher.Closure.Execute()
at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

 

0
Avatar
Permanently deleted user

I'm getting the same problem with TeamCity build 58658.  I'm running Resharper ultimate 2018.2.3.

This used to work fine until I've upgraded TeamCity.

The exact error message text is: Failed to post changes to TeamCity server. No builds were queued.

Jetbrains any idea why this is happening with TeamCity?

Thanks

0

Same  problem here

TeamCity v 2018.1.4  

Resharper 2016.3 

 

Thanks

 

0

Hi All,

 

we have been aware of some issues of this kind, tried replicating and fixed some issues. TeamCity with versions post 2017.2.4 and Resharper 2017.3+ should work (combined). If both versions are newer (such as @James Houston), please provide versions for both, and a stacktrace via our issue tracker: https://youtrack.jetbrains.com/issues/TW

0
Avatar
Permanently deleted user

Hi Denis,

 

I experiment the last TeamCity Addin (2019.1.2) with my old TeamCity Server version (2018.2) and now it works fine.

 

Thanks a lot

Bye

0

Please sign in to leave a comment.