Start Failed, Internal error: recovering IDE to the working state after the critical startup error
Symptoms
IDE shows the Start Failed dialog with the exception stacktrace and the following text:
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
Cause
There are multiple possible causes for this issue: broken or incompatible plug-in, corrupted IDE installation files, failed patch update, broken caches or damaged configuration.
It may be hard to guess the root case from the exception stacktrace.
Resolution
Please try the following steps one by one until the issue is resolved:
- In case of "java.nio.file.AccessDeniedException: ...plugins\github-copilot-intellij\copilot-agent\bin\copilot-agent-win.exe", please see this Copilot discussion and the corresponding issue.
- If you get "java.net.BindException: Address already in use: bind" exception, please refer to IDEA-238995 for the workaround.
- Delete the third-party plug-ins directory (
idea.plugins.pathin the user's home directory, depends on the OS and IDE version. Please be aware that default locations have changed in 2020.1 release). You can bisect the plug-ins to find the offending one and remove only that plug-in, keeping the working plug-ins.
Note: if the installation is managed by the Toolbox App, plug-ins directory will be located next to the application install location which can be found from the Toolbox properties of the installed app. Look for the directory name starting with the build number and ending with the .plugins, like 192.5728.98.plugins. - Download and install the IDE again, either from the official site or using the Toolbox App. Your settings and projects will be preserved. When installing from .tar.gz on Linux make sure to unpack into the new empty directory, not on the top of the existing installation.
- Delete the IDE system (
idea.system.path) directory. - In most cases the issue should be already resolved, but if the IDE still doesn't start with the same error dialog, you can also try to backup and delete the configuration directory (
idea.config.path). - Contact support with the full exception stacktrace (you can copy/paste it from the error dialog).
Feedback
We'd appreciate if you report all such issues to the support team or directly to the issue tracker. We are trying to eliminate the root cases and make the IDE recovery process more seamless.
Please sign in to leave a comment.
Can comeone help with this issue, I'm new to Intelij Idea, just installed it and have error like this
Whenever I go to the Python Packages button on the bottom left in PyCharm Community, I get this error messages:
It won't close until I select the Terminal button on the bottom left, then close PyCharm and restart. But if I click on the python packages button again, same error.
I have reinstalled several times with and without the Toolbox and still get this error.
Any suggestions?
Thanks
I have installed IntelliJ on my windows systems but its failing to startup below is the error am getting. Despite Installing the JDK and the the path correctly and surprisingly i have Pycharm in the same laptop and its working just fine. i have tried to troubleshoot but to no avail…need help. My laptop Specs are
Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz 1.80 GHz
12.0 GB (11.9 GB usable)
64-bit operating system, x64-based processor
Windows 11 Pro
I am using below Pycharm Professional Edition. I am getting an exception while I am updating Github Copilot plugin.
------- Pycharm Professional Edition--------------
PyCharm 2024.1.3 (Professional Edition)
Build #PY-241.17890.14, built on June 4, 2024
Licensed to Capital Group
Runtime version: 17.0.11+1-b1207.24 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4060M
Cores: 8
Registry:
ide.windowSystem.autoShowProcessPopup=true
Non-Bundled Plugins:
aws.toolkit.core (3.59-241)
com.github.copilot (1.5.2.5345)
com.leinardi.pycharm.pylint (0.16.4)
amazon.q (3.59-241)
aws.toolkit (3.59-241)
wfe
The morning didn't start with coffee. Everything worked fine yesterday, but today this is what I got:
Internal error. Please refer to https://jb.gg/ide/critical-startup-errorscom.intellij.diagnostic.PluginException: Access from Event Dispatch Thread (EDT) is not allowed; see https://jb.gg/ij-platform-threading for detailsCurrent thread: Thread[AWT-EventQueue-0,6,main] 1199675478 (EventQueue.isDispatchThread()=true)SystemEventQueueThread: (same) [Plugin: com.intellij]at com.intellij.serviceContainer.ServiceInstanceInitializer.createInstance$suspendImpl(ServiceInstanceInitializer.kt:53)at com.intellij.serviceContainer.ServiceInstanceInitializer.createInstance(ServiceInstanceInitializer.kt)at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invokeSuspend(LazyInstanceHolder.kt:162)at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invoke(LazyInstanceHolder.kt)at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invoke(LazyInstanceHolder.kt)at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invokeSuspend(LazyInstanceHolder.kt:160)at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invoke(LazyInstanceHolder.kt)at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invoke(LazyInstanceHolder.kt)at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:44)at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112)at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)at kotlinx.coroutines.BuildersKt.launch(Unknown Source)at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.initialize(LazyInstanceHolder.kt:145)at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.access$initialize(LazyInstanceHolder.kt:13)at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.tryInitialize(LazyInstanceHolder.kt:135)at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstance(LazyInstanceHolder.kt:95)at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstanceInCallerContext$suspendImpl(LazyInstanceHolder.kt:87)at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstanceInCallerContext(LazyInstanceHolder.kt)at com.intellij.serviceContainer.ComponentManagerImplKt$getOrCreateInstanceBlocking$3.invokeSuspend(ComponentManagerImpl.kt:1548)at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)at com.intellij.serviceContainer.ComponentManagerImplKt$runBlockingInitialization$1.invoke(ComponentManagerImpl.kt:1636)at com.intellij.serviceContainer.ComponentManagerImplKt$runBlockingInitialization$1.invoke(ComponentManagerImpl.kt:1627)at com.intellij.openapi.progress.ContextKt.prepareThreadContext(context.kt:83)at com.intellij.serviceContainer.ComponentManagerImplKt.runBlockingInitialization(ComponentManagerImpl.kt:1627)at com.intellij.serviceContainer.ComponentManagerImplKt.getOrCreateInstanceBlocking(ComponentManagerImpl.kt:1547)at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:754)at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:698)at com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:30)at com.intellij.openapi.actionSystem.ex.ActionManagerEx$Companion.getInstanceEx(ActionManagerEx.kt:30)at com.intellij.openapi.keymap.impl.KeymapImpl$actionIdToShortcuts$1.invoke(KeymapImpl.kt:93)at com.intellij.openapi.keymap.impl.KeymapImpl$actionIdToShortcuts$1.invoke(KeymapImpl.kt:86)at com.intellij.util.concurrency.SynchronizedClearableLazy._get_value_$lambda$1$lambda$0(SynchronizedClearableLazy.kt:41)at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210)at com.intellij.util.concurrency.SynchronizedClearableLazy.getValue(SynchronizedClearableLazy.kt:40)at com.intellij.openapi.keymap.impl.KeymapImpl.getShortcuts(KeymapImpl.kt:537)at com.intellij.openapi.keymap.KeymapUtil.getActiveKeymapShortcuts(KeymapUtil.java:79)at com.intellij.openapi.keymap.KeymapUtil.getActiveKeymapShortcuts(KeymapUtil.java:74)at com.intellij.openapi.actionSystem.CommonShortcuts.getCloseActiveWindow(CommonShortcuts.java:110)at com.intellij.openapi.ui.DialogWrapper.registerKeyboardShortcuts(DialogWrapper.java:1792)at com.intellij.openapi.ui.DialogWrapper.doShow(DialogWrapper.java:1740)at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1703)at com.intellij.diagnostic.GuiPluginConflictReporter.lambda$reportConflict$0(GuiPluginConflictReporter.java:25)at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792)at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761)at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:326)at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)Caused by: com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Access from Event Dispatch Thread (EDT) is not allowed; see https://jb.gg/ij-platform-threading for detailsCurrent thread: Thread[AWT-EventQueue-0,6,main] 1199675478 (EventQueue.isDispatchThread()=true)SystemEventQueueThread: (same)at com.intellij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:180)at com.intellij.util.concurrency.ThreadingAssertions.throwThreadAccessException(ThreadingAssertions.java:174)at com.intellij.util.concurrency.ThreadingAssertions.assertBackgroundThread(ThreadingAssertions.java:88)at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.<init>(ActionManagerImpl.kt:122)at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)at com.intellij.platform.instanceContainer.instantiation.InstantiateKt$instantiate$2.invoke(instantiate.kt:49)at com.intellij.platform.instanceContainer.instantiation.InstantiateKt$instantiate$2.invoke(instantiate.kt:42)at com.intellij.platform.instanceContainer.instantiation.InstantiateKt.instantiate(instantiate.kt:308)at com.intellij.platform.instanceContainer.instantiation.InstantiateKt.instantiate(instantiate.kt:42)at com.intellij.serviceContainer.ServiceInstanceInitializer.createInstance$suspendImpl(ServiceInstanceInitializer.kt:31)... 64 more-----Your JRE: 17.0.11+1-b1207.30 amd64 (JetBrains s.r.o.)/home/user/.local/share/JetBrains/Toolbox/apps/goland/jbrI even updated it through Toolbox but the result didn't change.
JDK version installed 21.0.5.0
Kamlesh Gujarathi Make sure you installed the app on the supported OS and for the correct CPU architecture. Download the correct version if it's not the case. See also https://intellij-support.jetbrains.com/hc/en-us/articles/206544879 . Run with the launcher in debug mode to get more details about the problem in the console output: https://intellij-support.jetbrains.com/hc/en-us/articles/360011901879-How-to-start-IDE-from-the-command-line .
Hi Team,
Greetings!!!
I am getting issue while setting Intellij. I have install the product IDEA 2024.2.1 version but it is giving error below. Any work aound to get it resolved?
-----------------------------
Cannot start the IDE
-----------------------------
Cannot find a runtime
Caused by:
Runtime not found
Please try to reinstall the IDE,
For support please refer to httpsifib.gg/ide/critical-startup-errors
-----------------------------
OK
-----------------------------
Thanks & Regards,
Kamleshkumar Gujarathi
Getting this error on Amazon Linux 2 on the latest release of Intellij Idea ultimate version 2024.3
Cannot start the runtime
Caused by:
0: Failed to load 'libjvm.so'
1: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /home/jp003671/.local/share/JetBrains/Toolbox/apps/intellij-idea-ultimate/jbr/lib/server/libjvm.so)
Please try to reinstall the IDE.
For support, please refer to https://jb.gg/ide/critical-startup-errors
fixed by:https://youtrack.jetbrains.com/issue/JBR-7687/IDEA-2024.3-EAP3-wont-start-on-CentOS-7-jbr-lib-server-libjvm.so-because-lib64-libm.so.6-version-GLIBC2.27-not-found
@Leija Chen @LeijaChen THANK YOU SO MUCH it finally worked! i removed the studio.vmoptions file but it didnt work, then i use the command search and find out i have 2 android studio.didnt know which one im using but i removed the file from both application and now its working again.thank you very much
@Danialdanish574 Does it help if you remove `~/Library/Application Support/Google/AndroidStudioX.Y/studio.vmoptions` file directly?
@Leija Chen @LeijaChen Hi i tried to split it but it still shows the same error.
@AoEiuV020 Please try the suggestion here: https://stackoverflow.com/a/61913060
@Danialdanish574 Please remove `~/Library/Application Support/Google/AndroidStudioX.Y/studio.vmoptions` (replace X.Y to real AS version) or split -Xmx2048m and -XX:MaxPermSize=512 in this file into two lines instead of one line.
Android Studio crashes on startup.
The first launch was successful—I installed the Android SDK and everything worked fine. However, from the second launch onward, Android Studio won’t start.
I’ve tried deleting the configuration and cache folders, but it didn’t help.
I encountered this issue running Linux Mint 22 (based on Ubuntu 24.04) in VMware 17.6.1 build-24319023 on Windows.
this shows when i try to run android studio app.
@SUNsung Your crash case will be fixed in the upcoming 2024.3 version. Sorry about it.
Regarding my error, nothing helped (not even removing all plugins), only completely uninstalling and reinstalling worked. I think I know what the problem is—the installed version of GoLand no longer had the option to switch to the old interface. That is, the old interface depended on some "plugin" that was removed, and everything broke down. Thanks to the development team for making me increasingly think about switching IDEs. JetBrains started off very well, but now it seems every year they stray further and further in the wrong direction.
Hello Guys,
Even after fresh installation, I am facing this issue. Though I haven't used the latest .exe from JetBrains. Just 2 days back I downloaded the file from my account.
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.util.concurrent.CompletionException: java.lang.IllegalStateException: failed to create a child event loop
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1702)
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:829)
Caused by: java.lang.IllegalStateException: failed to create a child event loop
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:88)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:58)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:47)
at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59)
at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:86)
at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:81)
at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:68)
at org.jetbrains.io.BuiltInServerKt.multiThreadEventLoopGroup(BuiltInServer.kt:144)
at org.jetbrains.io.BuiltInServerKt.access$multiThreadEventLoopGroup(BuiltInServer.kt:1)
at org.jetbrains.io.BuiltInServer$Companion.start(BuiltInServer.kt:54)
at org.jetbrains.io.BuiltInServer.start(BuiltInServer.kt)
at com.intellij.idea.SocketLock.lambda$lockAndTryActivate$2(SocketLock.java:171)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
... 7 more
Caused by: io.netty.channel.ChannelException: failed to open a new selector
at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:175)
at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:142)
at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:146)
at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:37)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84)
... 19 more
Caused by: java.io.IOException: Unable to establish loopback connection
at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:94)
at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:61)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.nio.ch.PipeImpl.<init>(PipeImpl.java:171)
at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50)
at java.base/java.nio.channels.Pipe.open(Pipe.java:155)
at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:142)
at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44)
at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:173)
... 23 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:476)
at java.base/sun.nio.ch.Net.connect(Net.java:468)
at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:692)
at java.base/java.nio.channels.SocketChannel.open(SocketChannel.java:194)
at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:127)
at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:76)
... 31 more
-----
Your JRE: 11.0.11+9-b1341.57 amd64 (JetBrains s.r.o.)
C:\Program Files\JetBrains\IntelliJ IDEA 2021.1.2\jbr
Thanks Serge Baranov
Re-installing the latest available version only solved my issue. I actually installed antivirus and VPN on my windows pc yesterday. That's the only change made to the PC after installing the Intelli idea.
I am wondering whether this caused the issue. What do you think?
Windows 10
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.lang.IllegalAccessError: class com.intellij.openapi.application.impl.ApplicationImpl (in unnamed module @0x1cfec5ca) cannot access class sun.awt.AWTAutoShutdown (in module java.desktop) because module java.desktop does not export sun.awt to unnamed module @0x1cfec5ca
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$new$1(ApplicationImpl.java:149)
at com.intellij.util.ui.EdtInvocationManager.invokeAndWaitIfNeeded(EdtInvocationManager.java:148)
at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:155)
at com.intellij.idea.ApplicationLoader.executeInitAppInEdt(ApplicationLoader.kt:60)
at com.intellij.idea.ApplicationLoader.access$executeInitAppInEdt(ApplicationLoader.kt:1)
at com.intellij.idea.ApplicationLoader$initApplication$1$1.run(ApplicationLoader.kt:363)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
-----
Your JRE: 16.0.2+7-67 amd64 (Oracle Corporation)
C:\Tools\jdks\openjdk-16.0.2
How to resolve this error? (Manjaro Linux, CLion not used for quite a long time).
> clion
2021-07-25 04:03:29,939 [ 3361] ERROR - llij.ide.plugins.PluginManager - null
java.lang.ExceptionInInitializerError
at com.intellij.ide.IdeEventQueue.<clinit>(IdeEventQueue.java:80)
at com.intellij.idea.StartupUtil.replaceSystemEventQueue(StartupUtil.java:788)
at com.intellij.idea.StartupUtil.patchSystem(StartupUtil.java:772)
at com.intellij.idea.ApplicationLoader.executeInitAppInEdt(ApplicationLoader.kt:58)
at com.intellij.idea.ApplicationLoader.access$executeInitAppInEdt(ApplicationLoader.kt:1)
at com.intellij.idea.ApplicationLoader$initApplication$1$1.run(ApplicationLoader.kt:363)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field protected java.lang.Runnable java.awt.event.InvocationEvent.runnable accessible: module java.desktop does not "opens java.awt.event" to unnamed module @18cf00d8
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:177)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:171)
at com.intellij.openapi.application.impl.InvocationUtil.findRunnableField(InvocationUtil.java:49)
at com.intellij.openapi.application.impl.InvocationUtil.<clinit>(InvocationUtil.java:17)
... 19 more
2021-07-25 04:03:29,943 [ 3365] ERROR - llij.ide.plugins.PluginManager - CLion 2021.1.3 Build #CL-211.7628.27
2021-07-25 04:03:29,943 [ 3365] ERROR - llij.ide.plugins.PluginManager - JDK: 16.0.1; VM: OpenJDK 64-Bit Server VM; Vendor: N/A
2021-07-25 04:03:29,944 [ 3366] ERROR - llij.ide.plugins.PluginManager - OS: Linux
Start Failed
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.lang.ExceptionInInitializerError
at com.intellij.ide.IdeEventQueue.<clinit>(IdeEventQueue.java:80)
at com.intellij.idea.StartupUtil.replaceSystemEventQueue(StartupUtil.java:788)
at com.intellij.idea.StartupUtil.patchSystem(StartupUtil.java:772)
at com.intellij.idea.ApplicationLoader.executeInitAppInEdt(ApplicationLoader.kt:58)
at com.intellij.idea.ApplicationLoader.access$executeInitAppInEdt(ApplicationLoader.kt:1)
at com.intellij.idea.ApplicationLoader$initApplication$1$1.run(ApplicationLoader.kt:363)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field protected java.lang.Runnable java.awt.event.InvocationEvent.runnable accessible: module java.desktop does not "opens java.awt.event" to unnamed module @18cf00d8
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:177)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:171)
at com.intellij.openapi.application.impl.InvocationUtil.findRunnableField(InvocationUtil.java:49)
at com.intellij.openapi.application.impl.InvocationUtil.<clinit>(InvocationUtil.java:17)
... 19 more
-----
Your JRE: 16.0.1+9 amd64 (N/A)
/usr/lib/jvm/java-16-openjdk
I dont know how to fix it.while running the test cases or feature file .getting this error
Starting Gradle Daemon...
Gradle Daemon started in 3 s 999 ms
> Task :compileJava UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :compileTestJava
> Task :processTestResources UP-TO-DATE
> Task :testClasses
> Task :test
Jul 28, 2021 10:24:08 PM io.cucumber.core.runtime.Runtime run
SEVERE: Exception while executing pickle
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Could resolve the return type of the lambda at EshopCompareMobilesSteps.java:22
This version of cucumber-java8 is not compatible with Java 12+
See: https://github.com/cucumber/cucumber-jvm/issues/1817
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:93)
at io.cucumber.core.cli.Main.run(Main.java:92)
at io.cucumber.core.cli.Main.main(Main.java:34)
Caused by: java.lang.IllegalStateException: Could resolve the return type of the lambda at EshopCompareMobilesSteps.java:22
This version of cucumber-java8 is not compatible with Java 12+
See: https://github.com/cucumber/cucumber-jvm/issues/1817
at io.cucumber.java8.AbstractGlueDefinition.resolveRawArguments(AbstractGlueDefinition.java:80)
at io.cucumber.java8.Java8StepDefinition.<init>(Java8StepDefinition.java:25)
at io.cucumber.java8.Java8StepDefinition.create(Java8StepDefinition.java:40)
at io.cucumber.java8.En.Then(En.java:543)
at definitions.steps.eshop.EshopCompareMobilesSteps.<init>(EshopCompareMobilesSteps.java:22)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.picocontainer.injectors.AbstractInjector.newInstance(AbstractInjector.java:145)
at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:342)
at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:678)
at io.cucumber.picocontainer.PicoFactory.getInstance(PicoFactory.java:49)
at io.cucumber.java8.Java8Backend.buildWorld(Java8Backend.java:64)
at io.cucumber.core.runner.Runner.buildBackendWorlds(Runner.java:101)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:67)
at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.stream.SliceOps$1$1.accept(SliceOps.java:199)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1602)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
... 2 more
0 Scenarios
0 Steps
0m0.757s
Exception in thread "main" io.cucumber.core.exception.CucumberException: java.lang.IllegalStateException: Could resolve the return type of the lambda at EshopCompareMobilesSteps.java:22
This version of cucumber-java8 is not compatible with Java 12+
See: https://github.com/cucumber/cucumber-jvm/issues/1817
at io.cucumber.core.runtime.CucumberExecutionContext.getException(CucumberExecutionContext.java:82)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:103)
at io.cucumber.core.cli.Main.run(Main.java:92)
at io.cucumber.core.cli.Main.main(Main.java:34)
Caused by: java.lang.IllegalStateException: Could resolve the return type of the lambda at EshopCompareMobilesSteps.java:22
This version of cucumber-java8 is not compatible with Java 12+
See: https://github.com/cucumber/cucumber-jvm/issues/1817
at io.cucumber.java8.AbstractGlueDefinition.resolveRawArguments(AbstractGlueDefinition.java:80)
at io.cucumber.java8.Java8StepDefinition.<init>(Java8StepDefinition.java:25)
at io.cucumber.java8.Java8StepDefinition.create(Java8StepDefinition.java:40)
at io.cucumber.java8.En.Then(En.java:543)
at definitions.steps.eshop.EshopCompareMobilesSteps.<init>(EshopCompareMobilesSteps.java:22)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.picocontainer.injectors.AbstractInjector.newInstance(AbstractInjector.java:145)
at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:342)
at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:678)
at io.cucumber.picocontainer.PicoFactory.getInstance(PicoFactory.java:49)
at io.cucumber.java8.Java8Backend.buildWorld(Java8Backend.java:64)
at io.cucumber.core.runner.Runner.buildBackendWorlds(Runner.java:101)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:67)
at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.stream.SliceOps$1$1.accept(SliceOps.java:199)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1602)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
... 2 more
Compare the Mobiles failed.
courgette.runtime.CourgetteTestFailureException: Compare the Mobiles failed.
testrunners.TestRunner > courgette.api.junit.Courgette.Compare the Mobiles FAILED
courgette.runtime.CourgetteTestFailureException
1 test completed, 1 failed
> Task :test FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///C:/Abcd/dx-automation-test-web-ui/build/reports/tests/test/index.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 38s
5 actionable tasks: 2 executed, 3 up-to-date
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.lang.NullPointerException
at com.intellij.util.SVGLoader.load(SVGLoader.java:214)
at com.intellij.util.ImageLoader.loadByDescriptorWithoutCache(ImageLoader.java:261)
at com.intellij.util.ImageLoader.loadByDescriptor(ImageLoader.java:227)
at com.intellij.util.ImageLoader.loadImage(ImageLoader.java:152)
at com.intellij.openapi.util.IconLoader$ResolvedImageDataResolver.loadImage(IconLoader.java:1083)
at com.intellij.openapi.util.IconLoader$CachedImageIcon.loadImage(IconLoader.java:962)
at com.intellij.openapi.util.IconLoader$ScaledIconCache.getOrScaleIcon(IconLoader.java:1031)
at com.intellij.openapi.util.IconLoader$CachedImageIcon.getRealIcon(IconLoader.java:850)
at com.intellij.openapi.util.IconLoader$CachedImageIcon.getIconWidth(IconLoader.java:778)
at com.intellij.ui.AppUIUtil.scaleIconToSize(AppUIUtil.java:191)
at com.intellij.ui.AppUIUtil.loadApplicationIcon(AppUIUtil.java:187)
at com.intellij.ui.AppUIUtil.loadApplicationIconImage(AppUIUtil.java:166)
at com.intellij.ui.AppUIUtil.updateWindowIcon(AppUIUtil.java:76)
at com.intellij.idea.StartupUtil.updateFrameClassAndWindowIcon(StartupUtil.java:617)
at com.intellij.idea.StartupUtil.lambda$start$4(StartupUtil.java:173)
at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool.awaitQuiescence(ForkJoinPool.java:2984)
at com.intellij.idea.StartupUtil.start(StartupUtil.java:294)
at com.intellij.idea.Main.bootstrap(Main.java:123)
at com.intellij.idea.Main.main(Main.java:84)
-----
Your JRE: 11.0.11+9-b1504.8 amd64 (JetBrains s.r.o.)
/home/senhtry/.jbr/jbr_jcef-11_0_11-linux-x64-b1504.8
W169q169 Please check the workaround at https://youtrack.jetbrains.com/issue/IDEA-258057.
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.lang.NullPointerException
at com.intellij.util.SVGLoader.load(SVGLoader.java:214)
at com.intellij.util.ImageLoader.loadByDescriptorWithoutCache(ImageLoader.java:261)
at com.intellij.util.ImageLoader.loadByDescriptor(ImageLoader.java:227)
at com.intellij.util.ImageLoader.loadImage(ImageLoader.java:152)
at com.intellij.openapi.util.IconLoader$ResolvedImageDataResolver.loadImage(IconLoader.java:1083)
at com.intellij.openapi.util.IconLoader$CachedImageIcon.loadImage(IconLoader.java:962)
at com.intellij.openapi.util.IconLoader$ScaledIconCache.getOrScaleIcon(IconLoader.java:1031)
at com.intellij.openapi.util.IconLoader$CachedImageIcon.getRealIcon(IconLoader.java:850)
at com.intellij.openapi.util.IconLoader$CachedImageIcon.getIconWidth(IconLoader.java:778)
at com.intellij.ui.AppUIUtil.scaleIconToSize(AppUIUtil.java:191)
at com.intellij.ui.AppUIUtil.loadApplicationIcon(AppUIUtil.java:187)
at com.intellij.ui.AppUIUtil.loadApplicationIconImage(AppUIUtil.java:166)
at com.intellij.ui.AppUIUtil.updateWindowIcon(AppUIUtil.java:76)
at com.intellij.idea.StartupUtil.updateFrameClassAndWindowIcon(StartupUtil.java:617)
at com.intellij.idea.StartupUtil.lambda$start$4(StartupUtil.java:173)
at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool.awaitQuiescence(ForkJoinPool.java:2984)
at com.intellij.idea.StartupUtil.start(StartupUtil.java:294)
at com.intellij.idea.Main.bootstrap(Main.java:123)
at com.intellij.idea.Main.main(Main.java:84)
-----
Your JRE: 11.0.11+9-b1504.16 amd64 (JetBrains s.r.o.)
/snap/intellij-idea-ultimate/316/jbr
Siamand Maroufi Please check the workaround at https://youtrack.jetbrains.com/issue/IDEA-258057.
I teach high school CS, and one of the students is getting the below error message. Students open up Intellij through Zenworks. It is working fine on the other 31 computers in my classroom.
Kevinmadden Try the clean install of the current IDE release: https://www.jetbrains.com/idea/download/index.html.