I'd suggest you post on the forums (more people there) and also file
it in bugzilla. I've also CCed Sebastien and Rolf, who usually know
about internal compiler things.... Also keep in mind that I suspect
most of the Xamarin people didn't get much sleep yesterday :)

However, can you post the code around

/Users/guivho/Mono/Targister/Targister/Classes/BarButtonView.cs(13,16):

Looks like it's having issues with the attribute on a method....? Are
you using [Attributes] on your method?



On 21 February 2013 10:11, Guido Van Hoecke <[email protected]> wrote:
> Hi,
>
> My app compiles fine in Visual Studio, but throws an
> InternalErrorException in MonoDevelop as well as when building from the
> command line.
>
> I'm stuck.
>
> I even restarted my Mac, hoping the problem would go away, as it often
> did in the MS world, but it did not.
>
> I can still continue development in the VirtualBox MS environment, but
> obviously, I can't do any testing, only provide compiling sources. Alas,
> they now compile in MS, not in MD!
>
> Any ideas, any one?
>
>
> Unhandled Exception:
> 0   mono                                0x000dfe1b mono + 912923
> 1   mono                                0x000e0285 mono + 914053
> 2   mono                                0x000e1085 mono + 917637
> 3   mono                                0x000e1f51 mono + 921425
> 4   mono                                0x0015169d mono + 1377949
> 5   ???                                 0x00500f8f 0x0 + 5246863
> at Mono.CSharp.TypeContainer.EmitType () <0x0013c>
> at Mono.CSharp.ModuleContainer.Emit () <0x001c0>
> at Mono.CSharp.AssemblyDefinition.Emit () <0x00124>
> at Mono.CSharp.Driver.Compile () <0x00434>
> at Mono.CSharp.Driver.Main (string[]) <0x000b0>
> at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object
> (object,intptr,intptr,intptr) <0x00096>
> 12  mono                                0x00010caf mono + 64687
> 13  mono                                0x0022694a mono + 2251082
> 14  mono                                0x002294ec mono + 2262252
> 15  mono                                0x00228751 mono + 2258769
> 16  mono                                0x000acfff mono + 704511
> 17  mono                                0x000ad250 mono + 705104
> 18  mono                                0x000af6bf mono + 714431
> 19  mono                                0x00002134 mono + 4404
> 20  mono                                0x000021c8 mono + 4552
> 21  mono                                0x00001ee5 mono + 3813
>
> [ERROR] FATAL UNHANDLED EXCEPTION: Mono.CSharp.InternalErrorException:
> /Users/guivho/Mono/Targister/Targister/Classes/BarButtonView.cs(13,16):
> ZzLib.BarButtonView.BarButtonView(ZzLib.Txt.Id, int) --->
> System.NullReferenceException: Object reference not set to an instance
> of an object
>   at Mono.CSharp.Parameter.ApplyAttributes
> (System.Reflection.Emit.MethodBuilder mb,
> System.Reflection.Emit.ConstructorBuilder cb, Int32 index,
> Mono.CSharp.PredefinedAttributes pa) [0x00000] in <filename unknown>:0
>   at Mono.CSharp.ParametersCompiled.ApplyAttributes (IMemberContext
> mc, System.Reflection.MethodBase builder) [0x00000] in <filename
> unknown>:0
>   at Mono.CSharp.Constructor.Emit () [0x00000] in <filename unknown>:0
>   at Mono.CSharp.TypeContainer.EmitConstructors () [0x00000] in
> <filename unknown>:0
>   --- End of inner exception stack trace ---
>   at Mono.CSharp.TypeContainer.EmitConstructors () [0x00000] in
> <filename unknown>:0
>   at Mono.CSharp.TypeContainer.EmitType () [0x00000] in <filename unknown>:0
>   at Mono.CSharp.ModuleContainer.Emit () [0x00000] in <filename unknown>:0
>   at Mono.CSharp.AssemblyDefinition.Emit () [0x00000] in <filename unknown>:0
>   at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0
>   at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in
> <filename unknown>:0
>
>
>
> Guido
>
> --
> Someday we'll look back on this moment and plow into a parked car.
>                 -- Evan Davis
>
> http://vanhoecke.org ... and go2 places!
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch



--
Nic Wise
t.  +44 7788 592 806 | @fastchicken
b. http://www.fastchicken.co.nz/
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to