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

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

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

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