https://bugzilla.novell.com/show_bug.cgi?id=377683
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=377683#c4 Eric Petit <[EMAIL PROTECTED]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #4 from Eric Petit <[EMAIL PROTECTED]> 2008-08-07 08:23:55 MDT --- I remember, i check it and seem to work, but today something change , i will provide a simple test case who show the problem, through MD IDE, when i run the test case documentstream.length give me a cast error : Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination type. at System.Windows.Forms.WebBrowser.get_DocumentText () [0x00011] in /root/tmp/MonoUpdate/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs:121 at System.Windows.Forms.WebBrowser.get_DocumentStream () [0x00000] in /root/tmp/MonoUpdate/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs:100 at (wrapper remoting-invoke-with-check) System.Windows.Forms.WebBrowser.get_DocumentStream () <0x00046> at Bug377720ReallyStrangeBug.MainClass.webBrowser1_Navigating (object,System.Windows.Forms.WebBrowserNavigatingEventArgs) [0x00000] in /home/eric/Projects/MonoTestCases/Bug 377720ReallyStrangeBug/Bug 377720ReallyStrangeBug/Main.cs:62 at System.Windows.Forms.WebBrowser.OnNavigating (System.Windows.Forms.WebBrowserNavigatingEventArgs) [0x0000b] in /root/tmp/MonoUpdate/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs:500 at System.Windows.Forms.WebBrowser.OnWebHostLoadStarted (object,Mono.WebBrowser.LoadStartedEventArgs) [0x00038] in /root/tmp/MonoUpdate/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs:574 at Mono.Mozilla.Callback.OnStateChange (Mono.Mozilla.nsIWebProgress,Mono.Mozilla.nsIRequest,int,uint) [0x000f0] in /root/tmp/MonoUpdate/mcs/class/Mono.WebBrowser/Mono.Mozilla/Callback.cs:123 at (wrapper native-to-managed) Mono.Mozilla.Callback.OnStateChange (intptr,intptr,int,uint) <0x00297> If we run the test case in a console with mono ./myapp.exe we have a nil exception + seg fault : https://bugzilla.novell.com/show_bug.cgi?id=377720#c15 -- 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
