RecompileMC: not working

I try to get gradle for Eclipse, and I keep getting this error:
> Task :recompileMc FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':recompileMc'.
> java.lang.NullPointerException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 15s
5 actionable tasks: 4 executed, 1 up-to-date
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

I have same the problem.how can it be solved

Try running with --stacktrace to get the actual stack trace of the error.