[Mono-bugs] [Bug 499952] New: System.InvalidCastException: Len

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 30 18:28:55 EDT 2009


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


           Summary: System.InvalidCastException: Len
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: VB Runtime
        AssignedTo: rkvinge at novell.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=289382)
 --> (http://bugzilla.novell.com/attachment.cgi?id=289382)
sample.vb

repro:

vbnc sample.vb
mono sample.exe

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for Module1 ---> System.InvalidCastException:
Cannot cast from source type to destination type.
  at Microsoft.VisualBasic.Strings.GetSize (System.Object Expression) [0x00000] 
  at Microsoft.VisualBasic.Strings.Len (System.Object Expression) [0x00000] 
  at Module1..cctor () [0x00000] 
  --- End of inner exception stack trace ---

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


More information about the mono-bugs mailing list