[Mono-list] Compile subsonic using Mono 2.0.1_1, I obtain the following exception.

Rodrigo Kumpera kumpera at gmail.com
Wed Nov 19 19:51:36 EST 2008


Hi Paulo,

Please fill a bug report with your problem: http://www.mono-project.com/Bugs

Thanks,
Rodrigo

On Tue, Nov 18, 2008 at 8:20 PM, Paulo Silva <silva.pmo at gmail.com> wrote:

>
> Hello,
>
> When i try to compile subsonic, I obtain the following exception.
>
> The issue is on this code:
>
> public Select SelectAllColumnsFrom <T>() where T : RecordBase<T>, new()
> {
>    return SubSonic.Select.AllColumnsFrom<T>();
> }
>
> And this is the exception message:
>
> Unhandled Exception: Mono.CSharp.InternalErrorException:
> /Users/paulosilva/Desktop/WAC/SobSonic/SubSonic/SubSonic/Sql
> Tools/SubSonicRepository.cs(40,23):
> SubSonic.SubSonicRepository.SelectAllColumnsFrom<T>() --->
> System.IndexOutOfRangeException: Array index is out of range.
>  at Mono.CSharp.TypeParameter+InflatedConstraints.inflate (System.Type t)
> [0x00000]
>  at Mono.CSharp.TypeParameter+InflatedConstraints.inflate (System.Type t)
> [0x00000]
>  at Mono.CSharp.TypeParameter+InflatedConstraints..ctor
> (Mono.CSharp.GenericConstraints gc, System.Type[] dargs) [0x00000]
>  at Mono.CSharp.TypeParameter+InflatedConstraints..ctor
> (Mono.CSharp.GenericConstraints gc, System.Type declaring) [0x00000]
>  at Mono.CSharp.TypeParameter.DefineType (IResolveContext ec,
> System.Reflection.Emit.MethodBuilder builder, System.Reflection.MethodInfo
> implementing, Boolean is_override) [0x00000]
>  at Mono.CSharp.GenericMethod.DefineType (Mono.CSharp.EmitContext ec,
> System.Reflection.Emit.MethodBuilder mb, System.Reflection.MethodInfo
> implementing, Boolean is_override) [0x00000]
>  at Mono.CSharp.MethodData.Define (Mono.CSharp.DeclSpace parent,
> System.String method_full_name) [0x00000]
>  at Mono.CSharp.MethodOrOperator.Define () [0x00000]
>  at Mono.CSharp.Method.Define () [0x00000]
>  at Mono.CSharp.TypeContainer+MemberCoreArrayList.DefineContainerMembers ()
> [0x00000]
>  --- End of inner exception stack trace ---
>  at Mono.CSharp.TypeContainer+MemberCoreArrayList.DefineContainerMembers ()
> [0x00000]
>  at Mono.CSharp.TypeContainer.DefineContainerMembers
> (Mono.CSharp.MemberCoreArrayList mcal) [0x00000]
>  at Mono.CSharp.Class.DefineContainerMembers
> (Mono.CSharp.MemberCoreArrayList list) [0x00000]
>  at Mono.CSharp.TypeContainer.DoDefineMembers () [0x00000]
>  at Mono.CSharp.Class.DoDefineMembers () [0x00000]
>  at Mono.CSharp.TypeContainer.DefineMembers () [0x00000]
>  at Mono.CSharp.RootContext.PopulateTypes () [0x00000]
>  at Mono.CSharp.Driver.Compile () [0x00000]
>  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]
>
>
> Build complete -- 1 error, 0 warnings
>
> ---------------------- Done ----------------------
>
> Build: 2 errors, 0 warnings
>
>
> Thanks in advanced,
> Paulo Silva
>
> --
> View this message in context:
> http://www.nabble.com/Compile-subsonic-using-Mono-2.0.1_1%2C-I-obtain-the-following-exception.-tp20569120p20569120.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20081119/8b697c5f/attachment.html 


More information about the Mono-list mailing list