Hi all, I've created a Java Bindings Library, which binds the Sybase Ultralite Android library so that I can use it in Mono For Android.
This is up and running and has been working well - until now! What we've found is that as soon as a GC_EXPLICIT is triggered, we're getting "Object reference not set to an instance of an object" errors and the system crashes. The device log shows the following at the same time: The code for ResultSetConnection.Close is: and the error is occurring on the /ResultSet.Close()/ call. /ResultSet/ is an IResultSet as returned from the bound Ultralite library. As far as I know, I'm cleaning up the ResultSet/PreparedStatement/Connection in the correct order. I've done some reading of the http://docs.xamarin.com/android/advanced_topics/garbage_collection documentation on garbage collection , and it's my understanding that the /ResultSet/ object is a Peer object. Is there something I can do - with my binding metadata or C# code - to sort this out? Regards, James -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Object-Reference-not-set-after-GC-EXPLICIT-on-bound-object-tp5711532.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid