Build error in .2251


(jeremy) #1

Can’t build my project (one I sent you the other week), with this, on today’s build with this (using EBuild or Xbuild) :

E: Internal error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00011] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at RemObjects.Oxygene.Code.Compiler.LambdaAcquirer.GenerateMethodStatement (RemObjects.Oxygene.Code.ResolvedMethodStatement lMethInfo) [0x0011f] in <66cef181d30e42e3a6ad7e1671834dd8>:0 
  at RemObjects.Oxygene.Code.Compiler.LambdaAcquirer.VisitMethodStatement (RemObjects.Oxygene.Code.MethodStatement element) [0x0012e] in <66cef181d30e42e3a6ad7e1671834dd8>:0 
  at RemObjects.Oxygene.Code.BaseVisitor.VisitStatement (RemObjects.Oxygene.Code.Statement element) [0x00434] in <66cef181d30e42e3a6ad7e1671834dd8>:0 
  at RemObjects.Oxygene.Code.Compiler.LambdaAcquirer.VisitStatement (RemObjects.Oxygene.Code.Statement element) [0x0001e] in <66cef181d30e42e3a6ad7e1671834dd8>:0 
  at RemObjects.Oxygene.Code.BaseVisitor.VisitBeginStatement (RemObjects.Oxygene.Code.BeginStatement beginStatement) [0x00030] in <66cef181d30e42e3a6ad7e1671834dd8>:0 
  at RemObjects.Oxygene.Code.Compiler.LambdaAcquirer.VisitBeginStatement (RemObjects.Oxygene.Code.BeginStatement beginStatement) [0x001cc] in <66cef181d30e42e3a6ad7e1671834dd8>:0 
  at RemObjects.Oxygene.Code.BaseVisitor.VisitStatement (RemObjects.Oxygene.Code.Statement element) [0x002fc] in <66cef181d30e42e3a6ad7e1671834dd8>:0 
  at RemObjects.Oxygene.Code.Compiler.LambdaAcquirer.VisitStatement (RemObjects.Oxygene.Code.Statement element) [0x0001e] in <66cef181d30e42e3a6ad7e1671834dd8>:0 
  at RemObjects.Oxygene.Code.Compiler.Compiler+<>c__DisplayClass42.<GenerateAnonymousTypes>b__2 (RemObjects.Oxygene.Code.IMethodInfo methm) [0x00181] in <66cef181d30e42e3a6ad7e1671834dd8>:0 
  at RemObjects.Oxygene.Code.CombinedParsedType.ForAllMethods (System.Func`2[T,TResult] action) [0x0004e] in <66cef181d30e42e3a6ad7e1671834dd8>:0 
  at RemObjects.Oxygene.Code.Compiler.Compiler.GenerateAnonymousTypes (RemObjects.Oxygene.Code.Compiler.LambdaAcquirer& lWACQ, RemObjects.Oxygene.Code.Classes.MyDictionary`1[TValue] aTypes) [0x000da] in <66cef181d30e42e3a6ad7e1671834dd8>:0 
  at RemObjects.Oxygene.Code.Compiler.Compiler.GenerateAnonymousTypes () [0x00002] in <66cef181d30e42e3a6ad7e1671834dd8>:0 
  at RemObjects.Oxygene.Code.Compiler.Compiler.Compile () [0x000a9] in <66cef181d30e42e3a6ad7e1671834dd8>:0 
   Project 'LogOnn' failed to build.
   Solution 'RemObjects.EBuild.BuildSolution' failed to build.

(RemObjects) #2

Thanks, logged as bugs://79528


(Carlo Kok) #3

Hi Jeremy; Does this still show for you? If so, can you resend the testcase?


(jeremy) #4

Sorry Carlo, just noticed your question. All works perfectly now. Thanks (as ever)


(RemObjects) #5

bugs://79528 got closed with status fixed.