[Mono-bugs] [Bug 672616] MonoMac Bindings, app crashes when a textfield value is changed and in the binded object the method NSNumber.SByteValue is used in the binded property setter

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 16 12:40:04 EST 2011



Geoff Norton <gnorton at novell.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Geoff Norton <gnorton at novell.com> 2011-02-16 17:40:04 UTC ---
I'm going to mark this as invalid since you've done an element binding to a
NSTextField, which passes an NSString, but you've decorated the target as a
NSNumber, so what was happening is you were basically calling


which led to a crash in native code.

That being said, I've commited some updated marshalling support in:


So we will generate an InvalidCastException for these cases in the future.

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