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
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 required or not, just submitting these as an option. Cheers. Alex

Re: assertion failure

2018-04-07 Thread Steve Christensen
It's not uncommon to have a method throw an exception when you make a programming error so that you get immediate feedback. Not knowing offhand which method(s) were called, my guess would be that they're designed to always succeed if you specify the correct parameter values, so the assertion is

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 yours set to go full

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 > test program: >

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

Re: Assertion failure in -[MPMoviePlayerControllerNew _moviePlayerDidBecomeActiveNotification:]

2011-03-14 Thread Matt Neuburg
On Sun, 13 Mar 2011 15:14:53 -0700, Steve Christensen said: >On Mar 13, 2011, at 11:05 AM, Matt Neuburg wrote: > >> On Tue, 08 Mar 2011 17:01:33 -0800, Steve Christensen said: >>> The setup has a MPMoviePlayerController instance that is playing a local >>> audio file. There is also a UIWebView w

Re: Assertion failure in -[MPMoviePlayerControllerNew _moviePlayerDidBecomeActiveNotification:]

2011-03-13 Thread Steve Christensen
On Mar 13, 2011, at 11:05 AM, Matt Neuburg wrote: > On Tue, 08 Mar 2011 17:01:33 -0800, Steve Christensen said: >> The setup has a MPMoviePlayerController instance that is playing a local >> audio file. There is also a UIWebView whose HTML contains an tag. >> When the play control is tapped, I

Re: Assertion failure in -[MPMoviePlayerControllerNew _moviePlayerDidBecomeActiveNotification:]

2011-03-13 Thread Matt Neuburg
On Tue, 08 Mar 2011 17:01:33 -0800, Steve Christensen said: >The setup has a MPMoviePlayerController instance that is playing a local audio >file. There is also a UIWebView whose HTML contains an tag. When the >play control is tapped, I see a MPMoviePlayerPlaybackDidFinishNotification >notific

Re: Assertion failure in -[MPMoviePlayerControllerNew _moviePlayerDidBecomeActiveNotification:]

2011-03-09 Thread Dave Camp
I saw that assertion yesterday in a bit of code that was accidentally calling a MPMoviePlayerController method from a secondary thread. Dave On Mar 8, 2011, at 5:01 PM, Steve Christensen wrote: > I'm seeing the above assertion in an app running on iOS 4.2.1. It then throws > an NSInternalIncon

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: NS

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-15 Thread Apparao Mulpuri
Here is the Stacktrace: 2008-05-15 14:45:33.469 MyCocoaApp[554:10b] NSExceptionHandler has recorded the following exception: NSInternalInconsistencyException -- -[NSNextStepFrame(0x12e0d0) lockFocus] failed with window=0x145b30, windowNumber=340, [self isHiddenOrHasHiddenAncestor]=0 Stack trace:

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=0x142e60, window

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-14 Thread Apparao Mulpuri
Is it a known issue on Leopard. Is there any fix? I am planning to file a bug in apple bugreporter. Is any one filed it already?. - Apparao. On Wed, May 14, 2008 at 7:00 PM, Apparao Mulpuri <[EMAIL PROTECTED]> wrote: > HI, > > I have a Cocoa based multi monitor application,which will run on >