Community
Participate
Working Groups
Currently the ExceptionHandlerManager trusts that the "handle" method of the ExceptionHandler does not fail. If it fails, no other ExceptionHandler is called and also the caller of ExceptionHandlerManager will fail with an exception. So in this case the UIProcess in its run method, called the EHM to deal with a NPE that a UIProcess threw. The ExceptionHandler wanted to open a MessageBox without taking into account, that this only works on UI-Threads. The ExceptionHandler failed and so did everything else. The monitor of UIProcess was never finished and unfinished UIProcess instances started pilling up. The solution is to not trust the handler, catch the exception, log it as error and proceed as if the handler did not processed the exception.
fixed in HEAD