[Mono-bugs] [Bug 73110][Wis] New - LateBinding from MS VBC's compiled dlls

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 28 Feb 2005 06:15:48 -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 jwezel@compumaster.de.

http://bugzilla.ximian.com/show_bug.cgi?id=73110

--- shadow/73110	2005-02-28 06:15:48.000000000 -0500
+++ shadow/73110.tmp.12587	2005-02-28 06:15:48.000000000 -0500
@@ -0,0 +1,74 @@
+Bug#: 73110
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Basic
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jwezel@compumaster.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: LateBinding from MS VBC's compiled dlls
+
+Description of Problem:
+Latebinding fails for DLLs compiled with MS VBC compiler
+
+Steps to reproduce the problem:
+1. Take attached ASPX and DLL file, place them into a web root for XSP
+2. Run XSP
+3. Go to the testlatebinding.aspx file
+
+Actual Results:
+System.NullReferenceException: Object reference not set to an instance of 
+an object
+in <0x0007c> Microsoft.VisualBasic.CompilerServices.LateBinding:LateGet 
+(System.Object o, System.Type objType, System.String name, System.Object[] 
+args, System.String[] paramnames, System.Boolean[] CopyBack)
+in <0x000cd> test:PageInit (System.Object sender, System.EventArgs e)
+in <0x00043> System.MulticastDelegate:invoke_void_object_EventArgs 
+(System.Object , System.EventArgs )
+in <0x00056> System.Web.UI.Control:OnInit (System.EventArgs e)
+in <0x00168> System.Web.UI.Control:InitRecursive (System.Web.UI.Control 
+namingContainer)
+in <0x00051> System.Web.UI.Page:InternalProcessRequest ()
+in <0x000a6> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext 
+context)
+in <0x00338> System.Web.HttpServerUtility:Execute (System.String path, 
+System.IO.TextWriter writer, Boolean preserveQuery)
+in <0x0001a> System.Web.HttpServerUtility:Transfer (System.String path, 
+Boolean preserveForm)
+in <0x000a5> System.Web.HttpServerUtility:Transfer (System.String path)
+in <0x00020> ASP.index_aspx:__RenderTree (System.Web.UI.HtmlTextWriter 
+__output, System.Web.UI.Control parameterContainer)
+in <0x00043> System.MulticastDelegate:invoke_void_HtmlTextWriter_Control 
+(System.Web.UI.HtmlTextWriter , System.Web.UI.Control )
+in <0x0002e> System.Web.UI.Control:RenderChildren 
+(System.Web.UI.HtmlTextWriter writer)
+in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter 
+writer)
+in <0x00020> System.Web.UI.Control:RenderControl 
+(System.Web.UI.HtmlTextWriter writer)
+in <0x0036d> System.Web.UI.Page:InternalProcessRequest ()
+in <0x000a6> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext 
+context)
+in <0x00233> System.Web.HttpApplication+ExecuteHandlerState:Execute ()
+in <0x0007c> System.Web.HttpApplication+StateMachine:ExecuteState 
+(IStateHandler state, System.Boolean readysync)
+
+
+Expected Results:
+No latebinding errors
+
+How often does this happen? 
+always
+
+Additional Information:
+Code of dll is also attached. VB code compiled with mbas might lead to 
+other errors or run successfull. Use a MS VBC compiler to compile the .vb 
+file.