Hi
Apparently, in Java, when the threads/tasks, spawned using any ScheduledExecutorService APIs (schedule(), scheduleAtFixedRate()...etc), throw any exception, the stack trace does not appear on the console or log unless an explicit try/catch block in the run() method catches the exception and logs it.
We have realized this while debugging the segment routing application where our executor threads silently getting vanished without any exceptions in the ONOS logs.
As per javadoc of ScheduledExecutorService, "If any execution of the task encounters an exception, subsequent executions are suppressed."
So if you are using this service in any of your module, add an explicit try/catch block in the run() method to print the stack trace in the ONOS logs..
Regards
Srikanth