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:

  1. 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.
  2. If you get "java.net.BindException: Address already in use: bind" exception, please refer to IDEA-238995 for the workaround.
  3. Delete the third-party plug-ins directory (idea.plugins.path in 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.
  4. 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.
  5. Delete the IDE system (idea.system.path) directory.
  6. 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).
  7. 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.

112 out of 535 found this helpful
396 comments

In my case, none of the steps helped, tried deleting the entire settings directory, reinstalling - to no avail. The only way to fix the issue was to run Rider with administrative rights (2019.3.1, installed with Jetbrains Toolbox).

2

I've tried everything and nothing works for me, including installing it through the Jetbrains Toolbox.

3

Sorry for the problems, please follow the step 5.

0

In my case a simple restart was enough (Linux 5.4.12 i3wm). Also it was "just" a NullPointerException...

java.lang.NullPointerException
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.processActionElement(ActionManagerImpl.java:640)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.processActionsChildElement(ActionManagerImpl.java:1016)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.registerPluginActions(ActionManagerImpl.java:489)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.<init>(ActionManagerImpl.java:141)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:44)
at com.intellij.serviceContainer.PlatformComponentManagerImpl.instantiateClassWithConstructorInjection(PlatformComponentManagerImpl.kt:505)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:52)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:39)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:110)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:72)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:65)
at com.intellij.serviceContainer.PlatformComponentManagerImpl.getService(PlatformComponentManagerImpl.kt:288)
at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:18)
at com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:29)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.addActionsFromActiveKeymap(IdeKeyEventDispatcher.java:763)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.updateCurrentContext(IdeKeyEventDispatcher.java:726)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:459)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:221)
at com.intellij.ide.IdeEventQueue.lambda$new$5(IdeEventQueue.java:220)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:805)
at com.intellij.ide.IdeKeyboardFocusManager.dispatchEvent(IdeKeyboardFocusManager.java:40)
at java.awt.Component.dispatchEventImpl(Component.java:4770)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4721)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:766)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:739)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:736)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:398)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

-----
JRE 1.8.0_222-release-1621-b1 amd64 by JetBrains s.r.o
/home/x/.IntelliJIdea2019.3/config/jdks/jbrsdk-8u222-linux-x64-b1621.1/jre
6
Avatar
Permanently deleted user

What port does Clion need? I can't get the port number from the exception information.

Windows 10 20H1

Internal error. Please refer to http://jb.gg/ide/critical-startup-errors

java.util.concurrent.CompletionException: java.net.BindException: Address already in use: bind
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.lang.Thread.run(Thread.java:834)
Caused by: java.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:455)
at java.base/sun.nio.ch.Net.bind(Net.java:447)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:132)
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:551)
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1346)
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:503)
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:488)
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:985)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:247)
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:344)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:510)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:518)
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
... 1 more

-----
JRE 11.0.5+10-b520.30 amd64 by JetBrains s.r.o
D:\Jetbrains\apps\CLion\ch-0\193.6015.37\jbr
17

Ti

To lock the folders IDE is starting a server on localhost, it tries to bind on the first available port between 6942 and 6991, this exception is thrown if IDE was not able to bind on any of the ports in this range. All 50 ports are unlikely to be already used on a machine, so it appears to be a networking issue or some security software which doesn't permit the IDE to bind on any port in this range even on the localhost interface.

On Windows "netsh winsock reset" in the Administrator console followed by the reboot should help. Also try disabling the antivirus/firewall and verify that the network configuration is correct.

9

It seems to be that the EAP versions don't try to use the other 50 Ports when the first one (6942) is already in use which results in them crashing at startup.

0

Timothy Lutz

I can't confirm this theory. Starting IntelliJ IDEA 2019.3.3 that binds in port 6942 and then starting IntelliJ IDEA 2020.1 EAP works fine and I can see via TcpView that it binds on port 6943.

0

Turning off Hyper-V and reinstalling it works fine. However, Docker Desktop is no longer available.
Docker must be used as a must, so bugs that conflict with Hyper-V should be fixed.

 
5

conflict with hyper v,

Jetbrain Products will dump if hyper v is opened 

3

The autoupdate lead me to this page... Why did it update the software without getting my permission...

0

IntelliJ IDEA doesn't update itself without your confirmation. There is a setting in https://www.jetbrains.com/toolbox/app/ to update the tools automatically, but it's disabled by default.

0

Hi serge,

I reinstall the IntelliJ 2019.3 from the official website, instead of toolbox app. Would you please tell me how can I disable the autoupdate in such case?

Because it turns my scala plugin won't crash in 2019.3. For 2020.1, it always shows `start failed`.

Maybe it is better to stay at 2019.3.

Thanks.

