[Mono-bugs] [Bug 512244] New: Set Discardnull for serial port, in Design

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jun 11 10:13:59 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=512244


           Summary: Set Discardnull for serial port, in Design
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: surfzoid2002 at yahoo.fr
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10)
Gecko/2009050804 Mandriva/1.9.0.10-0.1mdv2009.1 (2009.1) Firefox/3.0.10

Set Discardnull for serial port, in Design file (With MS VC Designer), cause
folowing unandel excption only under linux in VB and C#:

Unhandled Exception: System.InvalidOperationException:
WinForms_SeeInnerException ---> System.InvalidOperationException: Specified
port is not open.
  at System.IO.Ports.SerialPort.CheckOpen () [0x00016] in
/home/epetit/MonoSVN/mcs/class/System/System.IO.Ports/SerialPort.cs:735
  at System.IO.Ports.SerialPort.set_DiscardNull (Boolean value) [0x00000] in
/home/epetit/MonoSVN/mcs/class/System/System.IO.Ports/SerialPort.cs:224
  at (wrapper remoting-invoke-with-check)
System.IO.Ports.SerialPort:set_DiscardNull (bool)
  at Analyseur_de_trame_RS.Principale.InitializeComponent () [0x00000]
  at (wrapper remoting-invoke-with-check)
Analyseur_de_trame_RS.Principale:InitializeComponent ()
  at Analyseur_de_trame_RS.Principale..ctor () [0x00000]
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke
(object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00119] in
/home/epetit/MonoSVN/mcs/class/corlib/System.Reflection/MonoMethod.cs:465
  --- End of inner exception stack trace ---
  at Analyseur_de_trame_RS.My.MyProject+MyForms.Create__Instance__[Principale]
(Analyseur_de_trame_RS.Principale Instance) [0x00000]
  at Analyseur_de_trame_RS.My.MyProject+MyForms.get_Principale () [0x00000]
  at Analyseur_de_trame_RS.My.MyApplication.OnCreateMainForm () [0x00000]
  at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun ()
[0x0000e] in
/home/epetit/MonoSVN/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.ApplicationServices/WindowsFormsApplicationBase.vb:192
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run
(System.String[] commandLine) [0x00000] in
/home/epetit/MonoSVN/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.ApplicationServices/WindowsFormsApplicationBase.vb:79




Reproducible: Always

Steps to Reproduce:
Compile the sample and run it, under linux and windows
Actual Results:  
unandel exception

Expected Results:  
No bad crash

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list