Re: assertion failure

2018-04-08 Thread Alex Zavatone
> On Apr 8, 2018, at 1:58 PM, Alex Zavatone wrote: > > Do you mind putting the program up on Github or something similar so any of > us can take a look? > > Do you check for existence of the file before deleting, or check its > properties to see if it is deletable? I don’t know if this is re

Re: assertion failure

2018-04-08 Thread Alex Zavatone
e. In general usage either of those cases is just > as valid so the file system reports the error, if any, and lets your app > decide what to do. > > >> On Apr 7, 2018, at 1:18 PM, Alan Snyder wrote: >> >> I understand that my program is doing it wrong. But is it

Re: assertion failure

2018-04-07 Thread Steve Christensen
your app decide what to do. > On Apr 7, 2018, at 1:18 PM, Alan Snyder wrote: > > I understand that my program is doing it wrong. But is it normal to have an > assertion failure, rather than an error return? > > >> On Apr 7, 2018, at 12:04 PM, Rob Petrovec wrot

Re: assertion failure

2018-04-07 Thread Alan Snyder
I understand that my program is doing it wrong. But is it normal to have an assertion failure, rather than an error return? > On Apr 7, 2018, at 12:04 PM, Rob Petrovec wrote: > > It’s saying that you are doing it wrong. Utility windows cannot go full > screen. You have you

Re: assertion failure

2018-04-07 Thread Rob Petrovec
It’s saying that you are doing it wrong. Utility windows cannot go full screen. You have yours set to go full screen. It shouldn’t be. —Rob > On Apr 7, 2018, at 10:24 AM, Alan Snyder wrote: > > I am getting an assertion failure notice on the console when running a small >

assertion failure