0

IDE installed without toolbox will not update automatically. It can only detect updates and suggest you to install them according to this setting:

 

To disable automatic updates when using Toolbox make sure the following setting is disabled:

-1

New Version 2020.1 on Windows 10 can't handle special char from username (René) in path:

java.nio.file.InvalidPathException: Illegal char <?> at index 12: C:/Users/Ren?/AppData/Local/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.6668.121.plugins
at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
at java.base/java.nio.file.Path.of(Path.java:147)
at java.base/java.nio.file.Paths.get(Paths.java:69)
at com.intellij.openapi.application.PathManager.getAbsolutePath(PathManager.java:588)
at com.intellij.openapi.application.PathManager.getExplicitPath(PathManager.java:593)
at com.intellij.openapi.application.PathManager.getPluginsPath(PathManager.java:291)
at com.intellij.ide.BootstrapClassLoaderUtil.initClassLoader(BootstrapClassLoaderUtil.java:50)
at com.intellij.idea.Main.bootstrap(Main.java:99)
at com.intellij.idea.Main.main(Main.java:79)

-----
JRE 11.0.6+8-b765.25 amd64 by JetBrains s.r.o
C:\Users\René\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\201.6668.121\jbr
1

Rschlossus Please see https://youtrack.jetbrains.com/issue/IDEA-235754 . Should be fixed in the next update.

At the moment you can either user 2019.3.3 from https://www.jetbrains.com/idea/download/previous.html or install the IDE into a path without non-ASCII characters.

0

The newest CLion application is broken as well.

---------------------------
clion64.exe - Application Error
---------------------------
The application was unable to start correctly (0xc000007b). Click OK to close the application.
---------------------------
OK
---------------------------

 

The workaround:

Use clion.bat

C:\Users\<username>\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\<version number>\bin\clion.bat

and create a Shortcut for it. Works well for me.

 

To start the clion64.exe again I disabled the Exploit protection in Windows 10 "Force randomisation for images (Mandatory ASLR) not compiled with /DYNAMICBASE" => Use Default (Off)

Not sure, if this is connected though. "Git for Windows" as well and some other cygwin stuff.

Edited by Simon
0

Hi,

I'm running clion in a Linux corporate environment and it failed to start. I use a mix of jetbrains IDEs including pycharm, intellij, and clion. I suspect it was the mix causing the issue, since the failure happened immediately after I ran a most-recent intellij. I didn't find an obvious cue after spending some time on Google. I have tried deleting all the plugins and cache but it didn't solve the issue.

Internal error. Please report to http://jb.gg/ide/critical-startup-errors

java.lang.RuntimeException: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'null'
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:202)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.idea.MainImpl$1$1.a(MainImpl.java:68)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
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(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:413)
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: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'null'
at com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:255)
at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.handleInitComponentError(PlatformComponentManagerImpl.java:43)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:388)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:83)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:396)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:382)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:195)
... 19 more
Caused by: java.lang.NoClassDefFoundError: org/aspectj/runtime/internal/AroundClosure
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:398)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:372)
... 23 more
Caused by: java.lang.ClassNotFoundException: org.aspectj.runtime.internal.AroundClosure
at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:224)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 26 more
0

Hello, 

I installed latest build 2020.1 201.7723.91 via Toolbox and I'm having the same issue. 

2019.3.5 works fine.

Edited by JF Naud
0

JF Naud most of the crash issues have different stacktrace. Could you please post yours so that we can try to isolate the problem?

0

I have two popups/traces

Internal error. Please refer to http://jb.gg/ide/critical-startup-errors

java.lang.NullPointerException
at com.aliyun.odps.studio.intellij.ide.IntellijLogger.getInstance(IntellijLogger.java:52)
at com.aliyun.odps.studio.intellij.ide.IntellijLogger.warn(IntellijLogger.java:32)
at com.aliyun.odps.studio.intellij.ide.IntellijStatCollector.lambda$fireInitEvent$0(IntellijStatCollector.java:20)
at java.base/java.lang.Thread.run(Thread.java:834)

-----
JRE 11.0.6+8-b765.40 amd64 by JetBrains s.r.o
/home/synnauj/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/jbr

 

Internal error. Please refer to http://jb.gg/ide/critical-startup-errors

java.lang.NullPointerException
at com.aliyun.odps.studio.intellij.ide.IntellijLogger.getInstance(IntellijLogger.java:52)
at com.aliyun.odps.studio.intellij.ide.IntellijLogger.warn(IntellijLogger.java:32)
at com.aliyun.odps.studio.option.ManageSettings.isEnableDebuger(ManageSettings.java:40)
at com.aliyun.odps.studio.intellij.StudioMain$1.run(StudioMain.java:109)

