Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle runIde failed after upgrade to 0.3.0 #273

Closed
izhangzhihao opened this issue Mar 23, 2018 · 0 comments
Closed

Gradle runIde failed after upgrade to 0.3.0 #273

izhangzhihao opened this issue Mar 23, 2018 · 0 comments
Assignees
Milestone

Comments

@izhangzhihao
Copy link
Contributor

izhangzhihao commented Mar 23, 2018

At version 0.2.18 everything works well, but after upgrade to 0.3.0:

> gradle runide
Parallel execution is an incubating feature.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':runIde'.
> execCommand == null!

Error log in detail:

> gradle runide --info
Initialized native services in: /Users/zhazhang/.gradle/native
Found daemon DaemonInfo{pid=53722, address=[b17cd780-c8d2-45af-a8f3-c3335c26bf92 port:49205, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], state=Idle, lastBusy=1521787308911, context=DefaultDaemonContext[uid=aee00e6f-5bb5-4bb3-b9e6-f4a9a1655af8,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home,daemonRegistryDir=/Users/zhazhang/.gradle/daemon,pid=53722,idleTimeout=10800000,daemonOpts=-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=CN,-Duser.language=en,-Duser.variant]} however its context does not match the desired criteria.
At least one daemon option is different.
Wanted: DefaultDaemonContext[uid=null,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home,daemonRegistryDir=/Users/zhazhang/.gradle/daemon,pid=60251,idleTimeout=null,daemonOpts=-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]
Actual: DefaultDaemonContext[uid=aee00e6f-5bb5-4bb3-b9e6-f4a9a1655af8,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home,daemonRegistryDir=/Users/zhazhang/.gradle/daemon,pid=53722,idleTimeout=10800000,daemonOpts=-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=CN,-Duser.language=en,-Duser.variant]

  Looking for a different daemon...
The client will now receive all logging from the daemon (pid: 57442). The daemon log file: /Users/zhazhang/.gradle/daemon/4.6/daemon-57442.out.log
Starting 12th build in daemon [uptime: 17 mins 13.734 secs, performance: 100%, no major garbage collections]
Using 8 worker leases.
Starting Build
Settings evaluated using settings file '/Users/zhazhang/Downloads/intellij-rainbow-brackets/settings.gradle'.
Projects loaded. Root project using build file '/Users/zhazhang/Downloads/intellij-rainbow-brackets/build.gradle'.
Included projects: [root project 'intellij-rainbow-brackets']
Parallel execution is an incubating feature.

> Configure project : 
Evaluating root project 'intellij-rainbow-brackets' using build file '/Users/zhazhang/Downloads/intellij-rainbow-brackets/build.gradle'.
Configuring IntelliJ IDEA gradle plugin
Configuring patch plugin.xml task
Configuring prepare IntelliJ sandbox task
Configuring prepare IntelliJ sandbox task
Configuring plugin verification task
Configuring run IntelliJ task
Configuring building IntelliJ IDEA plugin task
Configuring publishing IntelliJ IDEA plugin task
Configuring IntelliJ resources task
Configuring IntelliJ compile tasks
Configuring IntelliJ IDEA dependency
Using IDE from remote repository
IntelliJ IDEA dependency cache directory: /Users/zhazhang/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIU/2017.2.7/1fb463c9e0d00c450faf532002dd62e8b5b8e253/ideaIU-2017.2.7
Adding IntelliJ IDEA sources repository
Configuring IntelliJ IDEA extra dependencies []
IntelliJ IDEA IU-172.4574.19 is used for building
Configuring IntelliJ IDEA plugin dependencies
Configuring IntelliJ plugin org.jetbrains.kotlin:1.2.30-release-IJ2017.2-1
Configuring IntelliJ plugin org.intellij.scala:2017.2.7
Configuring IntelliJ plugin JavaScriptLanguage
Looking for builtin JavaScriptLanguage in /Users/zhazhang/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIU/2017.2.7/1fb463c9e0d00c450faf532002dd62e8b5b8e253/ideaIU-2017.2.7
Configuring IntelliJ plugin CSS
Looking for builtin CSS in /Users/zhazhang/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIU/2017.2.7/1fb463c9e0d00c450faf532002dd62e8b5b8e253/ideaIU-2017.2.7
Configuring IntelliJ tests tasks

All projects evaluated.
Selected primary task 'runIde' from project :
Tasks to be executed: [task ':compileKotlin', task ':compileJava', task ':patchPluginXml', task ':processResources', task ':classes', task ':instrumentCode', task ':postInstrumentCode', task ':jar', task ':prepareSandbox', task ':runIde']
Invalidating in-memory cache of /Users/zhazhang/Downloads/intellij-rainbow-brackets/.gradle/buildOutputCleanup/outputFiles.bin
:compileKotlin (Thread[Task worker for ':',5,main]) started.

> Task :compileKotlin 
Deleting stale output file: /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/classes/kotlin/main
Task ':compileKotlin' is not up-to-date because:
  Output property 'destinationDir' file /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/classes/kotlin/main has been removed.
  Output property 'destinationDir' file /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/classes/kotlin/main/META-INF has been removed.
  Output property 'destinationDir' file /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/classes/kotlin/main/META-INF/intellij-rainbow-brackets.kotlin_module has been removed.