2018-04-07 Thread Alan Snyder
I am getting an assertion failure notice on the console when running a small test program: Assertion failure in -[AWTWindow_Panel _validateCollectionBehavior:], /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1504.83.101/AppKit.subproj/NSWindow.m:14741 (This message is on 10.12.6, the

Getting Assertion failure in -[UITableView _endCellAnimationsWithContext:]

2014-01-22 Thread Rick Mann
(Let's try this with a subject!) I'm getting *** Assertion failure in -[UITableView _endCellAnimationsWithContext:], but I'm not getting the message like this that you typically get (there's no message indicating what went wrong): 'Invalid update: invalid number o

Re: assertion failure from NSScrollView

2013-06-14 Thread James Walker
On 6/12/2013 6:51 PM, James Walker wrote: In Lion 10.7.4, if the General preference pane has set "Show scroll bars" to "Automatically based on input device", then when my window appears I see the following mess in the log. The other two preference alternatives don't cause this. Any idea what's

assertion failure from NSScrollView

2013-06-12 Thread James Walker
(The input device is a mouse, by the way.) 2013-06-12 18:43:26.049 XEditorDemo[2074:903] *** Assertion failure in -[NSScrollView scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:], /SourceCache/AppKit/AppKit-1138.51/AppKit.subproj/NSScrollView.m:4344 2013-06-12 18:43:31.

Re: NSTextFieldCell assertion failure messages?

2012-10-07 Thread Quincey Morris
On Oct 7, 2012, at 14:18 , Erik Stainsby wrote: >cellView.textField.stringValue = @" "; >[cellView.textField bind:@"stringValue" toObject:person > withKeyPath:[tableColumn identifier] options:nil]; There are several wrong or code-smelly things here: -- Why on earth set the string to a

NSTextFieldCell assertion failure messages?

2012-10-07 Thread Erik Stainsby
Can anyone tell me what I ought to be doing in response to the following message? *** Assertion failure in -[NSTextFieldCell _objectValue:forString:errorDescription:], /SourceCache/AppKit/AppKit-1187.34/AppKit.subproj/NSCell.m:1532 This is cropping up in a table delegate/datasource when I

Re: Assertion failure in -[MPMoviePlayerControllerNew _moviePlayerDidBecomeActiveNotification:]

2011-03-14 Thread Matt Neuburg
ile. There is also a UIWebView whose HTML contains an tag. >>> When the play control is tapped, I see a >>> MPMoviePlayerPlaybackDidFinishNotification notification with a reason of >>> MPMovieFinishReasonPlaybackEnded, then gdb shows the assertion failure and >>&

Re: Assertion failure in -[MPMoviePlayerControllerNew _moviePlayerDidBecomeActiveNotification:]

2011-03-13 Thread Steve Christensen
lay control is tapped, I see a >> MPMoviePlayerPlaybackDidFinishNotification notification with a reason of >> MPMovieFinishReasonPlaybackEnded, then gdb shows the assertion failure and >> exception and dumps the backtrace (below). > > What was the outcome on this? Thx - m

Re: Assertion failure in -[MPMoviePlayerControllerNew _moviePlayerDidBecomeActiveNotification:]

2011-03-13 Thread Matt Neuburg
ification >notification with a reason of MPMovieFinishReasonPlaybackEnded, then gdb shows >the assertion failure and exception and dumps the backtrace (below). What was the outcome on this? Thx - m. -- matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/> A fool + a tool + an au

Re: Assertion failure in -[MPMoviePlayerControllerNew _moviePlayerDidBecomeActiveNotification:]

2011-03-09 Thread Dave Camp
the play control is tapped, I see a > MPMoviePlayerPlaybackDidFinishNotification notification with a reason of > MPMovieFinishReasonPlaybackEnded, then gdb shows the assertion failure and > exception and dumps the backtrace (below). > > If I start playing the HTML's audio then start the MPMovi

Assertion failure in -[MPMoviePlayerControllerNew _moviePlayerDidBecomeActiveNotification:]

2011-03-08 Thread Steve Christensen
lso a UIWebView whose HTML contains an tag. When the play control is tapped, I see a MPMoviePlayerPlaybackDidFinishNotification notification with a reason of MPMovieFinishReasonPlaybackEnded, then gdb shows the assertion failure and exception and dumps the backtrace (below). If I start playing t

Re: -[NSView lockFocus] assertion failure

2009-04-17 Thread John C. Randolph
n the user completes the editing, I want to hide the NSTextField, as an animated CATextLayer will begin playing beneath the textField. When I attempt to hide the NSTextField and begin the animation, I get the NSView lockFocus assertion failure. I hide the NSTextField in the action method, and begi

-[NSView lockFocus] assertion failure

2009-04-15 Thread James G.
e the NSTextField, as an animated CATextLayer will begin playing beneath the textField. When I attempt to hide the NSTextField and begin the animation, I get the NSView lockFocus assertion failure. I hide the NSTextField in the action method, and begin the animation on the lower layer. The NSTextField.h

Re: NSOutlineView assertion failure on collapse

2008-12-16 Thread Corbin Dunn
On Dec 16, 2008, at 3:54 PM, Roland Rabien wrote: In building a small app that reproduces the problem I found the cause of the assertion. It's caused by me being stupid. The following code reproduces the assertion: - (void)outlineViewItemWillCollapse:(NSNotification *)notification {

Re: NSOutlineView assertion failure on collapse

2008-12-16 Thread Roland Rabien
ier to > debug. > > -corbin > > > On Dec 15, 2008, at 11:08 AM, Roland Rabien wrote: > > I'm having an NSOutlineView Assertion Failure on collapse if the selected >> item is a child (or child of child, etc) of the item that is being >> collapsed. Has anyone else

Re: NSOutlineView assertion failure on collapse

2008-12-16 Thread Corbin Dunn
Rabien wrote: I'm having an NSOutlineView Assertion Failure on collapse if the selected item is a child (or child of child, etc) of the item that is being collapsed. Has anyone else had this problem? I've searched the list all the related posts seem to indicate threading is the cau

NSOutlineView assertion failure on collapse

2008-12-15 Thread Roland Rabien
I'm having an NSOutlineView Assertion Failure on collapse if the selected item is a child (or child of child, etc) of the item that is being collapsed. Has anyone else had this problem? I've searched the list all the related posts seem to indicate threading is the cause, but my applica

assertion failure in AppKit

2008-07-18 Thread Torsten Curdt
Hey guys, Some of my users are reporting an exception NSInternalInconsistencyException lockFocus sent to a view whose window is deferred and does not yet have a corresponding platform window This is in the logs: *** Assertion failure in -[NSThemeFrame lockFocus], AppKit.subproj

Re: NSOutlineView assertion failure on redraw .. ?

2008-07-03 Thread Corbin Dunn
th:@"rules" options:nil]; and an NSTableColumn(inside an nsoutlineview) bound to the tree controller.arrangedObjects.Name keypath. Infrequently, but not always, I will get an assertion error: 2008-07-02 14:13:19.387 Submit[390:10b] *** Assertion failur

NSOutlineView assertion failure on redraw .. ?

