This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository tutti. See http://git.codelutin.com/tutti.git commit 8c8330c212e132e3c7e806f7b0206a6386f22e83 Author: Tony CHEMIT <chemit@codelutin.com> Date: Tue Sep 1 15:25:00 2015 +0200 Capture et non traitement des errreurs venant du thread swing (See #7489) --- .../tutti/ui/swing/util/TuttiExceptionHandler.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/util/TuttiExceptionHandler.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/util/TuttiExceptionHandler.java index 20735b6..8caecae 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/util/TuttiExceptionHandler.java +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/util/TuttiExceptionHandler.java @@ -52,6 +52,22 @@ public class TuttiExceptionHandler extends ApplicationExceptionHandler { } @Override + public void uncaughtException(Thread t, Throwable ex) { + if (t.getName().startsWith("AWT-EventQueue-")) { + + // Swallow some ui execption we can't deal with + // See https://forge.codelutin.com/issues/7489 + if (log.isErrorEnabled()) { + log.error("Swallow Swing error: " + ex.getMessage(), ex); + } + + } else { + + super.uncaughtException(t, ex); + } + } + + @Override protected void handleException(String tname, Throwable ex) { if (log.isErrorEnabled()) { log.error("Global application exception [" + tname + "]", ex); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.