[Mono-bugs] [Bug 58359][Cri] New - HtmlInputFile Bug

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 12 May 2004 00:01:27 -0400 (EDT)


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 jblawn@cfl.rr.com.

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

--- shadow/58359	2004-05-12 00:01:27.000000000 -0400
+++ shadow/58359.tmp.30486	2004-05-12 00:01:27.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 58359
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: Linux 2.6.5 Apache 2.0.49 mod_mono 0.9 Mono Beta 1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jblawn@cfl.rr.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: HtmlInputFile Bug
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+When the onclick handler of a button that attempts to read the PostedFile
+stream into a StreamReader an exception is thrown:
+
+System.NullReferenceException: Object reference not set to an instance of
+an object
+
+
+Steps to reproduce the problem:
+1. Create HtmlInputFile control on page runat=server
+2. Create object in codebehind
+3. Attempt to access PostedFile stream from HtmlInputFile on postback.
+
+Actual Results:
+System.NullReferenceException: Object reference not set to an instance of
+an object
+
+Expected Results:
+Access to the stream.
+
+How often does this happen? 
+Everytime with Mono Beta 1.  I remember this portion of my site working in
+a previous version, and it works fine on IIS 6.0/.NET 1.1.
+
+Additional Information: