[Mono-bugs] [Bug 638359] New: Invalid cast for ISpanned to CharSequence

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 9 14:38:20 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=638359

https://bugzilla.novell.com/show_bug.cgi?id=638359#c0


           Summary: Invalid cast for ISpanned to CharSequence
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mkestner at novell.com
        ReportedBy: jpobst at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Repro:

TextView tv = new TextView (this);
tv.Text = (CharSequence)Html.FromHtml ("<b>Bold Text!</b>");

Exception:

System.InvalidCastException: Cannot cast from source type to destination type.


>From java version:

http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/text/Link.html

-- 
Configure bugmail: https://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