Exceptions are not thrown and program just keeps on running...
Answered
Dear IntelliJ-Community,
A am currently developing a program that checks upon some data at a regular interval using a ScheduledExecutorService and the scheduleAtFixedRate method.
Now whenever the program encounters a Exception inside the new Thread.run() stack, IntelliJ tells me the program is still running and fails to throw the error message
I even tried to cause a trival NullPointerException like:
Object o = null;
boolean b = o.equals(null);
//And still the same problem occoured
Did anyone ever encounter a similar problem ?
I tried to activate breakpoints at uncaught exceptions but it did not help either
Does anyone have a clue what I could do to fix this?
Please sign in to leave a comment.
See this answer: https://stackoverflow.com/a/18217540/2000323