Hi All,
I’m currently keep struggling with the error reports when using a Processor with KAPT and Gradle.
When anything fails I’m only receiving a message like
Copy code
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':connector:example:connector-confluence-cloud:kaptKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
> java.lang.reflect.InvocationTargetException (no error message)
The processor has been written by myself, so I can change something on that end, but I’m not finding any solution for that.
I keep logging using
processingEnv.error()
but can’t find any results in the actual log. Is there any way to improve the logging here?
Thanks in advance!
Timo Gruen
01/25/2021, 10:04 AM
If anyone is interested in the issue:
Actually the exception message got print - but Intellij just hides the exception message, so going into the
console
tab when running tests, the actual exception message is present