Unhandled exception in FBCMD.exe - CCNet

Hi,

I have a FinalBuilderproject that I start with CruiseControl.Net.

In the FinalBuilder script I retrieve updated files from a SourceGear Vault Repository.

When CCNet comes to the point in the FinalBuilder script where it retrives this files from Vault. FBCMD.exe throws an exception.

Visual Studio Just-In-Time Debugger pops up and give me this error message: "An unhandled exception (‘Unhandled Exception’) occured in FBCMD.exe [ 3756 ]"

Magne

Do you get a bugreport.txt file created in the FinalBUilder directory? Also, does this error occur when you run the build in the IDE?

No I can not see a bugreport.txt file in my FinalBuilder Folder (or other folder for that case).

And yes the error also occurs when I run it in IDE. (Except it is FinalBuilder5 instead of FBCMD that get the exception)

My Finalbuilderscript is including another script that contains common tasks, like getting code from Vault. And it looks like it is here it fails.

(my version is 5.0.0.92)

Magne


ah, does you included project call an internal action list more than once? if so, it could be the key violation problem fixed yesterday. Please try this build and see if it solves the problem for you:
https://www.finalbuilder.com/downloads/finalbuilder/500/FB500_94.exe

.t8

Hello,

thanks for your answers. I tried the new build, but it still failed. However I am beginning to wonder if it is in my own code and not in FinalBuilder.

When debugging I get an unexpected error in the BeforeAction script tab, (where i set a variable to false).

When removing that it works (the variable is set to false as default)

Thank you again for the answers.

Magne

Hi Magne,

It sounds like that was it. We’ll look into disabling the Visual Studio JIT Debugger (if we can) when running from FBCMD.

- Angus

Hi Magne,

We’ve spent some time working on the JIT Debugger settings. As of this new test build (5.0.0.102), you should never see the JIT Debugger screen if you are running from the command line, or if you disable script debugging in the Options.

Here is the test build link:

https://www.finalbuilder.com/downloads/finalbuilder/500/FB500_102.exe

Regards,

Angus