https://bugzilla.novell.com/show_bug.cgi?id=682933
https://bugzilla.novell.com/show_bug.cgi?id=682933#c0 Summary: Deserializing XAML causing invalid state transition Classification: Mono Product: Mono: Class Libraries Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sys.XML AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=421603) --> (http://bugzilla.novell.com/attachment.cgi?id=421603) Example of issue User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16 I am unable to load xaml that is a simple dictionary. See attached repro Reproducible: Always Steps to Reproduce: Run attached repro Actual Results: System.Xaml.XamlObjectWriterException: GetObject is not allowed at current state ObjectWritten at System.Xaml.XamlWriterStateManager.CheckState (XamlNodeType next) [0x0011f] in /Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlWriterStateManager.cs:251 at System.Xaml.XamlWriterStateManager.GetObject () [0x00000] in /Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlWriterStateManager.cs:155 at System.Xaml.XamlWriterInternalBase.WriteGetObject () [0x00000] in /Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlWriterInternalBase.cs:137 at System.Xaml.XamlObjectWriter.WriteGetObject () [0x00000] in /Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlObjectWriter.cs:165 at System.Xaml.XamlWriter.WriteNode (System.Xaml.XamlReader reader) [0x00052] in /Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlWriter.cs:66 at System.Xaml.XamlServices.Transform (System.Xaml.XamlReader xamlReader, System.Xaml.XamlWriter xamlWriter, Boolean closeWriter) [0x00039] in /Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlServices.cs:123 at System.Xaml.XamlServices.Transform (System.Xaml.XamlReader xamlReader, System.Xaml.XamlWriter xamlWriter) [0x00000] in /Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlServices.cs:109 at System.Xaml.XamlServices.Load (System.Xaml.XamlReader xamlReader) [0x0001d] in /Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlServices.cs:58 at System.Xaml.XamlServices.Load (System.Xml.XmlReader xmlReader) [0x00000] in /Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlServices.cs:50 at System.Xaml.XamlServices.Load (System.String fileName) [0x00007] in /Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlServices.cs:35 at XamlTest3.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 Expected Results: Load without failure -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