2008-07-02 Thread Michael Hanna
utlineview) bound to the tree controller.arrangedObjects.Name keypath. Infrequently, but not always, I will get an assertion error: 2008-07-02 14:13:19.387 Submit[390:10b] *** Assertion failure in -[NSOutlineView _expandItemEntry:expandChildren:startLevel:](), /SourceCache/AppKit/AppKit-949.

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-17 Thread Uli Kusterer
Am 15.05.2008 um 11:24 schrieb Apparao Mulpuri: 2008-05-15 14:45:33.469 MyCocoaApp[554:10b] NSExceptionHandler has recorded the following exception: NSInternalInconsistencyException -- -[NSNextStepFrame(0x12e0d0) The last time I got an internal inconsistency exception was when I was acciden

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-15 Thread Kyle Sluder
On Fri, May 16, 2008 at 1:26 AM, Apparao Mulpuri <[EMAIL PROTECTED]> wrote: > Actually my application is primarily targeted for Leopard OS, which is > not working due to this Exception. I am creating a new window and > setting window frame, where exception occurs. What bothers me is that it looks

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-15 Thread Apparao Mulpuri
Thanks Jens and Kyle Sluder. Actually my application is primarily targeted for Leopard OS, which is not working due to this Exception. I am creating a new window and setting window frame, where exception occurs. Is there any other way for setting the Window frame? - Apparao. On 5/15/08, Kyle Sl

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-15 Thread Kyle Sluder
On Thu, May 15, 2008 at 11:10 AM, Jens Alfke <[EMAIL PROTECTED]> wrote: > Thanks. This looks like a pretty normal backtrace (up until the exception), > with only minimal involvement of your code, so it does seem like an AppKit > bug. You should file a bug report, definitely including the backtrace,

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-15 Thread Jens Alfke
On 15 May '08, at 3:41 AM, Apparao Mulpuri wrote: Here is the complete stacktrace: Thanks. This looks like a pretty normal backtrace (up until the exception), with only minimal involvement of your code, so it does seem like an AppKit bug. You should file a bug report, definitely includi

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-15 Thread Jens Alfke
On 15 May '08, at 2:24 AM, Apparao Mulpuri wrote: Here is the Stacktrace: The binary backtrace is hard to decipher (and it has to be deciphered on the same computer, or at least one with the exact same system version and frameworks.) Instead follow my directions about setting a breakpoi

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-15 Thread Apparao Mulpuri
Here is the complete stacktrace: 2008-05-15 15:58:53.730 MyCocoaApp[618:10b] *** Assertion failure in -[NSNextStepFrame lockFocus], /SourceCache/AppKit/AppKit-949.27/AppKit.subproj/NSView.m:4751 2008-05-15 15:58:53.737 MyCocoaApp[618:10b] NSExceptionHandler has recorded the following exception

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-15 Thread Apparao Mulpuri
) lockFocus] failed with window=0x145b30, windowNumber=340, [self isHiddenOrHasHiddenAncestor]=0 2008-05-15 14:45:33.508 MyCocoaApp[554:10b] *** Assertion failure in -[NSNextStepFrame lockFocus], /SourceCache/AppKit/AppKit-949.27/AppKit.subproj/NSView.m:4751 On Thu, May 15, 2008 at 10:01 AM, Jens Alfke

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-14 Thread Jens Alfke
On 14 May '08, at 9:17 PM, Apparao Mulpuri wrote: ** Assertion failure in -[NSNextStepFrame lockFocus], /SourceCache/AppKit/AppKit-949.27/AppKit.subproj/NSView.m:4751 May 14 17:37:39 apparao-power-mac-g5 MyCocoaApp[123]: -[NSNextStepFrame(0x143610) lockFocus] failed with window=0x1

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-14 Thread Apparao Mulpuri
ich will run on > Mac OS X 10.3.9 onwards. > > It is working as expected in 10.3.9 and Tiger os versions. But, in > Leopard 10.5.2, its giving following exception: > > ** Assertion failure in -[NSNextStepFrame lockFocus], > /SourceCache/AppKit/AppKit-949.27/AppKit.subproj/NSV

Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-14 Thread Apparao Mulpuri
HI, I have a Cocoa based multi monitor application,which will run on Mac OS X 10.3.9 onwards. It is working as expected in 10.3.9 and Tiger os versions. But, in Leopard 10.5.2, its giving following exception: ** Assertion failure in -[NSNextStepFrame lockFocus], /SourceCache/AppKit