[Mono-bugs] [Bug 74831][Nor] New - ViewState fails on ListBox with lots of items

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 4 May 2005 20:48:39 -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 nathan@mammoth.com.au.

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

--- shadow/74831	2005-05-04 20:48:39.000000000 -0400
+++ shadow/74831.tmp.19460	2005-05-04 20:48:39.000000000 -0400
@@ -0,0 +1,97 @@
+Bug#: 74831
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: nathan@mammoth.com.au               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ViewState fails on ListBox with lots of items
+
+Description of Problem:
+
+Viewstate intermittently fails to load when given a large ListBox
+
+
+Steps to reproduce the problem:
+1. Create an autopostback ListBox with many items (in my case, 10000)
+2. Click on a few different list items
+
+
+Actual Results:
+
+An exception is thrown.  I haven't spotted any real pattern as to when this
+occurs
+
+System.IO.EndOfStreamException: Failed to read past end of stream.
+in [0x0006d] System.IO.BinaryReader:FillBuffer (Int32 bytes)
+in [0x00009] (at
+/home/nats/mono/mono-1.1.6/mcs/class/corlib/System.IO/BinaryReader.cs:430)
+System.IO.BinaryReader:ReadString ()
+in <0x00020> System.Web.UI.ObjectStateFormatter+StringFormatter:Read (Byte
+token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00058> System.Web.UI.ObjectStateFormatter+ObjectFormatter:ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x0007d>
+System.Web.UI.ObjectStateFormatter+SingleRankArrayFormatter:Read (Byte
+token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00058> System.Web.UI.ObjectStateFormatter+ObjectFormatter:ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x0004d> System.Web.UI.ObjectStateFormatter+TripletFormatter:Read (Byte
+token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00058> System.Web.UI.ObjectStateFormatter+ObjectFormatter:ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x0004d> System.Web.UI.ObjectStateFormatter+TripletFormatter:Read (Byte
+token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00058> System.Web.UI.ObjectStateFormatter+ObjectFormatter:ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00032> System.Web.UI.ObjectStateFormatter+TripletFormatter:Read (Byte
+token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00058> System.Web.UI.ObjectStateFormatter+ObjectFormatter:ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00055> System.Web.UI.ObjectStateFormatter+ArrayListFormatter:Read
+(Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00058> System.Web.UI.ObjectStateFormatter+ObjectFormatter:ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00068> System.Web.UI.ObjectStateFormatter+TripletFormatter:Read (Byte
+token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00058> System.Web.UI.ObjectStateFormatter+ObjectFormatter:ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00055> System.Web.UI.ObjectStateFormatter+ArrayListFormatter:Read
+(Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00058> System.Web.UI.ObjectStateFormatter+ObjectFormatter:ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00068> System.Web.UI.ObjectStateFormatter+TripletFormatter:Read (Byte
+token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00058> System.Web.UI.ObjectStateFormatter+ObjectFormatter:ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00032> System.Web.UI.ObjectStateFormatter+PairFormatter:Read (Byte
+token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00058> System.Web.UI.ObjectStateFormatter+ObjectFormatter:ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
+in <0x00026> System.Web.UI.ObjectStateFormatter:DeserializeObject
+(System.IO.BinaryReader r)
+in <0x00037> System.Web.UI.ObjectStateFormatter:Deserialize
+(System.IO.Stream inputStream)
+in <0x0005a> System.Web.UI.ObjectStateFormatter:Deserialize (System.String
+inputString)
+in <0x00013> System.Web.UI.LosFormatter:Deserialize (System.String input)
+in <0x00079> System.Web.UI.Page:LoadPageStateFromPersistenceMedium ()
+
+
+Expected Results:
+
+Page should reload as it normally does
+
+
+How often does this happen? 
+
+Every few clicks