[Mono-bugs] [Bug 392472] New: Argument out of range in Generic.List in compiler

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 20 05:48:54 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=392472


           Summary: Argument out of range in Generic.List in compiler
           Product: Mono: Compilers
           Version: 1.9.0
          Platform: i686
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Basic
        AssignedTo: rkvinge at novell.com
        ReportedBy: hesselink+novell at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


While trying to compile a large existing project with vbnc, I get the following
error:

Error : VBNC99999: Unexpected error: Argument is out of range.
Parameter name: index
  at System.Collections.Generic.List`1[System.Reflection.MemberInfo].get_Item
(Int32 index) [0x00024] in
/tmp/monobuild/build/BUILD/mono-1.9.1/mcs/class/corlib/System.Collections.Generic/List.cs:627 
  at vbnc.PropertyGroupClassification.ResolveGroup (vbnc.ArgumentList
SourceParameters, System.Collections.Generic.List`1& FinalSourceArguments)
[0x00000] 
  at vbnc.InvocationOrIndexExpression.ResolveIndexInvocation (vbnc.ParsedObject
Context, System.Type VariableType) [0x00000] 
  at vbnc.InvocationOrIndexExpression.ResolveExpressionInternal
(vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.Expression.ResolveExpression (vbnc.ResolveInfo ResolveInfo) [0x00000] 
  at vbnc.Argument.ResolveCode (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.Helper.ResolveCodeCollection (IEnumerable Collection,
vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.ArgumentList.ResolveCode (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.InvocationOrIndexExpression.ResolveExpressionInternal
(vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.Expression.ResolveExpression (vbnc.ResolveInfo ResolveInfo) [0x00000] 
  at vbnc.IfStatement.ResolveStatement (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.CodeBlock.ResolveCode (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.IfStatement.ResolveStatement (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.CodeBlock.ResolveCode (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.IfStatement.ResolveStatement (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.CodeBlock.ResolveCode (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.IfStatement.ResolveStatement (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.CodeBlock.ResolveCode (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.ForEachStatement.ResolveStatement (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.CodeBlock.ResolveCode (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.MethodBaseDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.MethodDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.SubDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.Helper.ResolveCodeCollection (IEnumerable Collection,
vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.BaseObjects`1[vbnc.IMember].ResolveCode (vbnc.ResolveInfo Info)
[0x00000] 
  at vbnc.TypeDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.ClassDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.AssemblyDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000] 
  at vbnc.Compiler.Compile_Resolve () [0x00000] 
  at vbnc.Compiler.Compile () [0x00000] 

There is no source location given, so I'm assuming this is in the compiler
itself. Since this is a rather large project, I have no easy way to figure out
which part of the source causes this. The code does compile on Windows against
NET 2.0 using vbc.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list