On MacOs, attribute modification gives "Bad things" errors
Mac OS 10.14 201 or 211, several users get message error "Bad things man..." when they try to modify attributes. Even when Java 6 https://support.apple.com/kb/DL1572?locale=fr_FR is installed.
Error trace:
Last login: Mon May 27 11:33:48 on ttys002
Working-Class-II:~ vbat$ /Users/vbat/PuckBin/puck.command ; exit;
System lookAndFeel property:null
Available lookAndFeel: [Metal, Nimbus, CDE/Motif, Mac OS X]
System lookAndFeel: com.apple.laf.AquaLookAndFeel
Current lookAndFeel: Mac OS X
Metal LAF setted and system LAF detected, try to set system LAF.
Activated lookAndFeel: Mac OS X
2019-05-27 11:39:15.647 java[7725:690327] -_cgsEventRecord is deprecated for _cgsEventRecord. Please use -CGEvent.
2019-05-27 11:39:15.647 java[7725:690327] *** Assertion failure in -[NSEvent _cgsEventRecord], /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1671.50.111/AppKit.subproj/NSEvent.m:1986
java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Deprecated in 10_12... DO NOT EVER USE CGSEventRecord directly. Bad things, man.... bad things.)
at apple.awt.ComponentModel._handleEvent(Native Method)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:273)
at apple.awt.CWindow.handleEvent(CWindow.java:545)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:753)