Trouble Syncing and Building Gradle Projects in 2016.2.2


I seem to be having an issue with 2016.2.2, build #IU-162-1628-40 on an Arch Linux box.  Using Gradle 3.0 that I have installed in a separate directory.  I created a brand new Gradle project and it was missing the src folder structure (had "Create directories for..." option on project creation).  Those were easy enough to add, but when I opened the project the Gradle Sync messages gave me:


When I try to make the project I get:

Error:Internal error: (java.lang.NoSuchMethodError) com.intellij.util.concurrency.SequentialTaskExecutor.processQueue()V
java.lang.NoSuchMethodError: com.intellij.util.concurrency.SequentialTaskExecutor.processQueue()V
    at org.jetbrains.jps.cmdline.BuildSession$EventsProcessor.startProcessing(
    at org.jetbrains.jps.cmdline.BuildSession.runBuild(
    at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$
    at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$
    at java.util.concurrent.Executors$
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$

I can successfully use "gradle build" to compile and run my project from the command line, though.

 Did notice on that it should have been fixed a couple of versions ago, but I seem to still be having it.  Any suggestions?

Comment actions Permalink

Try to reinstall IDEA from

Make sure you unpack it into an empty directory, don't copy over the previous installation.

Comment actions Permalink

Yup that fixed it!  I had upgraded over top of an older installation of IntelliJ, deleting the directory and using a new one solved my problem.  Thanks for the help!


Please sign in to leave a comment.