Problems getting TeamCity Plugin working for Visual Studio

Been trying to get the Visual Studio pre-commit tool to work, but sofar I have not even been able to login as it just keeps hanging.

Have tried uninstalling, but this also hangs - if I force the uninstall to shut down it appears to have been uninstalled.

Tried to remove whatever stuff the plugin left from registry etc, but no luck.

I have added whatever I could find the JetBrainsLog that seem to be related:


--- EXCEPTION #1/3 [InvalidOperationException]
Message = “A TryFinally bracket has not been disposed of, gotten into the finalizer.”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509

--- Outer ---

--- EXCEPTION #2/3 [FinallyException]
Message = “A TryFinally bracket has not been disposed of, gotten into the finalizer.”
ExceptionPath = Root.InnerException
ClassName = JetBrains.DataFlow.TryFinally+FinallyException
Data.CreationStackTrace = “-=[ Stack trace logging disabled. ]=-”
Data.ObjectId = Disposables::DiffPreviewControl
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_APPLICATION=80131600

--- Outer ---

--- EXCEPTION #3/3 [LoggerException]
Message = “A TryFinally bracket has not been disposed of, gotten into the finalizer.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “at JetBrains.DataFlow.TryFinally.FinalizableDisposable.Finalize()”


09:52:34.966: Thread:2: EXCEPTION: Failed to marshal closing of the finalizable TryFinally bracket. Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
Failed to marshal closing of the finalizable TryFinally bracket. Invoke or BeginInvoke cannot be called on a control until the window handle has been created.

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “Invoke or BeginInvoke cannot be called on a control until the window handle has been created.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = System.Windows.Forms
StackTraceString = “
  at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
     at System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
     at System.Windows.Forms.WindowsFormsSynchronizationContext.Post(SendOrPostCallback d, Object state)
     at JetBrains.Threading.JetDispatcher.BeginInvoke(String name, Action action)
     at JetBrains.DataFlow.TryFinally.FinalizableDisposable.Finalize()


--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Failed to marshal closing of the finalizable TryFinally bracket. Invoke or BeginInvoke cannot be called on a control until the window handle has been created.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “”



BR.

/Nikolaj

6 comments
Comment actions Permalink

Nikolaj, thank you for your feedback.
Please let me know, what version of Visual Studio do you use.
Could you please post all TeamCity add-in logs here or send them to me via email.

0
Comment actions Permalink

Nikolay, i found exception submited by you in tracker.
If it is applicable for you, please update to the 6.5 version. Any way, this problem should not reproduced every time. So you could also reinstall plugin and try to login once again.
Installation (uninstallation) process hangs usually reproduced against VS 2010. If installer hangs, you could kill devenv.exe process via process explorer or task manager. After that installer should continue to work.

0
Comment actions Permalink

Thanks for getting back so fast Evgeniy.

Unfortunately, we have not upgraded to TeamCity 6.5 yet.

I have tried un-installing (manually killed devenv when the process stalled) and installing again 2 additional times, as you described, but I am still not able to login (I have been able to login with the tray notifier so the login credentials and server path should be ok).

Any other ideas on how I can resolve this issue?

br

/Nikolaj

0
Comment actions Permalink

Please send me all logs, i will take a look.

0
Comment actions Permalink

I looked at the logs, seems the only thing applicable for you is to upgrade to 6.5. We definatly made some changes in 6.5 that should fix your problem.
But you still could try to login with your cridentials from another machine, and ask some of your colleagues to login from your machine.

0

Please sign in to leave a comment.