[Mono-devel-list] Weird mcs assertion in make test in System.Data

Peter Williams peter at newton.cx
Sat Jun 28 01:37:10 EDT 2003


Is anyone else getting this for 'make test' in System.Data? I'm using
those new makefiles that I posted about a while back, but I don't think
they should be responsible. RedHat 9. (Hope this comes out formatted
right.)

Peter

==================================================

MONO_PATH=../../class/lib:. mono  ../../mcs/mcs.exe   -g /nowarn:1595
/nowarn:0169 /nowarn:0109 /nowarn:0067 /nowarn:0649 /nowarn:0679
/target:library /out:System.Data_test.dll
/r:../../class/lib/System.Data.dll
/r:../../class/lib/NUnit.Framework.dll /nowarn:0219 /nowarn:0168
/r:corlib.dll /r:System.dll /r:System.Xml.dll
/r:System.EnterpriseServices.dll /r:Mono.Data.Tds.dll
@../../build/deps/System.Data_test.dll.response
Exception caught by the compiler while compiling:
   Block that caused the problem begin at:
Test/System.Data/DataViewTest.cs: (38)
                     Block being compiled:
[Test/System.Data/DataViewTest.cs:
(39),Test/System.Data/DataViewTest.cs: (43)]

Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required
in (unmanaged) /usr/lib/libmono.so.0(mono_class_get+0x1c) [0x400e0c4c]
in (unmanaged) /usr/lib/libmono.so.0(mono_class_from_name+0x27a)
[0x400e12db]
in (unmanaged) /usr/lib/libmono.so.0 [0x40098037]
in (unmanaged) /usr/lib/libmono.so.0(mono_reflection_get_type+0x24)
[0x400981cc]
in (unmanaged)
/usr/lib/libmono.so.0(mono_reflection_type_from_name+0xb8) [0x400983ca]
in (unmanaged) /usr/lib/libmono.so.0 [0x4009863d]
in (unmanaged) /usr/lib/libmono.so.0 [0x40098cfa]
in (unmanaged) /usr/lib/libmono.so.0(mono_custom_attrs_construct+0xb9)
[0x4009904f]
in (unmanaged)
/usr/lib/libmono.so.0(mono_reflection_get_custom_attrs+0x264)
[0x40099901]
in <0x0006a> 00 System.MonoCustomAttrs:from_cache
(System.Reflection.ICustomAttributeProvider)
in <0x001b6> 00 System.MonoCustomAttrs:GetCustomAttribute
(System.Reflection.ICustomAttributeProvider,System.Type,bool)
in <0x00023> 00 System.Attribute:GetCustomAttribute
(System.Reflection.MemberInfo,System.Type,bool)
in <0x00015> 00 System.Attribute:GetCustomAttribute
(System.Reflection.MemberInfo,System.Type)
in <0x00103> 00 Mono.CSharp.TypeManager:IndexerPropertyName
(System.Type)
in <0x0001b> 00 Mono.CSharp.Indexers:GetIndexersForTypeOrInterface
(System.Type,System.Type)
in <0x000a2> 00 Mono.CSharp.Indexers:GetIndexersForType
(System.Type,System.Type,Mono.CSharp.Location)
in <0x000a1> 00 Mono.CSharp.IndexerAccess:DoResolve
(Mono.CSharp.EmitContext)

-- 
Peter Williams                          peter at newton.cx

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power




More information about the Mono-devel-list mailing list