wttech/gradle-aem-plugin

Kotlin Coroutine dies intermittently

pun-ky opened this issue · 1 comments

image

I implemented protection wrapper code around it to have at least error reporting but still this situation should not happen.
The only idea I have to fix it is to get rid of coroutines as they are not needed probably in GAP, the work started already here:
wttech/gradle-common-plugin#4

on screenshot , instance was started but coroutine-based ChecksRunner is not running properly
note that this situation I spotted only few times within last years. just rerunning task works as desired.

added more strict exception handling so that now whenever situation will happen there will be a error info printed to the console