Hi
We are testing CU7 on a Windows 2012 r2 server and when I use the AxBuild compiler it crashes after pass 2 with the following .net error. I have included the whole verbose console output
C:\Program Files\Microsoft Dynamics AX\60\Server\AX_Dynamics_Dev\bin>axbuild.exe
xppcompileall /aos=01 /altbin="C:\Program Files (x86)\Microsoft Dynamics AX\60\
Client\Bin" /v /nocleanup
Microsoft (R) Dynamics AX Build Utility 6.2.1000.4051
Copyright (C) Microsoft Corporation. All rights reserved.
-console 01 -aol=usr -noauto -build=deploy
*** Deploy worker started - waiting for process to exit...
*** Deploy worker completed with result 'Success'
*** Compile all starting at 11/03/2014 10:06:08.
*** Kicking off header compilation (pass 1) with 6 workers.
-console 01 -aol=usr -skipdbsync "-altbin=C:\Program Files (x86)\Microsoft Dynam
ics AX\60\Client\Bin" -noauto -build=nodelist_C:\Users\administrator.GAB\AppData
\Local\Temp\2\tmpA9C8.tmp,badlist_C:\Users\administrator.GAB\AppData\Local\Temp\
2\tmpA9DB.tmp,logfile_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmpA9DC.tm
p,compile_pass1
-console 01 -aol=usr -skipdbsync "-altbin=C:\Program Files (x86)\Microsoft Dynam
ics AX\60\Client\Bin" -noauto -build=nodelist_C:\Users\administrator.GAB\AppData
\Local\Temp\2\tmpA9C6.tmp,badlist_C:\Users\administrator.GAB\AppData\Local\Temp\
2\tmpA9DD.tmp,logfile_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmpA9DE.tm
p,compile_pass1
-console 01 -aol=usr -skipdbsync "-altbin=C:\Program Files (x86)\Microsoft Dynam
ics AX\60\Client\Bin" -noauto -build=nodelist_C:\Users\administrator.GAB\AppData
\Local\Temp\2\tmpA9C9.tmp,badlist_C:\Users\administrator.GAB\AppData\Local\Temp\
2\tmpA9DF.tmp,logfile_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmpA9E0.tm
p,compile_pass1
-console 01 -aol=usr -skipdbsync "-altbin=C:\Program Files (x86)\Microsoft Dynam
ics AX\60\Client\Bin" -noauto -build=nodelist_C:\Users\administrator.GAB\AppData
\Local\Temp\2\tmpA9C7.tmp,badlist_C:\Users\administrator.GAB\AppData\Local\Temp\
2\tmpA9E1.tmp,logfile_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmpA9E2.tm
p,compile_pass1
-console 01 -aol=usr -skipdbsync "-altbin=C:\Program Files (x86)\Microsoft Dynam
ics AX\60\Client\Bin" -noauto -build=nodelist_C:\Users\administrator.GAB\AppData
\Local\Temp\2\tmpA9CA.tmp,badlist_C:\Users\administrator.GAB\AppData\Local\Temp\
2\tmpA9E3.tmp,logfile_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmpA9E4.tm
p,compile_pass1
*** Worker started - waiting for process to exit...
*** Worker started - waiting for process to exit...
*** Worker started - waiting for process to exit...
*** Worker started - waiting for process to exit...
*** Worker started - waiting for process to exit...
-console 01 -aol=usr -skipdbsync "-altbin=C:\Program Files (x86)\Microsoft Dynam
ics AX\60\Client\Bin" -noauto -build=nodelist_C:\Users\administrator.GAB\AppData
\Local\Temp\2\tmpBB69.tmp,badlist_C:\Users\administrator.GAB\AppData\Local\Temp\
2\tmpBB6A.tmp,logfile_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmpBB6B.tm
p,compile_pass1
*** Worker started - waiting for process to exit...
*** Worker completed with result 'Success'
*** Worker completed with result 'Success'
*** Worker completed with result 'Success'
*** Worker completed with result 'Success'
*** Worker completed with result 'Success'
*** Worker completed with result 'Success'
*** Compile execution for first pass with 6 workers ran from 11/03/2014 10:06:09
to 11/03/2014 10:09:15 (00:03:06.4132521).
*** Kicking off full compilation (pass 2) with 6 workers.
-console 01 -aol=usr -build=nodelist_C:\Users\administrator.GAB\AppData\Local\Te
mp\2\tmp8210.tmp,badlist_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmp8224
_badList.tmp,logfile_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmp8226_err
.tmp,compile_pass2 -skipdbsync -noauto "-altbin=C:\Program Files (x86)\Microsoft
Dynamics AX\60\Client\Bin"
-console 01 -aol=usr -build=nodelist_C:\Users\administrator.GAB\AppData\Local\Te
mp\2\tmp8211.tmp,badlist_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmp8225
_badList.tmp,logfile_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmp8227_err
.tmp,compile_pass2 -skipdbsync -noauto "-altbin=C:\Program Files (x86)\Microsoft
Dynamics AX\60\Client\Bin"
-console 01 -aol=usr -build=nodelist_C:\Users\administrator.GAB\AppData\Local\Te
mp\2\tmp820E.tmp,badlist_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmp8228
_badList.tmp,logfile_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmp822B_err
.tmp,compile_pass2 -skipdbsync -noauto "-altbin=C:\Program Files (x86)\Microsoft
Dynamics AX\60\Client\Bin"
*** Worker started - waiting for process to exit...
-console 01 -aol=usr -build=nodelist_C:\Users\administrator.GAB\AppData\Local\Te
mp\2\tmp8212.tmp,badlist_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmp822A
_badList.tmp,logfile_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmp822E_err
.tmp,compile_pass2 -skipdbsync -noauto "-altbin=C:\Program Files (x86)\Microsoft
Dynamics AX\60\Client\Bin"
-console 01 -aol=usr -build=nodelist_C:\Users\administrator.GAB\AppData\Local\Te
mp\2\tmp820F.tmp,badlist_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmp8229
_badList.tmp,logfile_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmp822C_err
.tmp,compile_pass2 -skipdbsync -noauto "-altbin=C:\Program Files (x86)\Microsoft
Dynamics AX\60\Client\Bin"
-console 01 -aol=usr -build=nodelist_C:\Users\administrator.GAB\AppData\Local\Te
mp\2\tmp8223.tmp,badlist_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmp822D
_badList.tmp,logfile_C:\Users\administrator.GAB\AppData\Local\Temp\2\tmp823E_err
.tmp,compile_pass2 -skipdbsync -noauto "-altbin=C:\Program Files (x86)\Microsoft
Dynamics AX\60\Client\Bin"
*** Worker started - waiting for process to exit...
*** Worker started - waiting for process to exit...
*** Worker started - waiting for process to exit...
*** Worker started - waiting for process to exit...
*** Worker started - waiting for process to exit...
*** Worker completed with result 'Success'
*** Worker completed with result 'Success'
*** Worker completed with result 'Success'
*** Worker completed with result 'Success'
*** Worker completed with result 'Success'
*** Worker completed with result 'Success'
Unhandled Exception: System.AggregateException: One or more errors occurred. ---
> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negati
ve and less than the size of the collection.
Parameter name: startIndex
at System.String.IndexOf(Char value, Int32 startIndex, Int32 count)
at axbuild.CompileLog.ExtractLogInformation(String line)
at axbuild.Program.UpdateLog(String logFile)
at axbuild.Program.<>c__DisplayClass4.<Compile_Full>b__3(List`1 nodes)
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass11.<ExecuteSelfReplicating>b_
_10(Object param0)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationTo
ken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int
32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWit
hState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`
1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState
, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithE
verything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Act
ion`1 body)
at axbuild.Program.Compile_Full(List`1 Nodes, Boolean withXppSupport, Int32 p
ass)
at axbuild.Program.CompileAll(Int32 numberOfProcessesPass1, Int32 numberOfPro
cessesPass2and3, SqlConnection modelStoreConnection)
at axbuild.Program.Main(String[] args)