IntelliJ启动错误“无法锁定系统文件夹”(IntelliJ Startup Error “Cannot Lock System Folders”)

编程入门 行业动态 更新时间:2024-10-24 12:33:55
IntelliJ启动错误“无法锁定系统文件夹”(IntelliJ Startup Error “Cannot Lock System Folders”)

我安装了IntelliJ IDEA 15.0.1 Community Edition但是当我运行应用程序时,它会显示以下错误消息:

Internal error. Please report to http://jb.gg/ide/critical-startup-errors java.lang.IllegalStateException: failed to create a child event loop at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:81) at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:50) at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:72) at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:58) at org.jetbrains.io.BuiltInServer.start(BuiltInServer.java:78) at com.intellij.idea.SocketLock$2.call(SocketLock.java:131) at com.intellij.idea.SocketLock$2.call(SocketLock.java:112) at com.intellij.idea.SocketLock.underLocks(SocketLock.java:155) at com.intellij.idea.SocketLock.lock(SocketLock.java:112) at com.intellij.idea.StartupUtil.lockSystemFolders(StartupUtil.java:263) at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:101) at com.intellij.idea.MainImpl.start(MainImpl.java:34) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:90) at java.lang.Thread.run(Thread.java:745) Caused by: io.netty.channel.ChannelException: failed to open a new selector at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:127) at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:119) at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:97) at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:31) at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:77) ... 17 more Caused by: java.io.IOException: Unable to establish loopback connection at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:101) at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:68) at java.security.AccessController.doPrivileged(Native Method) at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:170) at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50) at java.nio.channels.Pipe.open(Pipe.java:155) at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:127) at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44) at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:125) ... 21 more Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:139) at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:83) ... 29 more

之后IDE无法启动。 它总是完美无缺,但最近我在尝试使用IDEA version 14.5编译Java项目时遇到了同样的错误。 在干净安装15.0.1它仍然无法正常工作。 很明显,问题必然是由于我同时安装的东西,但是这样会影响IntelliJ IDEA的是什么? 我在Windows 10上使用AVAST! 。 我尝试禁用我的防病毒和防火墙,但它没有帮助。 我还提交了一份错误报告。 Eclipse仍然可以运行并编译Java代码。

I installed IntelliJ IDEA 15.0.1 Community Edition but when I run the application, it displays me the following error message:

Internal error. Please report to http://jb.gg/ide/critical-startup-errors java.lang.IllegalStateException: failed to create a child event loop at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:81) at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:50) at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:72) at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:58) at org.jetbrains.io.BuiltInServer.start(BuiltInServer.java:78) at com.intellij.idea.SocketLock$2.call(SocketLock.java:131) at com.intellij.idea.SocketLock$2.call(SocketLock.java:112) at com.intellij.idea.SocketLock.underLocks(SocketLock.java:155) at com.intellij.idea.SocketLock.lock(SocketLock.java:112) at com.intellij.idea.StartupUtil.lockSystemFolders(StartupUtil.java:263) at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:101) at com.intellij.idea.MainImpl.start(MainImpl.java:34) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:90) at java.lang.Thread.run(Thread.java:745) Caused by: io.netty.channel.ChannelException: failed to open a new selector at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:127) at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:119) at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:97) at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:31) at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:77) ... 17 more Caused by: java.io.IOException: Unable to establish loopback connection at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:101) at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:68) at java.security.AccessController.doPrivileged(Native Method) at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:170) at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50) at java.nio.channels.Pipe.open(Pipe.java:155) at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:127) at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44) at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:125) ... 21 more Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:139) at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:83) ... 29 more

The IDE doesn't boot up afterwards. It always worked flawlessly before but recently I have been getting this same error when trying to compile a Java project with IDEA version 14.5. After a clean installation of 15.0.1 it still doesn't work. It becomes quite obvious that the problem must be due to something I installed in the meantime but what could affect IntelliJ IDEA in such a way? I'm on Windows 10 and using AVAST!. I tried disabling my Antivirus and Firewall but it didn't help. I also submitted a bug report. Eclipse still runs and compiles Java code just fine.

最满意答案

它确实似乎是AVAST! 有关。 也许尝试重新安装或卸载它? https://youtrack.jetbrains.com/issue/IDEA-146929 https://bugs.mojang.com/browse/MC-34749

It does seem to be AVAST! related. Maybe try to reinstall or deinstall it? https://youtrack.jetbrains.com/issue/IDEA-146929 https://bugs.mojang.com/browse/MC-34749

更多推荐

本文发布于:2023-08-05 21:00:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1439254.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件夹   错误   系统   IntelliJ   Startup

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!