From ac68a4411fd89aa306a40b07c1eb995be7f7dbc2 Mon Sep 17 00:00:00 2001 From: codeanticode Date: Mon, 10 Sep 2018 18:40:50 -0400 Subject: [PATCH] silence 'TIS/TSM in non-main thread' error --- app/src/processing/app/ui/EditorConsole.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/processing/app/ui/EditorConsole.java b/app/src/processing/app/ui/EditorConsole.java index fcc86fa48..da7fe5472 100644 --- a/app/src/processing/app/ui/EditorConsole.java +++ b/app/src/processing/app/ui/EditorConsole.java @@ -228,6 +228,11 @@ public class EditorConsole extends JScrollPane { // Java on Mac OS X, but is widely reported as the source of any other // bug or problem that a user runs into. It may well be a Processing // bug, but until we know, we're suppressing the messages. + } else if (err && what.contains("is calling TIS/TSM in non-main thread environment")) { + // Error message caused by JOGL since macOS 10.13.4, cannot fix at the moment so silencing it: + // https://github.com/processing/processing/issues/5462 + // Some discussion on the Apple's developer forums seems to suggest that is not serious: + // https://forums.developer.apple.com/thread/105244 } else if (err && what.contains("Make pbuffer:")) { // Remove initalization warning from LWJGL. } else if (err && what.contains("XInitThreads() called for concurrent")) {