All input files are considered out-of-date for incremental task ':compileKotlin'.
Using Kotlin incremental compilation
Options for KOTLIN DAEMON: IncrementalCompilationOptions(super=CompilationOptions(compilerMode=INCREMENTAL_COMPILER, targetPlatform=JVM, reportCategories=[0], reportSeverity=2, requestedCompilationResults=[0]), areFileChangesKnown=false, modifiedFiles=null, deletedFiles=null, workingDir=/Users/zhazhang/Downloads/intellij-rainbow-brackets/build/kotlin/compileKotlin, customCacheVersionFileName='gradle-format-version.txt', customCacheVersion=4, resultDifferenceFile=/Users/zhazhang/Downloads/intellij-rainbow-brackets/build/kotlin/compileKotlin/build-history.bin, friendDifferenceFile=null, usePreciseJavaTracking=true)

:compileKotlin (Thread[Task worker for ':',5,main]) completed. Took 3.164 secs.
:compileJava (Thread[Task worker for ':',5,main]) started.

> Task :compileJava NO-SOURCE
Skipping task ':compileJava' as it has no source files and no previous output files.

:compileJava (Thread[Task worker for ':',5,main]) completed. Took 0.001 secs.
:patchPluginXml (Thread[Task worker for ':',5,main]) started.

> Task :patchPluginXml 
Deleting stale output file: /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/patchedPluginXmlFiles
Task ':patchPluginXml' is not up-to-date because:
  Output property 'destinationDir' file /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/patchedPluginXmlFiles has been removed.
  Output property 'destinationDir' file /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/patchedPluginXmlFiles/plugin.xml has been removed.

:patchPluginXml (Thread[Task worker for ':',5,main]) completed. Took 0.013 secs.
:processResources (Thread[Task worker for ':',5,main]) started.

> Task :processResources 
Deleting stale output file: /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/resources/main
Task ':processResources' is not up-to-date because:
  Output property 'destinationDir' file /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/resources/main has been removed.
  Output property 'destinationDir' file /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/resources/main/plugin.properties has been removed.
  Output property 'destinationDir' file /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/resources/main/META-INF has been removed.

:processResources (Thread[Task worker for ':',5,main]) completed. Took 0.01 secs.
:classes (Thread[Task worker for ':',5,main]) started.

> Task :classes 
Skipping task ':classes' as it has no actions.

:classes (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs.
:instrumentCode (Thread[Task worker for ':',5,main]) started.

> Task :instrumentCode 
Deleting stale output file: /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/classes/java/main-instrumented
Task ':instrumentCode' is not up-to-date because:
  Output property 'outputDir' file /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/classes/java/main-instrumented has been removed.
  Output property 'outputDir' file /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/classes/java/main-instrumented/META-INF has been removed.
  Output property 'outputDir' file /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/classes/java/main-instrumented/META-INF/intellij-rainbow-brackets.kotlin_module has been removed.
Compiling forms and instrumenting code with nullability preconditions
[ant:instrumentIdeaExtensions] Added @NotNull assertions to 0 files

:instrumentCode (Thread[Task worker for ':',5,main]) completed. Took 0.28 secs.
:postInstrumentCode (Thread[Task worker for ':',5,main]) started.

> Task :postInstrumentCode 
Task ':postInstrumentCode' is not up-to-date because:
  Task has not declared any outputs.

:postInstrumentCode (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs.
:jar (Thread[Task worker for ':',5,main]) started.

> Task :jar 
Deleting stale output file: /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/libs/intellij-rainbow-brackets.jar
Task ':jar' is not up-to-date because:
  Output property 'archivePath' file /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/libs/intellij-rainbow-brackets.jar has been removed.

:jar (Thread[Task worker for ':',5,main]) completed. Took 0.012 secs.
:prepareSandbox (Thread[Task worker for ':',5,main]) started.

> Task :prepareSandbox 
Task ':prepareSandbox' is not up-to-date because:
  Input property 'pluginJar' file /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/libs/intellij-rainbow-brackets.jar has changed.
  Input property 'rootSpec$1$1' file /Users/zhazhang/Downloads/intellij-rainbow-brackets/build/libs/intellij-rainbow-brackets.jar has changed.

:prepareSandbox (Thread[Task worker for ':',5,main]) completed. Took 1.447 secs.
:runIde (Thread[Task worker for ':',5,main]) started.

> Task :runIde FAILED
Task ':runIde' is not up-to-date because:
  Task.upToDateWhen is false.

:runIde (Thread[Task worker for ':',5,main]) completed. Took 1.648 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':runIde'.
> execCommand == null!

* Try:
Run with --stacktrace option to get the stack trace. Run with --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 9s
8 actionable tasks: 8 executed
@zolotov zolotov self-assigned this Mar 23, 2018
@zolotov zolotov modified the milestones: .0., 0.3.1 Mar 23, 2018
izhangzhihao added a commit to izhangzhihao/intellij-rainbow-brackets that referenced this issue Mar 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants