Messaging released object during NIB loading
Messaging released object during NIB loading
- Subject: Messaging released object during NIB loading
- From: Bill Bumgarner <email@hidden>
- Date: Wed, 12 Mar 2003 15:31:17 -0500
I have a Cocoa/Java application that is messaging a released object as
MainMenu.nib is being loaded.
As far as I can tell [println() debugging], NONE of my code has been
executed at this point; it is before any of the application launch
notifications and before awakeFromNIB().
Anyone have any ideas what the heck is going on or how I might figure
it out? If I turn on NSZombieEnabled, the app "just works" -- not
exactly acceptable for deployment.
b.bum
Thread 0 Crashed:
#0 0x907aba54 in objc_msgSend
#1 0x9906edbc in _NSExceptionToJavaException
#2 0x9906ef18 in _NSRaiseExceptionInJava
#3 0x9906ca5c in
Java_com_apple_cocoa_foundation_NSObject_initWithCoder
#4 0x013af580 in 0x13af580
#5 0x013a8fb0 in 0x13a8fb0
#6 0x013a8fb0 in 0x13a8fb0
#7 0x013a616c in 0x13a616c
#8 0x966a8208 in JVM_Read
#9 0x966cde94 in JVM_FillInStackTrace
#10 0x966b8c80 in JVM_GetCPMethodClassNameUTF
#11 0x966e69e8 in JVM_RawMonitorEnter
#12 0x99064e1c in JAVANewObject
#13 0x99068444 in _BRIDGEInitWithCoderImp
#14 0x9312f03c in -[NSClassSwapper initWithCoder:]
#15 0x909558b4 in _decodeObjectBinary
#16 0x9095e8b8 in _decodeObject
#17 0x930fcdc0 in -[NSNibConnector initWithCoder:]
#18 0x930f05a8 in -[NSNibOutletConnector initWithCoder:]
#19 0x909558b4 in _decodeObjectBinary
#20 0x90977098 in -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:]
#21 0x9093d3b8 in -[NSArray initWithCoder:]
#22 0x909558b4 in _decodeObjectBinary
#23 0x9095e8b8 in _decodeObject
#24 0x931491bc in -[NSIBObjectData initWithCoder:]
#25 0x909558b4 in _decodeObjectBinary
#26 0x9095e8b8 in _decodeObject
#27 0x931b2c94 in loadNib
#28 0x930e9dd8 in +[NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:]
#29 0x93149090 in +[NSBundle(NSNibLoading)
loadNibFile:externalNameTable:withZone:]
#30 0x93148e50 in +[NSBundle(NSNibLoading) loadNibNamed:owner:]
#31 0x9315f654 in NSApplicationMain
#32 0x00003b8c in main (main.m:13)
#33 0x00003910 in _start (crt.c:267)
#34 0x00003790 in start
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.