NSView bug?
NSView bug?
- Subject: NSView bug?
- From: email@hidden
- Date: Thu, 15 Jan 2004 19:37:13 +0000
This occurs under a stress test of removing and adding subviews from/to a
complex view in a custom Cocoa/Java application under Panther 10.3.2. It looks
like it may be a bug in the AppKit (NSView) but I am not sure. It doesn't make
sense to me why adding a subview could trigger this. I suspect that the NSView
is keeping count of objects in that array (perhaps views that were removed and
added) and isn't counting properly.
Has anyone seen this?
2004-01-15 09:21:31.447 MyApp[899] NSRangeException: *** -[NSCFArray
objectAtIndex:]: index (46) beyond bounds (46)
Stack Trace:
NSRangeException: *** -[NSCFArray objectAtIndex:]: index (46) beyond bounds (46)
at
com.apple.cocoa.application.NSView.addSubviewPositionedRelativeToNative(Native
Method)
at com.apple.cocoa.application.NSView.addSubview(NSView.java:96)
_______________________________________________
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.