[Mono-osx] A Bug?

Geoff Norton gnorton at novell.com
Sat Oct 20 13:33:15 EDT 2007


Sean,

  Does the same page work on MS.NET?  If so please file a bug with a 
testcase.

Thanks,

-Geoff

Sean Hignett wrote:
> This is happening on my app since I upgraded to 1.2.5.1 (running on OSX).
>
> Didn't happen in 1.2.4
>
> Is this a feature or a bug?  according to the SortedList msdn docs, 
> this should all be serializable.  No?
>
> System.Runtime.Serialization.SerializationException: Type 
> System.Collections.SortedList+ListValues is not marked as Serializable.
>   at 
> System.Runtime.Serialization.Formatters.Binary.BinaryCommon.CheckSerializable 
> (System.Type type, ISurrogateSelector selector, StreamingContext 
> context) [0x00000] 
>   at 
> System.Runtime.Serialization.Formatters.Binary.ObjectWriter.GetObjectData 
> (System.Object obj, 
> System.Runtime.Serialization.Formatters.Binary.TypeMetadata& metadata, 
> System.Object& data) [0x00000] 
>   at 
> System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObject 
> (System.IO.BinaryWriter writer, Int64 id, System.Object obj) [0x00000] 
>   at 
> System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectInstance 
> (System.IO.BinaryWriter writer, System.Object obj, Boolean 
> isValueObject) [0x00000] 
>   at 
> System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteQueuedObjects 
> (System.IO.BinaryWriter writer) [0x00000] 
>   at 
> System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectGraph 
> (System.IO.BinaryWriter writer, System.Object obj, 
> System.Runtime.Remoting.Messaging.Header[] headers) [0x00000] 
>   at 
> System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize 
> (System.IO.Stream serializationStream, System.Object graph, 
> System.Runtime.Remoting.Messaging.Header[] headers) [0x00000] 
>   at 
> System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize 
> (System.IO.Stream serializationStream, System.Object graph) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+BinaryObjectFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+HashtableFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+PairFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+PairFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+PairFormatter.Write 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.WriteObject 
> (System.IO.BinaryWriter w, System.Object o, 
> System.Web.UI.WriterContext ctx) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter.SerializeValue 
> (System.IO.BinaryWriter w, System.Object o) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter.Serialize (System.IO.Stream 
> outputStream, System.Object stateGraph) [0x00000] 
>   at System.Web.UI.ObjectStateFormatter.Serialize (System.Object 
> stateGraph) [0x00000] 
>   at System.Web.UI.HiddenFieldPageStatePersister.Save () [0x00000] 
>   at System.Web.UI.Page.SavePageStateToPersistenceMedium 
> (System.Object viewState) [0x00000] 
>   at System.Web.UI.Page.SavePageViewState () [0x00000] 
>   at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
>   at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext 
> context) [0x00000] 
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>   



More information about the Mono-osx mailing list