PROJECTLOADERROR: Unable to create temporary log file (exit code 9)

Hi,

Trying to run a FB8 project via Continua CI FinalBuilder action and getting:

Error Loading Project File : Unable to create temporary log file: Access violation at address 00000000 in module ‘FBCMD.exe’. Execution of address 00000000

Full log:

Server To Agent Workspace Sync   5:28 PM 5:28 PM 940 milliseconds Success
FinalBuilder [$Source.DevOps$/Deployment/Deployment-FB7/Deployment.fbp8] 5:28 PM 5:28 PM 4 seconds Failure
New directory created at path 'C:\CCIAgentShare\Ws\309\Logs'.
Automatically register exported log file as a report with the server: True
The HTML Style option is not available for the installed version of FinalBuilder 8. The log export file will be flat. The HTML Theme will also be ignored.
Parameters
Working Directory: C:\CCIAgentShare\Ws\309\Source\DevOps\Deployment\Deployment-FB7
Executable: C:\Program Files (x86)\FinalBuilder 8\FBCMD.exe
Arguments: -nb -vp -t:Default -ex:C:\CCIAgentShare\Ws\309\Logs\log.html -tl C:\CCIAgentShare\Ws\309\Source\DevOps\Deployment\Deployment-FB7\Deployment.fbp8 -!:C:\CCIAgentShare\Ws\309\ContinuaContext.xml
Environment Variables
No environment variables specified
Error Loading Project File : Unable to create temporary log file: Access violation at address 00000000 in module 'FBCMD.exe'. Execution of address 00000000

Exit with return code: 9 (PROJECTLOADERROR)
FinalBuilder action failed with exit code 9.

I’ve made sure both users running the server/agent have full read/write permissions to the server/agent shares (The log directory is actually created in the agent share - "New directory created at path 'C:\CCIAgentShare\Ws\309\Logs ")

Details about the FinalBuilder action:
Default branch is set to a different branch (not master)
Validate is checked.
Continua CI Variables are automatically applied to matching FinalBuilder variables.
Export log to: $Workspace$\Logs\log.html, html style: Tree, theme: Dark
Automatically register exported log file as a report with the server - checked.

btw, the output also says that:
“The HTML Style option is not available for the installed version of FinalBuilder 8. The log export file will be flat. The HTML Theme will also be ignored.”
BUT this is wrong… the FB8 which is installed on the agent server is FinalBuilder. v8.0.0.2599 (upgraded today and double checked the problem still exists)

Continua CI (64-bit) v1.9.1.422
FinalBuilder. v8.0.0.2599

Any help would be much appreciated!

Update: FB 8.0.0.2599 seemed to have fixed it! (both issues: PROJECTLOADERROR + report style option)
(I Tested earlier on a server which still had 8.0.0.2598 installed, now updated it to 2599 and its ok)

according to the release notes I guess it was probably related to the dash in the path of the fb8 project file?

Anyway - Thanks!

Hi @ktopaz,

With the -tl (temporary log) command line option specified, FinalBuilder creates a temporary log file in the %TEMP% directory for the agent user. Check the value of the TEMP environment variable for the agent account. You should be able to see the value of this on the Agent Properties page under Env.TEMP.
Check that the agent account has access to that folder. Note that the -tl command line option is set by default - you can switch it off by changing the Log File Location to Working Folder in the FinalBuilder action Options tab.

We are still looking into where FinalBuilder fails so that we can catch this error and improve the error message.

We cannot see how the “The HTML Style option is not available for the installed version of FinalBuilder 8…” message would display when running v8.0.0.2599. Continua CI uses the agent properties FinalBuilder.8.MajorVersion and FinalBuilder.8.BuildVersion to work out the version. What do you have set for these properties?

1 Like

We appear to have cross-posted :slightly_smiling_face:. Good to know it’s all fixed now with v8.0.0.2599.

1 Like

Thanks again! just a small correction - it was fixed in v8.0.0.2599 (not v8.0.0.2598) :wink:

That’s what I said :confused:

1 Like