ExportBamDefinitionXml.exe crashes with ArgumentNullException


ExportBamDefinitionXml.exe crashes with ArgumentNullException when the attached Excel file is specified.
Perhaps because this Excel file doesn't have aggregations.
I haven't looked at the source code yet, but I wanted to report this first so others can find the issue.

file attachments

Closed Feb 15, 2010 at 10:55 PM by tfabraham


wrote Feb 15, 2010 at 10:55 PM

Resolved with changeset 39792.

twinpiloot wrote Mar 1, 2010 at 9:57 AM


Thanks for fixing this issue. I've tested this, but I ran into another issue.
    The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
I'm running on x64. Recompiling the source with the CPU Type set to x86 gives another error:
    The Microsoft Jet database engine cannot open the file ''.  It is already opened exclusively by another user, or you need permission to view its data.
It is not a big problem, because I can export the BAM definition from the Excel AddIn, but I want to report this for other users as well.

tfabraham wrote Mar 2, 2010 at 3:57 AM

Is your BAM Excel file still in Excel 2003 format? Do you have Excel 2007? If so, could you try upgrading it to XLSX format, which uses the newer Data Connectivity Components? I would expect that to work on x64.

twinpiloot wrote Mar 14, 2010 at 12:11 PM


Thank you. Your tool works fine now.

Kind regards,


wrote Feb 13, 2013 at 8:57 PM

wrote May 15, 2013 at 4:04 AM