-----
JRE 11.0.6+8-b765.40 amd64 by JetBrains s.r.o
/home/synnauj/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/jbr

Edited by JF Naud
0

JF Naud Please clean the contents of the plugins directory (https://intellij-support.jetbrains.com/hc/articles/206544519). There is a third-party plug-in enabled that is causing the problem.

0

Tried the steps above and still crashing

 

Internal error. Please refer to http://jb.gg/ide/critical-startup-errors

java.util.concurrent.CompletionException: java.net.BindException: Address already in use: bind
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.lang.Thread.run(Thread.java:834)
Caused by: java.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:455)
at java.base/sun.nio.ch.Net.bind(Net.java:447)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:134)
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:550)
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334)
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:506)
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:491)
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:248)
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
... 1 more

-----
JRE 11.0.6+8-b765.25 amd64 by JetBrains s.r.o
C:\Users\alxx\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\201.6668.121\jbr

It would be nice if you guys gave clear to the point instructions instead of telling us to go to a web page which then tells us to go to a different page. 

I don't have a plugins directory in C:\Users\alxx\AppData\Roaming\JetBrains\IntelliJIdea2020.1

I do in C:\Users\alxx\AppData\Local\JetBrains\IntelliJIdea2020.1\plugins

Frustrating. vs code is more reliable and less buggy than intellij

0

Alex Gibson

Sorry for the inconvenience.

Please check this comment: https://intellij-support.jetbrains.com/hc/en-us/articles/360007568559?page=1#comment_360000925619 .

It's very uncommon when all 50 ports in this range are not available on the system.

Please provide the output from the following command in the Administrator console:

netsh interface ipv4 show excludedportrange protocol=tcp

Does it list all the ports in the range used by IntelliJ IDEA?

One of the possible reasons is a network misconfiguration caused by the Hyper-V. You can try to temporary disable Hyper-V Windows feature and see if it helps. Enabling it back should not cause the same problem again.

0

before restarting hyperv

C:\Users\alxx>netsh interface ipv4 show excludedportrange protocol=tcp

Protocol tcp Port Exclusion Ranges

Start Port End Port
---------- --------
1030 1129
1130 1229
1264 1363
1364 1463
1548 1647
1684 1783
1802 1901
1902 2001
2002 2101
2180 2279
2280 2379
2380 2479
2488 2587
2588 2687
2688 2787
2788 2887
2888 2987
2988 3087
3088 3187
3188 3287
3288 3387
3388 3487
3488 3587
3997 4096
4097 4196
4197 4296
4297 4396
4397 4496
4497 4596
4606 4705
4706 4805
4806 4905
4906 5005
5357 5357
5658 5757
5758 5857
5858 5957
5958 6057
6058 6157
6158 6257
6258 6357
28385 28385
50000 50059 *

* - Administered port exclusions.

 

after disabling hyperv , rebooting, enabling hyper v, rebooting again, still wouldn't start so uninstalled and reinstalled via toolbox and its now working. I needed it in a hurry.

1

Internal error. Please refer to http://jb.gg/ide/critical-startup-errors

java.util.concurrent.CompletionException: java.net.BindException: Address already in use: bind
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.lang.Thread.run(Thread.java:834)
Caused by: java.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:455)
at java.base/sun.nio.ch.Net.bind(Net.java:447)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:134)
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:550)
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334)
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:506)
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:491)
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:248)
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
... 1 more

-----
JRE 11.0.6+8-b765.40 amd64 by JetBrains s.r.o
C:\Program Files\JetBrains\PhpStorm 2020.1.1\jbr

0

Norman it looks like you have the same issue as described one post above yours. See if disabling Hyper-V helps.

0

To all:

If you see java.util.concurrent.CompletionException: java.net.BindException: Address already in use: bind error, please try this workaround.

In Administrator console run the following commands:

netsh int ipv4 set dynamicport tcp start=49152 num=16383
netsh int ipv4 set dynamicport udp start=49152 num=16383
Edited by Serge Baranov
2

I tried the work-around suggested in the previous post. It doesn't work for me.I still get the following error when trying to start PyCharm 2020.1

 

Internal error. Please refer to http://jb.gg/ide/critical-startup-errors

java.util.concurrent.CompletionException: java.net.BindException: Address already in use: bind
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.lang.Thread.run(Thread.java:834)
Caused by: java.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:455)
at java.base/sun.nio.ch.Net.bind(Net.java:447)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:134)
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:550)
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334)
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:506)
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:491)
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:248)
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
... 1 more

-----
JRE 11.0.6+8-b765.40 amd64 by JetBrains s.r.o

 

 

3

Please sign in to leave a comment.

Have more questions?

Submit a request