FileDialog on OS X 10.10 with Java 8u25
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Mon Feb 9 16:37:21 UTC 2015
Hi, William.
Please file a new bug at http://bugreport.sun.com/bugreport , don't
forget to add a steps to reproduce your issue.
On 19.11.2014 19:39, William Moore wrote:
> Hello
>
> I'm using a java.awt.FileDialog to select a file for opening. I get the following error when I make the FileDialog visible:
>
> <error>
>
> 2014-11-19 17:09:10.925 java[11592:4309058] Unable to simultaneously satisfy constraints:
> (
> "<NSAutoresizingMaskLayoutConstraint:0x7f8993cc3df0 h=--& v=--& V:[FI_TBrowserBackgroundView:0x7f8993d17a50(0)]>",
> "<NSAutoresizingMaskLayoutConstraint:0x7f8993cc3800 h=-&- v=-&- V:|-(0)-[FI_TListScrollView:0x7f8993d54790] (Names: '|':FI_TBrowserBackgroundView:0x7f8993d17a50 )>",
> "<NSAutoresizingMaskLayoutConstraint:0x7f8993cc37b0 h=-&- v=-&- V:[FI_TListScrollView:0x7f8993d54790]-(0)-| (Names: '|':FI_TBrowserBackgroundView:0x7f8993d17a50 )>",
> "<NSAutoresizingMaskLayoutConstraint:0x7f8993cbe180 h=-&- v=-&- V:[NSClipView:0x7f8993bb5f50]-(15)-| (Names: '|':FI_TListScrollView:0x7f8993d54790 )>",
> "<NSAutoresizingMaskLayoutConstraint:0x7f8993cbe130 h=-&- v=-&- V:|-(0)-[NSClipView:0x7f8993bb5f50] (Names: '|':FI_TListScrollView:0x7f8993d54790 )>"
> )
>
> Will attempt to recover by breaking constraint
> <NSAutoresizingMaskLayoutConstraint:0x7f8993cbe180 h=-&- v=-&- V:[NSClipView:0x7f8993bb5f50]-(15)-| (Names: '|':FI_TListScrollView:0x7f8993d54790 )>
>
> Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens. And/or, break on objc_exception_throw to catch this in the debugger.
>
> </error>
>
> This is on OS X 10.10 with Java 8u25. Perhaps it was happening before and I didn’t notice. Everything still works once the dialog is open, but that is quite slow.
>
> Is there anything I can do to remove the error?
>
> Thanks in advance
>
> William
--
Best regards, Sergey.
More information about the macosx-port-dev
mailing list