# Unhandled Exception During nightly Builds

**URL:** https://www.finalbuilder.com/forums/t/unhandled-exception-during-nightly-builds/2984
**Category:** Bugs
**Created:** [April 29, 2008, 9:52am UTC](https://www.finalbuilder.com/forums/t/unhandled-exception-during-nightly-builds/2984 "2008-04-29T09:52:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [April 29, 2008, 9:52am UTC](https://www.finalbuilder.com/forums/t/unhandled-exception-during-nightly-builds/2984/1 "2008-04-29T09:52:21Z")

</div>

Hi

I am running nightly builds, that run the FBCMD.exe. Once in a while I get an exception that makes the build stop.

I have version 5.5.0.589 Installed. Any idea why I get this error?

This is the relevant part in the LogFile:

Getting package-tree.html  
Unhandled Exception!  
date/time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2008-04-29, 02:06:13, 846ms  
computer name&nbsp;&nbsp;&nbsp;&nbsp; : MRBUILDER  
user name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : daphna   
operating system&nbsp; : Windows 2000 Service Pack 4 build 2195  
system language&nbsp;&nbsp; : English  
system up time&nbsp;&nbsp;&nbsp; : 12 days 18 hours  
program up time&nbsp;&nbsp; : 1 hour 56 minutes  
processors&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2x Intel(R) Xeon(TM) CPU 3.00GHz  
physical memory&nbsp;&nbsp; : 215/1023 MB (free/total)  
free disk space&nbsp;&nbsp; : (C ![]( "Smile") 18.55 GB  
display mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1024x768, 32 bit  
process id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : $10f4  
allocated memory&nbsp; : 50.01 MB  
command line&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : "C:\Program Files\FinalBuilder 550 518\FBCMD.exe" /VDO\_SCHEDULE\_MODE=True;PB2\_SCHEDULE\_INI\_NAME=PB2\_STPlatform311.INI /LE:\FinalBuilderProjects\ProjectBuilder3.11.4\logs\pb2\_STP\_Schedule.log /OF /PE:\FinalBuilderProjects\ProjectBuilder3.11.4\PB2For311Sect.fbp5  
executable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : FBCMD.exe  
exec. date/time&nbsp;&nbsp; : 2007-11-20 16:07  
version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 5.5.0.518  
madExcept version : 3.0b  
callstack crc&nbsp;&nbsp;&nbsp;&nbsp; : $6c1fbc48, $3ab61f23, $875e3ce6  
exception number&nbsp; : 1  
exception class&nbsp;&nbsp; : EFBLogErrorException  
exception message : NexusDB: FBLogDatabase: INTERNAL: Error when writing to file [E:\FinalBuilderProjects\ProjectBuilder3.11.4\PB2For311Sect.fbl5, error 33, The process cannot access the file because another process has locked a portion of the file] [$2402/9218].

LogSubScriber ($fe8):

&nbsp;

Thanks Daphna Levin

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [April 30, 2008, 1:05am UTC](https://www.finalbuilder.com/forums/t/unhandled-exception-during-nightly-builds/2984/2 "2008-04-30T01:05:55Z")

</div>

Hi daphna,   
  
 Judging from the error message: “The process cannot access the file because another process has locked a portion of the file”, I’d be guessing that some background process like a virus scanner may be attempting to scan the log file while it’s being written to.   
  
 If you are running a virus scanner, most of these programs have a way to filter out certain file types. If you had .fbl5 to the “do not scan” list, it will probably prevent this from occurring.   
  
 Regards,   
  
 Angus
