I've installed the last version of Goland recently, but it's nevermind, because this bug is reproducible on 2020* versions too. I enabled two file watchers - gofmt and goimports as usual and it worked perfectly until today. I don't know what happened. I just see
Running file watcher "go fmt" or Running file watcher "go imports" at the bottom of the IDE and they run forever. Here the output of the IDE cmd:
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2021-10-28 15:56:49,433 [ 2519] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: com.intellij]
2021-10-28 15:56:49,441 [ 2527] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: com.intellij]
2021-10-28 15:56:49,441 [ 2527] WARN - nSystem.impl.ActionManagerImpl - keymap "NetBeans 6.5" not found [Plugin: com.intellij]
2021-10-28 15:56:49,441 [ 2527] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: com.intellij]
2021-10-28 15:56:49,470 [ 2556] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: HtmlTools]
2021-10-28 15:56:49,932 [ 3018] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: org.jetbrains.plugins.github]
2021-10-28 15:56:49,956 [ 3042] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: JavaScript]
2021-10-28 15:56:49,956 [ 3042] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: JavaScript]
2021-10-28 15:56:49,984 [ 3070] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: PythonCore]
2021-10-28 15:56:49,985 [ 3071] WARN - nSystem.impl.ActionManagerImpl - keymap "NetBeans 6.5" not found [Plugin: PythonCore]
2021-10-28 15:56:53,197 [ 6283] WARN - com.intellij.util.xmlb.Binding - no accessors for com.intellij.execution.configuration.EnvironmentVariablesData
WARN - n.process.BaseOSProcessHandler - Process hasn't generated any output for a long time.
If it's a long-running mostly idle daemon process, consider overriding OSProcessHandler#readerOptions with 'BaseOutputReader.Options.forMostlySilentProcess()' to reduce CPU usage.
Command line: /usr/local/go/bin/gofmt
java.lang.Throwable: Process creation:
at com.intellij.execution.process.BaseOSProcessHandler.<init>(BaseOSProcessHandler.java:32)
at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:49)
at com.intellij.execution.process.CapturingProcessHandler.<init>(CapturingProcessHandler.java:24)
at com.intellij.execution.process.CapturingAnsiEscapesAwareProcessHandler.<init>(CapturingAnsiEscapesAwareProcessHandler.java:30)
at com.intellij.plugins.watcher.TaskRunnerImpl$1$1.run(TaskRunnerImpl.java:392)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:962)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:472)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:235)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:235)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
I event tried completely remove all files under ~/.config/JetBrains/GoLand* also with no success. Tried to remove .idea folder under project with the same result.
Use Linux Mint 20.2.
Related
I tried to deploy my Rails 6 app that's running stable on production (!) into a second new environment on elastic beanstalk (eb) and I cannot get it to run despite just copying the configuration from the first setup.
After researching all resources I could find for 2 days, I'm currently stuck with the following error compilation failed: webpack not installed:
-------------------------------------
/var/log/eb-activity.log
-------------------------------------
+++ export RUBY_VERSION=2.6.5
+++ RUBY_VERSION=2.6.5
+++ export GEM_ROOT=/opt/rubies/ruby-2.6.5/lib/ruby/gems/2.6.0
+++ GEM_ROOT=/opt/rubies/ruby-2.6.5/lib/ruby/gems/2.6.0
++ (( 0 != 0 ))
+ /opt/elasticbeanstalk/support/scripts/check-for-gem.rb puma
+ echo true
[2020-01-09T20:22:02.966Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/AppDeployPreHook] : Completed activity. Result:
Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
[2020-01-09T20:22:02.966Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild] : Starting activity...
[2020-01-09T20:22:10.381Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
[2020-01-09T20:22:10.462Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_0_XXX] : Starting activity...
[2020-01-09T20:22:23.059Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_0_XXX/Command 01_restart_nginx] : Starting activity...
[2020-01-09T20:22:24.293Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_0_XXX/Command 01_restart_nginx] : Completed activity. Result:
nginx: [warn] conflicting server name "_" on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name "localhost" on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name "localhost" on 0.0.0.0:80, ignored
Stopping nginx: [ OK ]
Starting nginx: nginx: [warn] conflicting server name "_" on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name "localhost" on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name "localhost" on 0.0.0.0:80, ignored
[ OK ]
[2020-01-09T20:22:24.293Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_0_XXX] : Completed activity.
[2020-01-09T20:22:24.375Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_1_XXX] : Starting activity...
[2020-01-09T20:22:37.045Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_1_XXX/Command 10_install_webpack] : Starting activity...
[2020-01-09T20:25:12.155Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_1_XXX/Command 10_install_webpack] : Completed activity. Result:
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#1.2.11 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents#1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ webpack#4.41.5
added 322 packages from 197 contributors and audited 4227 packages in 144.209s
3 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
[2020-01-09T20:25:13.256Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_1_XXX/Command 11_precompile] : Starting activity...
[2020-01-09T20:30:24.349Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_1_XXX/Command 11_precompile] : Activity execution failed, because: yarn install v1.21.1
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents#1.2.9: The platform "linux" is incompatible with this module.
info "fsevents#1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 162.47s.
yarn install v1.21.1
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents#1.2.9: The platform "linux" is incompatible with this module.
info "fsevents#1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 83.51s.
I, [2020-01-09T20:29:36.608192 #2970] INFO -- : Writing /var/app/ondeck/public/assets/manifest-cadda289ef9c70eaa0879a36e6263cb33f7523a16b3ef862e0b8609cdc2bdab1.js
I, [2020-01-09T20:29:36.609243 #2970] INFO -- : Writing /var/app/ondeck/public/assets/manifest-cadda289ef9c70eaa0879a36e6263cb33f7523a16b3ef862e0b8609cdc2bdab1.js.gz
I, [2020-01-09T20:29:36.609422 #2970] INFO -- : Writing /var/app/ondeck/public/assets/XXX-c0be3de839559053bb0a9486d5645ccba7a7452f6ef0370ee498e1fa59e364b2.png
I, [2020-01-09T20:29:36.609592 #2970] INFO -- : Writing /var/app/ondeck/public/assets/XXX-469a46bb9645a42d499c7f74ee69ffad4176e08c4373b6fe67a418e8289f3d83.png
I, [2020-01-09T20:29:36.609775 #2970] INFO -- : Writing /var/app/ondeck/public/assets/XXX-e57001fd85a8e1f4da2bb4bbd309a7d880a9d18e3447d743190ff9befb86413f.jpg
I, [2020-01-09T20:29:36.610062 #2970] INFO -- : Writing /var/app/ondeck/public/assets/application-e18be23bdc9236e71700193c31376705b918eab0738fdd68ef83e572da76c13d.css
I, [2020-01-09T20:29:36.610155 #2970] INFO -- : Writing /var/app/ondeck/public/assets/application-e18be23bdc9236e71700193c31376705b918eab0738fdd68ef83e572da76c13d.css.gz
I, [2020-01-09T20:29:36.610249 #2970] INFO -- : Writing /var/app/ondeck/public/assets/wall_street-e57001fd85a8e1f4da2bb4bbd309a7d880a9d18e3447d743190ff9befb86413f.jpg
I, [2020-01-09T20:29:36.610500 #2970] INFO -- : Writing /var/app/ondeck/public/assets/asset-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.css
I, [2020-01-09T20:29:36.610582 #2970] INFO -- : Writing /var/app/ondeck/public/assets/asset-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.css.gz
I, [2020-01-09T20:29:36.690087 #2970] INFO -- : Writing /var/app/ondeck/public/assets/XXX-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.css
I, [2020-01-09T20:29:36.690356 #2970] INFO -- : Writing /var/app/ondeck/public/assets/XXX-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.css.gz
I, [2020-01-09T20:29:36.690743 #2970] INFO -- : Writing /var/app/ondeck/public/assets/main-e18be23bdc9236e71700193c31376705b918eab0738fdd68ef83e572da76c13d.css
I, [2020-01-09T20:29:36.690957 #2970] INFO -- : Writing /var/app/ondeck/public/assets/main-e18be23bdc9236e71700193c31376705b918eab0738fdd68ef83e572da76c13d.css.gz
I, [2020-01-09T20:29:36.691548 #2970] INFO -- : Writing /var/app/ondeck/public/assets/round-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.css
I, [2020-01-09T20:29:36.772944 #2970] INFO -- : Writing /var/app/ondeck/public/assets/round-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.css.gz
Compiling...
Compilation failed:
webpack not installed
Install webpack to start bundling: [32m
$ npm install --save-dev webpack
(ElasticBeanstalk::ExternalInvocationError)
[2020-01-09T20:30:24.349Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_1_XXX/Command 11_precompile] : Activity failed.
[2020-01-09T20:30:24.349Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_1_XXX] : Activity failed.
[2020-01-09T20:30:24.349Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Activity failed.
[2020-01-09T20:30:25.008Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0/EbExtensionPostBuild] : Activity failed.
[2020-01-09T20:30:25.008Z] INFO [1508] - [Application update app-f4fb-200109_211455#11/AppDeployStage0] : Activity failed.
[2020-01-09T20:30:25.009Z] INFO [1508] - [Application update app-f4fb-200109_211455#11] : Completed activity. Result:
Application update - Command CMD-AppDeploy failed
[2020-01-09T20:36:59.175Z] INFO [5013] - [CMD-TailLogs] : Starting activity...
[2020-01-09T20:36:59.175Z] INFO [5013] - [CMD-TailLogs/AddonsBefore] : Starting activity...
[2020-01-09T20:36:59.175Z] INFO [5013] - [CMD-TailLogs/AddonsBefore] : Completed activity.
[2020-01-09T20:36:59.175Z] INFO [5013] - [CMD-TailLogs/TailLogs] : Starting activity...
[2020-01-09T20:36:59.175Z] INFO [5013] - [CMD-TailLogs/TailLogs/TailLogs] : Starting activity...
-------------------------------------
/var/log/eb-commandprocessor.log
-------------------------------------
[2020-01-09T20:15:53.363Z] DEBUG [1508] : Retrieving metadata for key: AWS::ElasticBeanstalk::Ext||_API||_Commands..
[2020-01-09T20:15:53.364Z] INFO [1508] : Found enabled addons: ["logpublish", "logstreaming"].
[2020-01-09T20:15:53.444Z] INFO [1508] : Updating Command definition of addon logpublish.
[2020-01-09T20:15:53.444Z] INFO [1508] : Updating Command definition of addon logstreaming.
[2020-01-09T20:15:53.444Z] DEBUG [1508] : Retrieving metadata for key: AWS::CloudFormation::Init||Infra-WriteApplication2||files..
[2020-01-09T20:15:53.445Z] DEBUG [1508] : Retrieving metadata for key: AWS::ElasticBeanstalk::Ext||ManifestFileS3Key..
[2020-01-09T20:15:56.071Z] INFO [1508] : Loading manifest from bucket 'elasticbeanstalk-eu-west-1-511205900284' using computed S3 key 'resources/environments/e-zcsy2pgich/_runtime/versions/manifest_1578600905237'.
[2020-01-09T20:15:56.520Z] INFO [1508] : Updated manifest cache: deployment ID 11 and serial 18.
[2020-01-09T20:15:56.520Z] DEBUG [1508] : Loaded definition of Command CMD-AppDeploy.
[2020-01-09T20:15:56.520Z] INFO [1508] : Executing Application update
[2020-01-09T20:15:56.520Z] INFO [1508] : Executing command: CMD-AppDeploy...
[2020-01-09T20:15:56.520Z] INFO [1508] : Executing command CMD-AppDeploy activities...
[2020-01-09T20:15:56.520Z] DEBUG [1508] : Setting environment variables..
[2020-01-09T20:15:56.520Z] INFO [1508] : Running AddonsBefore for command CMD-AppDeploy...
[2020-01-09T20:15:59.632Z] DEBUG [1508] : Running stages of Command CMD-AppDeploy from stage 0 to stage 1...
[2020-01-09T20:15:59.632Z] INFO [1508] : Running stage 0 of command CMD-AppDeploy...
[2020-01-09T20:15:59.632Z] INFO [1508] : Running leader election...
[2020-01-09T20:16:07.059Z] INFO [1508] : Instance is Leader.
[2020-01-09T20:16:07.059Z] DEBUG [1508] : Loaded 5 actions for stage 0.
[2020-01-09T20:16:07.059Z] INFO [1508] : Running 1 of 5 actions: DownloadSourceBundle...
[2020-01-09T20:16:14.038Z] INFO [1508] : Running 2 of 5 actions: EbExtensionPreBuild...
[2020-01-09T20:18:12.566Z] INFO [1508] : Running 3 of 5 actions: AppDeployPreHook...
[2020-01-09T20:22:02.966Z] INFO [1508] : Running 4 of 5 actions: EbExtensionPostBuild...
[2020-01-09T20:30:25.008Z] ERROR [1508] : Command execution failed: Activity failed. (ElasticBeanstalk::ActivityFatalError)
caused by: yarn install v1.21.1
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents#1.2.9: The platform "linux" is incompatible with this module.
info "fsevents#1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 162.47s.
yarn install v1.21.1
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents#1.2.9: The platform "linux" is incompatible with this module.
info "fsevents#1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 83.51s.
I, [2020-01-09T20:29:36.608192 #2970] INFO -- : Writing /var/app/ondeck/public/assets/manifest-cadda289ef9c70eaa0879a36e6263cb33f7523a16b3ef862e0b8609cdc2bdab1.js
I, [2020-01-09T20:29:36.609243 #2970] INFO -- : Writing /var/app/ondeck/public/assets/manifest-cadda289ef9c70eaa0879a36e6263cb33f7523a16b3ef862e0b8609cdc2bdab1.js.gz
I, [2020-01-09T20:29:36.609422 #2970] INFO -- : Writing /var/app/ondeck/public/assets/XXX-c0be3de839559053bb0a9486d5645ccba7a7452f6ef0370ee498e1fa59e364b2.png
I, [2020-01-09T20:29:36.609592 #2970] INFO -- : Writing /var/app/ondeck/public/assets/XXX-469a46bb9645a42d499c7f74ee69ffad4176e08c4373b6fe67a418e8289f3d83.png
I, [2020-01-09T20:29:36.609775 #2970] INFO -- : Writing /var/app/ondeck/public/assets/XXX-e57001fd85a8e1f4da2bb4bbd309a7d880a9d18e3447d743190ff9befb86413f.jpg
I, [2020-01-09T20:29:36.610062 #2970] INFO -- : Writing /var/app/ondeck/public/assets/application-e18be23bdc9236e71700193c31376705b918eab0738fdd68ef83e572da76c13d.css
I, [2020-01-09T20:29:36.610155 #2970] INFO -- : Writing /var/app/ondeck/public/assets/application-e18be23bdc9236e71700193c31376705b918eab0738fdd68ef83e572da76c13d.css.gz
I, [2020-01-09T20:29:36.610249 #2970] INFO -- : Writing /var/app/ondeck/public/assets/XXX-e57001fd85a8e1f4da2bb4bbd309a7d880a9d18e3447d743190ff9befb86413f.jpg
I, [2020-01-09T20:29:36.610500 #2970] INFO -- : Writing /var/app/ondeck/public/assets/asset-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.css
I, [2020-01-09T20:29:36.610582 #2970] INFO -- : Writing /var/app/ondeck/public/assets/asset-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.css.gz
I, [2020-01-09T20:29:36.690087 #2970] INFO -- : Writing /var/app/ondeck/public/assets/XXX-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.css
I, [2020-01-09T20:29:36.690356 #2970] INFO -- : Writing /var/app/ondeck/public/assets/XXX-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.css.gz
I, [2020-01-09T20:29:36.690743 #2970] INFO -- : Writing /var/app/ondeck/public/assets/main-e18be23bdc9236e71700193c31376705b918eab0738fdd68ef83e572da76c13d.css
I, [2020-01-09T20:29:36.690957 #2970] INFO -- : Writing /var/app/ondeck/public/assets/main-e18be23bdc9236e71700193c31376705b918eab0738fdd68ef83e572da76c13d.css.gz
I, [2020-01-09T20:29:36.691548 #2970] INFO -- : Writing /var/app/ondeck/public/assets/round-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.css
I, [2020-01-09T20:29:36.772944 #2970] INFO -- : Writing /var/app/ondeck/public/assets/round-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.css.gz
Compiling...
Compilation failed:
webpack not installed
Install webpack to start bundling: [32m
$ npm install --save-dev webpack
(ElasticBeanstalk::ExternalInvocationError)
[2020-01-09T20:30:25.009Z] ERROR [1508] : Command CMD-AppDeploy failed!
[2020-01-09T20:30:25.086Z] INFO [1508] : Command processor returning results:
{"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"(TRUNCATED)...NFO -- : Writing /var/app/ondeck/public/assets/round-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.css.gz\nCompiling...\nCompilation failed:\n\nwebpack not installed\n\nInstall webpack to start bundling: \u001b[32m\n$ npm install --save-dev webpack. \ncontainer_command 11_precompile in .ebextensions/yarn.config failed. For more detail, check /var/log/eb-activity.log using console or EB CLI","returncode":1,"events":[]}],"truncated":"true"}
Logically, I tried to install webpack again and again which should be normally already be done through the ebextensions file yarn.config:
commands:
# 01_remove_clean_and_install_latest_nodejs:
# run this command from /tmp directory
# cwd: /tmp
# test: '[ -f /usr/bin/node ] && echo "remove previous node"'
# command: 'sudo yum remove -y nodejs | sudo rm /etc/yum.repos.d/nodesource*'
02_node_get:
# run this command from /tmp directory
cwd: /tmp
# flag -y for no-interaction installation
command: 'sudo curl --silent --location https://rpm.nodesource.com/setup_13.x | sudo bash -'
03_node_install:
# run this command from /tmp directory
cwd: /tmp
command: 'sudo yum -y install nodejs'
04_yarn_get:
# run this command from /tmp directory
cwd: /tmp
# don't run the command if yarn is already installed (file /usr/bin/yarn exists)
test: '[ ! -f /usr/bin/yarn ] && echo "yarn not installed"'
command: 'sudo wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo'
05_yarn_install:
# run this command from /tmp directory
cwd: /tmp
test: '[ ! -f /usr/bin/yarn ] && echo "yarn not installed"'
command: 'sudo yum -y install yarn'
06_mkdir_webapp_dir:
command: mkdir /home/webapp
ignoreErrors: true
07_chown_webapp_dir:
command: chown webapp:webapp /home/webapp
ignoreErrors: true
08_chmod_webapp_dir:
command: chmod 700 /home/webapp
ignoreErrors: true
09_update_bundler:
command: gem update bundler
ignoreErrors: true
container_commands:
10_install_webpack:
command: "sudo npm install --save-dev webpack"
11_precompile:
command: "bundle exec rake assets:precompile"
My other settings are RAILS_SKIP_ASSET_COMPILATION=true in eb
I tried installing webpack manually after ssh-ing into the machine via npm and yarn, with and without sudo, but nothing worked...
Each eb deploy takes roughly 20 mins and then times out into a "severe" state with the above error.
Edit
For some weird reason I got it to work now by running bundle exec rails webpacker:install in addition to having it in the Gemfile. Still not comfortable with the setup, but at least it's working for now
Update: We had two elasticsearch gems that were not being installed during bundle install but removing them from our gemfile allowed the deployment to go through. We noticed the issue locally as well with a bundle install that hung on "resolving dependencies" for about 4 hours, which is roughly how long it took our deployment to successfully go through. I'd start checking gems.
I'm not sure if this is related, but we have an open case with AWS support currently over a similar issue where deployments seemingly fail after hanging on some of AWS's own PreDeploy hook scripts (namely one that checks for Puma). We have been unable to successfully clone or deploy known working app code bundles to any new or existing instances. The issue started on the 7th of January, 2019.
AWS has since confirmed that the issue is on their end, but we have no remedy yet.
Sidenote: Code eventually will deploy after about 4 hours, but the instances all show degraded or error.
If we take a line with an assignment value -
test = ${var.domain}
And then put the cursor before the equals sign and press the tab button, rather than tabbing the equals sign across the line, it pulls "test" with it across the line.
What is the fix for this?
Here is a copy of the startup log
I'm unable to see anything obvious in the log.
2019-10-10 14:10:25,899 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2019-10-10 14:10:26,036 [ 137] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-192.5728.98, 23 Jul 2019 07:11)
2019-10-10 14:10:26,106 [ 207] INFO - #com.intellij.idea.Main - OS: Windows Server 2016 (10.0, amd64)
2019-10-10 14:10:26,106 [ 207] INFO - #com.intellij.idea.Main - JRE: 11.0.3+12-b304.10 (JetBrains s.r.o)
2019-10-10 14:10:26,106 [ 207] INFO - #com.intellij.idea.Main - JVM: 11.0.3+12-b304.10 (OpenJDK 64-Bit Server VM)
2019-10-10 14:10:26,112 [ 213] INFO - #com.intellij.idea.Main - JVM Args: exit -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -Dsun.io.useCanonPrefixCache=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf -Djb.vmOptionsFile=D:\Users\Me\.IdeaIC2019.2\config\idea64.exe.vmoptions -Djava.library.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2019.2\jbr\\bin;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2019.2\jbr\\bin\server -Didea.platform.prefix=Idea -Didea.jre.check=true -Dide.native.launcher=true -Didea.paths.selector=IdeaIC2019.2 -XX:ErrorFile=D:\Users\Me\java_error_in_idea_%p.log -XX:HeapDumpPath=D:\Users\Me\java_error_in_idea.hprof
2019-10-10 14:10:26,113 [ 214] INFO - #com.intellij.idea.Main - charsets: JNU=Cp1252 file=Cp1252
2019-10-10 14:10:26,167 [ 268] INFO - tellij.diagnostic.LoadingPhase - Reached SPLASH loading phase
2019-10-10 14:10:26,237 [ 338] INFO - plication.impl.ApplicationImpl - CPU cores: 2; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool#3bb746f4[Running, parallelism = 2, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory#3966e951
2019-10-10 14:10:27,618 [ 1719] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor duplicates-groovy.xml
2019-10-10 14:10:27,619 [ 1720] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor duplicates-detection-groovy.xml
2019-10-10 14:10:28,365 [ 2466] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor profiler-java.xml
2019-10-10 14:10:28,524 [ 2625] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 2503 ms
2019-10-10 14:10:28,527 [ 2628] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2019-10-10 14:10:28,818 [ 2919] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android Support (10.3.3), Ant (192.5728.98), Bytecode Viewer (192.5728.98), ChangeReminder (192.5728.98), Configuration Script (192.5728.98), Copyright (192.5728.98), Coverage (192.5728.98), Eclipse Interoperability (192.5728.98), EditorConfig (192.5728.98), Git (192.5728.98), GitHub (192.5728.98), Gradle (192.5728.98), Gradle-Maven (192.5728.98), Groovy (192.5728.98), IDEA CORE (192.5728.98), IntelliLang (192.5728.98), JUnit (192.5728.98), Java (192.5728.98), Java Bytecode Decompiler (192.5728.98), Java IDE Customization (192.5728.98), Java Internationalization (192.5728.98), Java Stream Debugger (192.5728.98), JavaFX (192.5728.98), Kotlin (1.3.41-release-IJ2019.2-1), Markdown (192.5728.98), Maven (192.5728.98), Mercurial (192.5728.98), Plugin DevKit (192.5728.98), Properties (192.5728.98), Settings Repository (192.5728.98), Shell Script (192.5728.98), Smali Support (192.5728.98), Subversion (192.5728.98), Task Management (192.5728.98), Terminal (192.5728.98), TestNG (192.5728.98), TextMate bundles (192.5728.98), UI Designer (192.5728.98), XPathView + XSLT (192.5728.98), XSLT Debugger (192.5728.98), YAML (192.5728.98)
2019-10-10 14:10:28,818 [ 2919] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: ANSI Highlighter (1.2.4), AWS Toolkit (1.6), Catdea (1.1.2), HashiCorp Terraform / HCL language support (0.7.7)
2019-10-10 14:10:31,249 [ 5350] INFO - tellij.diagnostic.LoadingPhase - Reached CONFIGURATION_STORE_INITIALIZED loading phase
2019-10-10 14:10:31,354 [ 5455] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=713
2019-10-10 14:10:31,769 [ 5870] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2019.2\bin\fsnotifier64.exe
2019-10-10 14:10:31,849 [ 5950] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2019-10-10 14:10:34,937 [ 9038] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2019-10-10 14:10:34,999 [ 9100] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2019-10-10 14:10:35,693 [ 9794] INFO - il.indexing.FileBasedIndexImpl - File index extensions iterated:189
2019-10-10 14:10:36,944 [ 11045] INFO - ts.jetbrains.core.AwsSdkClient - Create new Apache client
2019-10-10 14:10:38,104 [ 12205] INFO - pl$FileIndexDataInitialization - Initialization done:2600
2019-10-10 14:10:38,505 [ 12606] INFO - exImpl$StubIndexInitialization - Initialization done:400
2019-10-10 14:10:38,523 [ 12624] INFO - tellij.diagnostic.LoadingPhase - Reached FRAME_SHOWN loading phase
2019-10-10 14:10:38,866 [ 12967] INFO - j.ide.ui.OptionsTopHitProvider - 879 ms spent to cache options in application
2019-10-10 14:10:41,997 [ 16098] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [D:/Users/Me/Documents/ide-my-lab]
2019-10-10 14:10:42,856 [ 16957] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=13, fontScale=1.0; restored: fontSize=13, fontScale=1.0
2019-10-10 14:10:44,413 [ 18514] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2019-10-10 14:10:48,394 [ 22495] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 1292ms; general responsiveness: 1/1 sluggish; EDT responsiveness: ok
2019-10-10 14:10:49,010 [ 23111] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 590ms; general responsiveness: ok; EDT responsiveness: 0/1 sluggish, 1/1 very slow
2019-10-10 14:10:49,011 [ 23112] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 8 files to update
2019-10-10 14:10:52,500 [ 26601] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 3489ms; general responsiveness: 2/4 sluggish; EDT responsiveness: 1/2 sluggish, 1/2 very slow
2019-10-10 14:10:53,521 [ 27622] INFO - plication.impl.ApplicationImpl - LONG VFS PROCESSING. Topic=NewVirtualFileSystem changes, offender=class com.intellij.psi.impl.file.impl.PsiVFSListener$2, message=after, time=129ms
2019-10-10 14:10:55,211 [ 29312] INFO - ge.ExternalProjectsDataStorage - Load external projects data in 11 millis (read time: 0)
2019-10-10 14:10:55,481 [ 29582] WARN - com.intellij.util.xmlb.Binding - no accessors for class org.jetbrains.kotlin.idea.highlighter.KotlinDefaultHighlightingSettingsProvider
2019-10-10 14:10:57,201 [ 31302] INFO - j.ide.ui.OptionsTopHitProvider - 4033 ms spent to cache options in project
2019-10-10 14:10:57,600 [ 31701] INFO - ntials.profiles.ProfileWatcher - Watching D:\Users\Me\.aws for file changes
2019-10-10 14:10:57,601 [ 31702] INFO - ntials.profiles.ProfileWatcher - Watching D:\Users\Me\.aws for file changes
2019-10-10 14:10:58,743 [ 32844] INFO - tartup.impl.StartupManagerImpl - Some post-startup activities freeze UI for noticeable time. Please consider making them DumbAware to run them in background under modal progress, or just making them faster to speed up project opening.
2019-10-10 14:10:58,863 [ 32964] WARN - lkitCredentialsProviderFactory - Failed to load AWS profiles
java.lang.IllegalArgumentException: Profile 'default' is missing required property aws_access_key_id
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProvider$requiredProperty$2.get(ProfileToolkitCredentialsProvider.kt:215)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProvider$requiredProperty$2.get(ProfileToolkitCredentialsProvider.kt:43)
at java.base/java.util.Optional.orElseThrow(Optional.java:408)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProvider.requiredProperty(ProfileToolkitCredentialsProvider.kt:214)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProvider.requiredProperty$default(ProfileToolkitCredentialsProvider.kt:209)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProvider.createInternalCredentialProvider(ProfileToolkitCredentialsProvider.kt:135)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProvider.<init>(ProfileToolkitCredentialsProvider.kt:50)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProviderFactory$loadFromProfileFile$$inlined$map$lambda$1.invoke(ProfileToolkitCredentialsProviderFactory.kt:77)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProviderFactory$loadFromProfileFile$$inlined$map$lambda$1.invoke(ProfileToolkitCredentialsProviderFactory.kt:23)
at software.aws.toolkits.core.utils.LogUtilsKt.tryOrThrowNullable(LogUtils.kt:44)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProviderFactory.loadFromProfileFile(ProfileToolkitCredentialsProviderFactory.kt:70)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProviderFactory.<init>(ProfileToolkitCredentialsProviderFactory.kt:32)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileCredentialProviderFactory.createToolkitCredentialProviderFactory(ProfileCredentialProviderFactory.kt:14)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileCredentialProviderFactory.createToolkitCredentialProviderFactory(ProfileCredentialProviderFactory.kt:13)
at software.aws.toolkits.jetbrains.core.credentials.ExtensionPointCredentialsProviderRegistry.listFactories(ExtensionPointCredentialsProviderRegistry.kt:44)
at software.aws.toolkits.jetbrains.core.credentials.ExtensionPointCredentialsProviderRegistry.listFactories(ExtensionPointCredentialsProviderRegistry.kt:37)
at software.aws.toolkits.core.credentials.DefaultToolkitCredentialsProviderManager.reloadFactories(ToolkitCredentialsProviderManager.kt:85)
at software.aws.toolkits.core.credentials.DefaultToolkitCredentialsProviderManager.<init>(ToolkitCredentialsProviderManager.kt:42)
at software.aws.toolkits.jetbrains.core.credentials.DefaultCredentialManager.<init>(CredentialManager.kt:41)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:88)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:66)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:48)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.createAndInitialize(ServiceManagerImpl.java:243)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.lambda$getComponentInstance$0(ServiceManagerImpl.java:232)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:192)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getComponentInstance(ServiceManagerImpl.java:231)
at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:246)
at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:213)
at com.intellij.openapi.components.ServiceManager.doGetService(ServiceManager.java:75)
at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:44)
at software.aws.toolkits.jetbrains.core.credentials.CredentialManager$Companion.getInstance(CredentialManager.kt:27)
at software.aws.toolkits.jetbrains.core.credentials.DefaultProjectAccountSettingsManager.<init>(ProjectAccountSettingsManager.kt:126)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:88)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:66)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:48)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.createAndInitialize(ServiceManagerImpl.java:243)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.lambda$getComponentInstance$0(ServiceManagerImpl.java:232)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:197)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getComponentInstance(ServiceManagerImpl.java:231)
at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:246)
at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:213)
at com.intellij.openapi.components.ServiceManager.doGetService(ServiceManager.java:75)
at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:49)
at software.aws.toolkits.jetbrains.core.credentials.ProjectAccountSettingsManager$Companion.getInstance(ProjectAccountSettingsManager.kt:103)
at software.aws.toolkits.jetbrains.core.AwsSettingsPanel.<init>(AwsSettingsPanel.kt:53)
at software.aws.toolkits.jetbrains.core.AwsSettingsPanelInstaller.runActivity(AwsSettingsPanel.kt:46)
at com.intellij.ide.startup.impl.StartupManagerImpl.runActivity(StartupManagerImpl.java:205)
at com.intellij.ide.startup.impl.StartupManagerImpl.lambda$runPostStartupActivitiesFromExtensions$2(StartupManagerImpl.java:172)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processWithPluginDescriptor(ExtensionPointImpl.java:321)
at com.intellij.openapi.extensions.ExtensionPointName.processWithPluginDescriptor(ExtensionPointName.java:140)
at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivitiesFromExtensions(StartupManagerImpl.java:170)
at com.intellij.openapi.project.impl.ProjectManagerImpl.lambda$null$8(ProjectManagerImpl.java:407)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadProjectUnderProgress(ProjectManagerImpl.java:471)
at com.intellij.openapi.project.impl.ProjectManagerImpl.lambda$openProject$9(ProjectManagerImpl.java:394)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:439)
at com.intellij.platform.PlatformProjectOpenProcessor.prepareAndOpenProject(PlatformProjectOpenProcessor.java:272)
at com.intellij.platform.PlatformProjectOpenProcessor.lambda$doOpenProject$0(PlatformProjectOpenProcessor.java:198)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:253)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:894)
at com.intellij.openapi.progress.impl.CoreProgressManager$5.run(CoreProgressManager.java:447)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$null$9(ApplicationImpl.java:552)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:294)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
2019-10-10 14:10:58,897 [ 32998] INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 12332ms; general responsiveness: 5/12 sluggish; EDT responsiveness: 4/12 sluggish, 7/12 very slow
2019-10-10 14:11:00,335 [ 34436] INFO - tartup.impl.StartupManagerImpl - D:/Users/Me/Documents/ide-my-lab/.idea case-sensitivity: expected=false actual=false
2019-10-10 14:11:00,395 [ 34496] INFO - tellij.diagnostic.LoadingPhase - Reached PROJECT_OPENED loading phase
2019-10-10 14:11:00,414 [ 34515] INFO - #git4idea.commands.GitHandler - [.] git version
2019-10-10 14:11:01,674 [ 35775] INFO - #git4idea.commands.GitHandler - git version 2.21.0.windows.1
2019-10-10 14:11:01,936 [ 36037] INFO - tor.impl.FileEditorManagerImpl - Project opening took 21731 ms
2019-10-10 14:11:02,169 [ 36270] INFO - pl.ProjectRootManagerComponent - project roots have changed
2019-10-10 14:11:02,969 [ 37070] INFO - ea.config.GitExecutableManager - Git version for C:\Program Files\Git\cmd\git.exe : 2.21.0
2019-10-10 14:11:02,992 [ 37093] INFO - CompilerWorkspaceConfiguration - Available processors: 2
2019-10-10 14:11:04,666 [ 38767] INFO - s.roots.VcsRootProblemNotifier - Auto-registered following mappings: []
2019-10-10 14:11:05,395 [ 39496] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 311ms; general responsiveness: ok; EDT responsiveness: ok
2019-10-10 14:11:05,609 [ 39710] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 193ms; general responsiveness: ok; EDT responsiveness: ok
2019-10-10 14:11:06,304 [ 40405] INFO - tellij.diagnostic.LoadingPhase - Reached INDEXING_FINISHED loading phase
2019-10-10 14:11:07,611 [ 41712] WARN - gnostic.WindowsDefenderChecker - wmic Windows Defender check exited with status -2147217406: ERROR:
Description = Not found
2019-10-10 14:11:08,020 [ 42121] INFO - ings.impl.UpdateCheckerService - channel: release
2019-10-10 14:11:26,885 [ 60986] INFO - #git4idea.log.GitLogProvider - Fresh repository: file://D:/Users/Me/Documents/ide-my-lab
2019-10-10 14:12:04,556 [ 98657] INFO - rationStore.ComponentStoreImpl - Saving appCodeFoldingSettings took 49 ms, DiffSettings took 582 ms, FileTypeManager took 87 ms, TextMateSettings took 18 ms
2019-10-10 14:12:06,781 [ 100882] INFO - rationStore.ComponentStoreImpl - Saving Project 'D:\Users\Me\Documents\ide-my-lab' ide-my-labCompilerConfiguration took 13 ms
2019-10-10 14:12:06,782 [ 100883] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 3135 ms
The fix for this random issue was to reset the key mappings back to their defaults.
File > Settings > Keymap > choose the default from the dropline list for your OS. In my case it was "Default for Windows"
Happy coding!
I'm trying to create a theme plugin for IntelliJ. I created a plugin project using the template and then try to run the plugin. A new instance of IntelliJ starts and I can open or create a new project. After that all windows closes and I can see this in the log:
/Library/Java/JavaVirtualMachines/openjdk-13.jdk/Contents/Home/bin/java
-Xmx512m -Xms256m -ea -Didea.config.path=/Users/magnus/Library/Caches/IntelliJIdea2019.2/plugins-sandbox/config
-Didea.system.path=/Users/magnus/Library/Caches/IntelliJIdea2019.2/plugins-sandbox/system
-Didea.plugins.path=/Users/magnus/Library/Caches/IntelliJIdea2019.2/plugins-sandbox/plugins
-Didea.classpath.index.enabled=false -Didea.required.plugins.id=com.magnusottosson.theme.snazzy -Didea.smooth.progress=false -Dapple.laf.useScreenMenuBar=true -Dapple.awt.fileDialogForDirectories=true "-javaagent:/Applications/IntelliJ
IDEA.app/Contents/lib/idea_rt.jar=61675:/Applications/IntelliJ
IDEA.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath
"/Library/Java/JavaVirtualMachines/openjdk-13.jdk/Contents/Home/lib/tools.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/log4j.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/jdom.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/trove4j.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/openapi.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/util.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/extensions.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/bootstrap.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/idea.jar" com.intellij.idea.Main WARNING: An
illegal reflective access operation has occurred WARNING: Illegal
reflective access by com.intellij.ide.ClassUtilCore to field
sun.net.www.protocol.jar.JarFileFactory.fileCache WARNING: Please
consider reporting this to the maintainers of
com.intellij.ide.ClassUtilCore WARNING: Use --illegal-access=warn to
enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future
release 2019-10-13 21:13:37,271 [ 1920] WARN -
i.mac.MacOSApplicationProvider - com/apple/eawt/AboutHandler
java.lang.NoClassDefFoundError: com/apple/eawt/AboutHandler at
com.intellij.ui.mac.MacOSApplicationProvider$Worker.initMacApplication(MacOSApplicationProvider.java:58)
... Caused by: java.lang.ClassNotFoundException:
com.apple.eawt.AboutHandler at
com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:282)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 17 more 2019-10-13 21:13:40,875 [ 5524] WARN -
s.impl.EditorColorsManagerImpl - Cannot find scheme: VibrantInk from
plugin: com.intellij.database 2019-10-13 21:13:40,876 [ 5525]
WARN - s.impl.EditorColorsManagerImpl - Cannot find scheme: WarmNeon
from plugin: com.intellij.database 2019-10-13 21:13:40,876 [ 5525]
WARN - s.impl.EditorColorsManagerImpl - Cannot find scheme: High
сontrast from plugin: com.intellij.database 2019-10-13 21:19:13,656 [
338305] ERROR - .impl.MessageBusConnectionImpl -
com/apple/eawt/OpenURIHandler java.lang.NoClassDefFoundError:
com/apple/eawt/OpenURIHandler at
com.intellij.openapi.wm.impl.IdeFrameDecorator.decorate(IdeFrameDecorator.java:43)
... Caused by: java.lang.ClassNotFoundException:
com.apple.eawt.OpenURIHandler at
com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:282)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 136 more 2019-10-13 21:19:13,658 [ 338307] ERROR -
.impl.MessageBusConnectionImpl - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:13,659 [ 338308] ERROR - .impl.MessageBusConnectionImpl - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:13,659 [ 338308]
ERROR - .impl.MessageBusConnectionImpl - OS: Mac OS X 2019-10-13
21:19:13,663 [ 338312] ERROR - .impl.MessageBusConnectionImpl - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:13,966 [ 338615]
ERROR - tartup.impl.StartupManagerImpl - com/apple/eawt/OpenURIHandler
java.lang.NoClassDefFoundError: com/apple/eawt/OpenURIHandler at
com.intellij.openapi.wm.impl.IdeFrameDecorator.decorate(IdeFrameDecorator.java:43)
... Caused by: java.lang.ClassNotFoundException:
com.apple.eawt.OpenURIHandler at
com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:282)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 132 more 2019-10-13 21:19:13,968 [ 338617] ERROR -
tartup.impl.StartupManagerImpl - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:13,968 [ 338617] ERROR - tartup.impl.StartupManagerImpl - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:13,968 [ 338617]
ERROR - tartup.impl.StartupManagerImpl - OS: Mac OS X 2019-10-13
21:19:13,969 [ 338618] ERROR - tartup.impl.StartupManagerImpl - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:14,024 [ 338673]
ERROR - tartup.impl.StartupManagerImpl - null
java.lang.NullPointerException at
com.intellij.openapi.wm.impl.ToolWindowManagerImpl.appendUpdateToolWindowsPaneCmd(ToolWindowManagerImpl.java:1722)
... 2019-10-13 21:19:14,025 [ 338674] ERROR -
tartup.impl.StartupManagerImpl - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:14,027 [ 338676] ERROR - tartup.impl.StartupManagerImpl - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:14,027 [ 338676]
ERROR - tartup.impl.StartupManagerImpl - OS: Mac OS X 2019-10-13
21:19:14,028 [ 338677] ERROR - tartup.impl.StartupManagerImpl - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:14,178 [ 338827]
ERROR - llij.ide.plugins.PluginManager - null
java.lang.NullPointerException at
com.intellij.codeInsight.daemon.impl.DaemonListeners$MyProfileChangeListener.lambda$profilesInitialized$0(DaemonListeners.java:524)
... 2019-10-13 21:19:14,180 [ 338829] ERROR -
llij.ide.plugins.PluginManager - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:14,181 [ 338830] ERROR - llij.ide.plugins.PluginManager - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:14,181 [ 338830]
ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X 2019-10-13
21:19:14,181 [ 338830] ERROR - llij.ide.plugins.PluginManager - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:14,935 [ 339584]
ERROR - tartup.impl.StartupManagerImpl - null
java.lang.NullPointerException at
com.intellij.cloudConfig.StatusBarInfoManager$MyStartupActivity.runActivity(StatusBarInfoManager.java:74)
... 2019-10-13 21:19:14,936 [ 339585] ERROR -
tartup.impl.StartupManagerImpl - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:14,936 [ 339585] ERROR - tartup.impl.StartupManagerImpl - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:14,936 [ 339585]
ERROR - tartup.impl.StartupManagerImpl - OS: Mac OS X 2019-10-13
21:19:14,936 [ 339585] ERROR - tartup.impl.StartupManagerImpl - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:15,023 [ 339672]
ERROR - leEditor.impl.EditorsSplitters - Assertion failed
java.lang.Throwable: Assertion failed at
com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:180)
... 2019-10-13 21:19:15,024 [ 339673] ERROR -
leEditor.impl.EditorsSplitters - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:15,024 [ 339673] ERROR - leEditor.impl.EditorsSplitters - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:15,024 [ 339673]
ERROR - leEditor.impl.EditorsSplitters - OS: Mac OS X 2019-10-13
21:19:15,024 [ 339673] ERROR - leEditor.impl.EditorsSplitters - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:15,112 [ 339761]
ERROR - tartup.impl.StartupManagerImpl - com/apple/eawt/OpenURIHandler
java.lang.NoClassDefFoundError: com/apple/eawt/OpenURIHandler at
com.intellij.openapi.wm.impl.IdeFrameDecorator.decorate(IdeFrameDecorator.java:43)
... Caused by: java.lang.ClassNotFoundException:
com.apple.eawt.OpenURIHandler at
com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:282)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 34 more 2019-10-13 21:19:15,113 [ 339762] ERROR -
tartup.impl.StartupManagerImpl - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:15,113 [ 339762] ERROR - tartup.impl.StartupManagerImpl - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:15,113 [ 339762]
ERROR - tartup.impl.StartupManagerImpl - OS: Mac OS X 2019-10-13
21:19:15,114 [ 339763] ERROR - tartup.impl.StartupManagerImpl - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:15,313 [ 339962]
ERROR - leEditor.impl.EditorsSplitters - Assertion failed
java.lang.Throwable: Assertion failed at
com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:180)
... 2019-10-13 21:19:15,313 [ 339962] ERROR -
leEditor.impl.EditorsSplitters - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:15,313 [ 339962] ERROR - leEditor.impl.EditorsSplitters - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:15,314 [ 339963]
ERROR - leEditor.impl.EditorsSplitters - OS: Mac OS X 2019-10-13
21:19:15,314 [ 339963] ERROR - leEditor.impl.EditorsSplitters - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:20,161 [ 344810]
WARN - .intellij.diagnostic.VMOptions - VM options file not configured
Found the problem! I could use the SDK shipped with IntelliJ but I had to change the Internal Java Platform from 13 to 11 at File -> Project Structure -> SDK ->IntelliJ IDEA IU-192.6817.14
I was having an issue starting Intellij Idea CE on my MacBook Pro. The error message is:
…/Contents/bin /Applications/IntelliJ\ IDEA\ CE.app/Contents/MacOS/idea
2019-05-20 22:12:32.647 idea[5029:86633] allVms required 1.8*,1.8+
2019-05-20 22:12:32.651 idea[5029:86638] Value of IDEA_VM_OPTIONS is (null)
2019-05-20 22:12:32.652 idea[5029:86638] Processing VMOptions file at /Users/pengxiao/Library/Preferences/IdeaIC2019.1/idea.vmoptions
2019-05-20 22:12:32.652 idea[5029:86638] Done
-Xms128m
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Error occurred during initialization of VM
Could not find agent library yjpagent on the library path, with error: dlopen(libyjpagent.dylib, 1): image not found
I finally found the cause was the idea.vmoptions file. The content of the file was:
…/Contents/bin $ cat ~/Library/Preferences/IdeaIC2019.1/idea.vmoptions
-Xms128m
-Xmx750m
-XX:ReservedCodeCacheSize=240m
-XX:+UseCompressedOops
-Dfile.encoding=UTF-8
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-XX:MaxJavaStackTraceDepth=10000
-Xverify:none
-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
-Xbootclasspath/a:../lib/boot.jar
-agentlib:yjpagent=probe_disable=*,disablealloc,disabletracing,onlylocal,disableexceptiontelemetry,delay=10000,sessionname=IntelliJIdea2017.2%
I believe it the last line of that file that has caused the issue. After I removed the file, I can start Idea without any issues.
I tryed a very simple plugin (with just an AnAction), and when I run or deploy it the result is:
On PyCharm SDK: The plugin is disabled.
On Intellij Community Edition: it works as expected
PyCharm is my primary target, so I need it to works, but have no clue to debug it. I just see this in the logs of PyCharm, which show my plugin was indeed disabled:
2015-03-11 11:34:19,911 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2015-03-11 11:34:19,923 [ 12] INFO - #com.intellij.idea.Main - IDE: PyCharm Community Edition (build #PC-139.1001, 07 Jan 2015 00:00)
2015-03-11 11:34:19,923 [ 12] INFO - #com.intellij.idea.Main - OS: Linux (3.11.10-25-desktop, amd64)
2015-03-11 11:34:19,923 [ 12] INFO - #com.intellij.idea.Main - JRE: 1.7.0_71-b14 (Oracle Corporation)
2015-03-11 11:34:19,923 [ 12] INFO - #com.intellij.idea.Main - JVM: 24.71-b01 (Java HotSpot(TM) 64-Bit Server VM)
2015-03-11 11:34:19,925 [ 14] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=225m -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djsse.enableSNIExtension=false -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -Dawt.useSystemAAFontSettings=lcd -Djb.vmOptionsFile=/home/b/tools/pycharm-community-4.0.4/bin/pycharm64.vmoptions -XX:ErrorFile=/home/b/java_error_in_PYCHARM_%p.log -Xbootclasspath/a:/home/b/tools/pycharm-community-4.0.4/bin/../lib/boot.jar -Didea.paths.selector=PyCharm40 -Didea.platform.prefix=PyCharmCore -Didea.no.jre.check=true -Djb.restart.code=88
2015-03-11 11:34:19,951 [ 40] INFO - #com.intellij.idea.Main - JNA library loaded (64-bit) in 26 ms
2015-03-11 11:34:20,148 [ 237] INFO - .intellij.idea.IdeaApplication - WM detected: KWin
2015-03-11 11:34:21,047 [ 1136] INFO - llij.ide.plugins.PluginManager - 13 plugins initialized in 751 ms
2015-03-11 11:34:21,047 [ 1136] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: CVS Integration (11), Git Integration (8.1), GitHub, IDEA CORE, IPython Notebook (0.1), Python ReStructureText Integration (VERSION), ReStructuredText Support (136.SNAPSHOT), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), hg4idea (10.0)
2015-03-11 11:34:21,047 [ 1136] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: Markdown (0.9.7)
2015-03-11 11:34:21,047 [ 1136] INFO - llij.ide.plugins.PluginManager - Disabled plugins: Android View Client code helper (1.0)
You need to mark your plugin descriptor as compatible with IDEs other than IntelliJ IDEA, by adding the correct <depends> tag. See the documentation for more information.