[Mono-osx] System.NullReferenceException in NSRunLoop.RunUntil
Maxi Combina
maxi.combina at passwordbank.com
Fri May 27 09:38:49 EDT 2011
Hello everyone,
sometimes I get a System.NullReferenceException when running
MonoMac.Foundation.NSRunLoop.RunUntil().
It is not always, it is not easily reproduceable, but it is always the same
(I paste the relevant stack trace below).
Points to consider:
1.- I am manually invoking the NSRunLoop, so maybe I am doing something
wrong, I am not sure.
2.- I do *not* use UISetStatusText anywhere.
This is the statck trace:
-------------------
Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object
at MonoMac.Foundation.NSString.ToString () <0x00009>
at (wrapper dynamic-method)
object.[MonoMac.WebKit.WebView+_WebUIDelegate.Void
UISetStatusText(MonoMac.WebKit.WebView, System.String)]
(MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector,MonoMac.WebKit.WebView,MonoMac.Foundation.NSString)
<0x0000f>
at (wrapper native-to-managed)
object.[MonoMac.WebKit.WebView+_WebUIDelegate.Void
UISetStatusText(MonoMac.WebKit.WebView, System.String)]
(MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector,MonoMac.WebKit.WebView,MonoMac.Foundation.NSString)
<0x00137>
at (wrapper managed-to-native)
MonoMac.ObjCRuntime.Messaging.bool_objc_msgSend_IntPtr_IntPtr
(intptr,intptr,intptr,intptr) <0x00003>
at MonoMac.Foundation.NSRunLoop.RunUntil
(MonoMac.Foundation.NSString,MonoMac.Foundation.NSDate) <0x0005f>
-------------------
May this be a MonoMac issue?
Thanks in advance,
Maix
--
Maxi Combina
Cell:+1 408 300 3614
Tel: +1 408 524 1579
440 N. Wolfe Road. Sunnyvale. CA. 94085. USA
www.PasswordBank.com
This message and its attachments are sent from PasswordBank, Inc. and may
contain information that is
confidential. If you are not the intended recipient, you are prohibited from
printing, copying, forwarding or
saving them. Please delete the message and attachments without printing,
copying, forwarding or saving
them, and notify the sender immediately. Message transmission is not
guaranteed to be secure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110527/c5cd3e5a/attachment.html
More information about the Mono-osx
mailing list