FAILURE: Build failed with an exception

Hi!
After IDE update I`ve got some type of exception


:presentation:prepareDebugUnitTestDependencies
:presentation:dataBindingExportBuildInfoDebug
:presentation:incrementalDebugJavaCompilationSafeguard
:presentation:compileDebugKotlin
:presentation:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:presentation:compileDebugJavaWithJavac’.

java.lang.IllegalArgumentException: Parameter specified as non-null is null: method org.jetbrains.kotlin.annotation.RoundEnvironmentWrapper.getElementsAnnotatedWith, parameter a

Yesterday it’s worked without this exception. Is anybode could say what the type of issue I got? And how can I fix it?

The deal was with the gradle build tool version, I’ve updated to 2.1 beta version and so build was broken. After I returned to 2.0 version it works like a charm

Same issue. I use latest kotlin 1.0.2

Hi everyone!
If you’re having this problem could you run gradle build with ‘–stacktrace --debug’ parameters and attach a log to the issue https://youtrack.jetbrains.com/issue/KT-12113 ?
Specific code examples/projects are welcome :slight_smile: