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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to