[Mono-bugs] [Bug 36309][Maj] New - Activator.CreateInstance fails
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Sun, 5 Jan 2003 02:16:09 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by mathpup@mylinuxisp.com.
http://bugzilla.ximian.com/show_bug.cgi?id=36309
--- shadow/36309 Sun Jan 5 02:16:09 2003
+++ shadow/36309.tmp.27301 Sun Jan 5 02:16:09 2003
@@ -0,0 +1,66 @@
+Bug#: 36309
+Product: Mono/Runtime
+Version: unspecified
+OS:
+OS Details: SuSE Linux 8.0
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: mathpup@mylinuxisp.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Activator.CreateInstance fails
+
+Description of Problem:
+
+When running any of the Qt# apps, I get an error when Qt# calls
+Activator.CreateInstance():
+
+Unhandled Exception: System.Reflection.TargetException: Unable to invoke and
+invalid target.
+in (unmanaged) mono(mono_raise_exception+0x1f) [0x80c02b3]
+in (unmanaged) mono [0x80c417f]
+in <0x000aa> 00 System.Reflection.MonoCMethod:Invoke
+(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
+in <0x000c5> 00 System.Reflection.MonoCMethod:Invoke
+(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
+in <0x00026> 00 System.Reflection.MonoCMethod:Invoke
+(System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
+in <0x00158> 00 System.Activator:CreateInstance
+(System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[])
+in <0x001cd> 00 Qt.QtSupport:DispatchEvent (intptr,string,intptr,string)
+in <0x0005c> 05 Qt.QtSupport:DispatchEvent (intptr,intptr,intptr,intptr)
+in (unmanaged) 06 Qt.QWidget:qt_QWidget_show (intptr)
+in <0x00004> 06 Qt.QWidget:qt_QWidget_show (intptr)
+in <0x0005d> 00 Qt.QWidget:Show ()
+in <0x0009f> 00 .Example:Main (string[])
+
+
+
+Steps to reproduce the problem:
+1. Compile Qt# tutorial t1.cs: mcs -r Qt t1.cs
+2. Run t1: mono t1.exe
+
+Actual Results:
+
+See error above.
+
+
+Expected Results:
+
+No errors.
+
+
+How often does this happen?
+
+Always.
+
+
+Additional Information:
+
+This was broken in the past 24 hours.