[Mono-osx] NSTableView datasource class initialization causes application to crash (I am using Monobjc)

Nick Ifloat ifloat at gmail.com
Tue Dec 9 06:02:52 EST 2008

I have followed the Cocoa# NSTableView tutorial (from
http://code.google.com/p/cocoa-sharp-dev/wiki/NSTableViewTutorial). When I
was using Cocoa# the TableView would be created and data would be shown. But
I had to move to Monobjc (since they claim they are more feature complete
than Cocoa# and also my 30 days or experiments with Cocoa# proved to me that
Cocoa# was not production ready). And using Monobjc when the NSTableView's
DataSource class is initialised I get the following stacktrace - 

at (wrapper managed-to-native) 8A6ECCDB.pinvoke
(intptr,intptr,intptr,intptr) <0x00004>
  at (wrapper managed-to-native) 8A6ECCDB.pinvoke
(intptr,intptr,intptr,intptr) <0xffffffff>
  at 8A6ECCDB.objc_msgSend (intptr,intptr,object[]) <0x0013f>
  at Monobjc.Generation.DynamicMessagingGenerator.SendMessage
(string,intptr,intptr,object[]) <0x00152>
  at Monobjc.ObjectiveCRuntime.SendMessage
(Monobjc.IManagedWrapper,string,object[]) <0x00070>
  at Monobjc.Cocoa.NSBundle.LoadNibNamedOwner
(Monobjc.Cocoa.NSString,Monobjc.Id) <0x00052>
  at Monobjc.Cocoa.NSApplication.LoadNib (string) <0x0006d>
  at Program.Main (string[]) <0x0002c>
  at (wrapper runtime-invoke) Program.runtime_invoke_void_string[]
(object,intptr,intptr,intptr) <0xffffffff>

Is there any tutorial available for using NSTableView with Monobjc (as there
is a good enough tutorial for NSTableView is avaible on Cocoa# toolkit) ?
View this message in context: http://www.nabble.com/NSTableView-datasource-class-initialization-causes-application-to-crash-%28I-am-using-Monobjc%29-tp20912565p20912565.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list