[Mono-bugs] [Bug 693284] New: TargetInvocationException when trying to instantiate class using the Activator.CreateInstance and MakeGenericType
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed May 11 21:56:04 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=693284
https://bugzilla.novell.com/show_bug.cgi?id=693284#c0
Summary: TargetInvocationException when trying to instantiate
class using the Activator.CreateInstance and
MakeGenericType
Classification: Mono
Product: MonoTouch
Version: unspecified
Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Runtime
AssignedTo: gnorton at novell.com
ReportedBy: Ryoji.Ishikawa at cegedim.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101
Firefox/4.0.1
I am using MonoTouch v4.0.2.
An exception is thrown when instantiating a class using the
Activator.CreateInstance and MakeGenericType.
Reproducible: Always
Steps to Reproduce:
1.Build attached sample
2.Run on device
Actual Results:
All value types have exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> System.ExecutionEngineException: Attempting to
JIT compile method 'test06.ConnectionProxy`1<bool>:.ctor ()' while running with
--aot-only.
Expected Results:
The object gets created and no exception is thrown.
Linker behavior has already chosen 'Don't link'.
--
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