FileDialog on OS X 10.10 with Java 8u25
    William Moore 
    wmoore40 at gmail.com
       
    Wed Nov 19 16:39:00 UTC 2014
    
    
  
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
    
    
More information about the macosx-port-dev
mailing list