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.
In Intellij when I type semicolon it prints some special character ö .
Anyone has faced this issue before? If yes how to fix this?
Logs:
2020-10-01 16:47:29,809 [257965913] INFO - stubs.SerializationManagerImpl - Start shutting down C:\Users\--------------------------------------
2020-10-01 16:47:29,813 [257965917] INFO - stubs.SerializationManagerImpl - Finished shutting down C:\Users\--------------------------------------
2020-10-01 16:47:29,818 [257965922] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
2020-10-01 16:47:29,825 [257965929] INFO - org.jetbrains.io.BuiltInServer - web server stopped
2020-10-01 16:47:35,734 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2020-10-01 16:47:35,785 [ 51] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-202.6397.94, 27 Jul 2020 16:09)
2020-10-01 16:47:35,787 [ 53] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2020-10-01 16:47:35,787 [ 53] INFO - #com.intellij.idea.Main - JRE: 11.0.7+10-b944.20 (JetBrains s.r.o.)
2020-10-01 16:47:35,788 [ 54] INFO - #com.intellij.idea.Main - JVM: 11.0.7+10-b944.20 (OpenJDK 64-Bit Server VM)
2020-10-01 16:47:35,789 [ 55] INFO - #com.intellij.idea.Main - JVM Args: exit -Xms128m -Xmx1023m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -Dsun.io.useCanonPrefixCache=false -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf=true -Dkotlinx.coroutines.debug=off -Djdk.module.illegalAccess.silent=true -Djb.vmOptionsFile=C:\Users\-------\AppData\Roaming\JetBrains\IdeaIC2020.2\idea64.exe.vmoptions -Djava.library.path=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2\jbr\\bin;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2\jbr\\bin\server -Didea.platform.prefix=Idea -Didea.jre.check=true -Dide.native.launcher=true -Didea.vendor.name=JetBrains -Didea.paths.selector=IdeaIC2020.2 -XX:ErrorFile=C:\Users\-------\java_error_in_idea_%p.log -XX:HeapDumpPath=C:\Users\-------\java_error_in_idea.hprof
2020-10-01 16:47:35,789 [ 55] INFO - #com.intellij.idea.Main - library path: C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2\jbr\\bin;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2\jbr\\bin\server
2020-10-01 16:47:35,790 [ 56] INFO - #com.intellij.idea.Main - boot library path: C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2\jbr\bin
2020-10-01 16:47:35,797 [ 63] INFO - #com.intellij.idea.Main - locale=en_US JNU=Cp1252 file.encoding=Cp1252
idea.config.path=C:\Users\----\IdeaIC2020.2
idea.system.path=C:\Users\----\IdeaIC2020.2
idea.plugins.path=C:\Users\---\IdeaIC2020.2\plugins
idea.log.path=C:\Users\-------\AppData\Local\JetBrains\IdeaIC2020.2\log
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 am trying to run tests in Circle CI in headless chrome.
I am using selenium server version 3.8.1 and chromedriver version 2.34
protractor_conf.js consists of chrome capabilities as:
var chromeCapabilities = {
browserName: 'chrome',
chromeOptions: {
args: [
'headless','--show-fps-counter=false', '--remote-debugging-port=2222', '--disable-gpu'
]
}
}
My sh script includes following commands for webdriver-manager and then running tests:
./node_modules/protractor/bin/webdriver-manager clean
./node_modules/protractor/bin/webdriver-manager update --gecko false --versions.standalone 3.8.1 --versions.chrome 2.34
./node_modules/protractor/bin/webdriver-manager start &
echo "*** Run script for e2e tests"
gulp e2e
I added these in m circle.yml to install latest version of stable chrome and launched headless listening to localhost:
dependencies:
post:
# Install the latest Chrome
- curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome.deb
- sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome
- rm google-chrome.deb
before_install:
- google-chrome --headless --remote-debugging-port=2222 --disable-gpu http://localhost &
So, when I run my build now, the tests don't run at all. Logs say:
** Updating webdriver **
[05:46:11] W/file_manager - path does not exist
/home/ubuntu/pharma/test/node_modules/protractor/node_modules/webdriver-
manager/selenium
[05:46:11] I/file_manager - creating folder
/home/ubuntu/pharma/test/node_modules/protractor/node_modules/webdriver-
manager/selenium
[05:46:12] I/update - chromedriver: unzipping chromedriver_2.34.zip
[05:46:12] I/update - chromedriver: setting permissions to 0755 for
/home/ubuntu/pharma/test/node_modules/protractor/node_modules/webdriver-
manager/selenium/chromedriver_2.34
[05:46:13] I/start - java -Djava.security.egd=file:///dev/./urandom -Dwebdriver.chrome.driver=/home/ubuntu/pharma/test/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.34 -jar /home/ubuntu/pharma/test/node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.8.1.jar -port 4444
[05:46:13] I/start - seleniumProcess.pid: 24198
05:46:13.642 INFO - Selenium build info: version: '3.8.1', revision: '6e95a6684b'
05:46:13.643 INFO - Launching a standalone Selenium Server
2018-01-12 05:46:13.740:INFO::main: Logging initialized #385ms to org.seleniumhq.jetty9.util.log.StdErrLog
05:46:13.781 INFO - Using `new FirefoxOptions()` is preferred to `DesiredCapabilities.firefox()`
05:46:13.799 INFO - Using `new ChromeOptions()` is preferred to `DesiredCapabilities.chrome()`
05:46:13.801 INFO - Using `new EdgeOptions()` is preferred to `DesiredCapabilities.edge()`
05:46:13.803 INFO - Driver class not found: com.opera.core.systems.OperaDriver
05:46:13.803 INFO - Using `new OperaOptions()` is preferred to `DesiredCapabilities.operaBlink()`
05:46:13.803 INFO - Using `new SafariOptions()` is preferred to `DesiredCapabilities.safari()`
05:46:13.804 INFO - Driver class not found: org.openqa.selenium.phantomjs.PhantomJSDriver
05:46:13.845 INFO - Driver provider class org.openqa.selenium.ie.InternetExplorerDriver registration is skipped:
registration capabilities Capabilities {browserName: internet explorer, ensureCleanSession: true, platform: WINDOWS, version: } does not match the current platform LINUX
05:46:13.845 INFO - Driver provider class org.openqa.selenium.edge.EdgeDriver registration is skipped:
registration capabilities Capabilities {browserName: MicrosoftEdge, platform: WINDOWS, version: } does not match the current platform LINUX
05:46:13.846 INFO - Driver provider class org.openqa.selenium.safari.SafariDriver registration is skipped:
registration capabilities Capabilities {browserName: safari, platform: MAC, version: } does not match the current platform LINUX
05:46:13.891 INFO - Using `new ChromeOptions()` is preferred to `DesiredCapabilities.chrome()`
05:46:13.892 INFO - Using `new EdgeOptions()` is preferred to `DesiredCapabilities.edge()`
05:46:13.892 INFO - Using `new FirefoxOptions()` is preferred to `DesiredCapabilities.firefox()`
05:46:13.893 INFO - Using `new OperaOptions()` is preferred to `DesiredCapabilities.operaBlink()`
05:46:13.893 INFO - Using `new SafariOptions()` is preferred to `DesiredCapabilities.safari()`
05:46:13.902 INFO - Using the passthrough mode handler
2018-01-12 05:46:13.932:INFO:osjs.Server:main: jetty-9.4.7.v20170914
2018-01-12 05:46:13.970:WARN:osjs.SecurityHandler:main: ServletContext#o.s.j.s.ServletContextHandler#2db7a79b{/,null,STARTING} has uncovered http methods for path: /
2018-01-12 05:46:13.978:INFO:osjsh.ContextHandler:main: Started o.s.j.s.ServletContextHandler#2db7a79b{/,null,AVAILABLE}
2018-01-12 05:46:13.998:INFO:osjs.AbstractConnector:main: Started ServerConnector#67b467e9{HTTP/1.1,[http/1.1]}{0.0.0.0:4444}
2018-01-12 05:46:13.999:INFO:osjs.Server:main: Started #644ms
05:46:13.999 INFO - Selenium Server is up and running
[07:02:53] Using gulpfile ~/pharma/test/gulpfile.babel.js
[07:02:53] Starting 'set-envVars'...
[07:02:53] Finished 'set-envVars' after 245 μs
[07:02:53] Starting 'set-directories'...
[07:02:53] Finished 'set-directories' after 428 μs
[07:02:53] Starting 'e2e'...
--> Running tests using command: ./node_modules/.bin/protractor ./protractor_e2e_conf.js
Logger: Output file - /home/ubuntu/pharma/test/output/e2e/logs/console.log
[07:02:54] [INFO] Report destination: /home/ubuntu/pharma/test/output/e2e/logs/e2eTests.html
[07:02:54] [INFO] [07:02:54] I/launcher - Running 1 instances of WebDriver
[07:02:55] [INFO] [07:02:55] I/testLogger -
------------------------------------
[07:02:55] [INFO] [07:02:55] I/testLogger - [Chrome] PID: 24232
[Chrome] Specs: /home/ubuntu/pharma/test/e2e/spec/targeting/data_upload/uploadAccount_spec.js
[Chrome]
[Chrome] Logger: Output file - /home/ubuntu/pharma/test/output/e2e/logs/console.log
[Chrome] [07:02:55] [INFO] [07:02:55] I/local - Starting selenium standalone server...
[Chrome] events.js:160
[Chrome] throw er; // Unhandled 'error' event
[Chrome] ^
[Chrome]
[Chrome] Error: spawn /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/bin/java ENOENT
[Chrome] at exports._errnoException (util.js:1018:11)
[Chrome] at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
[Chrome] at onErrorNT (internal/child_process.js:367:16)
[Chrome] at _combinedTickCallback (internal/process/next_tick.js:80:11)
[Chrome] at process._tickCallback (internal/process/next_tick.js:104:9)
Versions used:
Chrome browser version: Google Chrome 63.0.3239.132
Protractor:v5.2.2
Chromedriver zip: 2.34
Selenium standalone: 3.8.1
Circle CI: 1.0
What am I missing?
Any help would be appreciated.
Solution:
The default java version installed on circle ci is 1.7. I forced it to install 1.8 jdk:
Went to circle ci build test commands and used: java --version command to check java version installed. Got v1.7 form there.
Then, I modified my Dockerfile to use jdk 8 by using: FROM openjdk:8
This would overwrite the v1.7 installed and force use 1.8 which solved my problem.