All production Java applications are compiled in debug mode. This way the problems can be properly debugged. Some application frameworks even require debug compilation to be able to do their runtime AOP.
That said: it is incompetence to show stack traces or other confusing errors to users. They are supposed to go to a log file.
That said: Some people are always incompetent, but after weeks of overtime, everyone will be incompetent.