IDEA无法正常启动

IDEA无法正常启动

 

  今天在清理电脑后遇到一个问题,双击IDEA图标无法启动给出了一长串的错误。

报错: cannot lock system foiders

错误信息如下:

Internal Error. Please report to https://https://code.google.com/p/android/issuesjava.lang.IllegalStateException: failed to create a child event loopat io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:81)at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:48)at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:57)at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:67)at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:54)at org.jetbrains.io.BuiltInServer.start(BuiltInServer.java:79)at com.intellij.idea.SocketLock$2.call(SocketLock.java:133)at com.intellij.idea.SocketLock$2.call(SocketLock.java:113)at com.intellij.idea.SocketLock.underLocks(SocketLock.java:157)at com.intellij.idea.SocketLock.lock(SocketLock.java:113)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:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:606)at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:91)at java.lang.Thread.run(Thread.java:744)Caused by: io.netty.channel.ChannelException: failed to open a new selectorat 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)... 18 moreCaused by: java.io.IOException: Unable to establish loopback connectionat sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:125)at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:69)at java.security.AccessController.doPrivileged(Native Method)at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:141)at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50)at java.nio.channels.Pipe.open(Pipe.java:150)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)... 22 moreCaused by: java.net.SocketException: Unrecognized Windows Sockets error: 87: socketat sun.nio.ch.Net.socket0(Native Method)at sun.nio.ch.Net.serverSocket(Net.java:427)at sun.nio.ch.ServerSocketChannelImpl.<init>(ServerSocketChannelImpl.java:88)at sun.nio.ch.SelectorProviderImpl.openServerSocketChannel(SelectorProviderImpl.java:56)at java.nio.channels.ServerSocketChannel.open(ServerSocketChannel.java:105)at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:90)... 30 more

 

解决方案:

  1. 打开命令提示符(管理员),输入netsh winsock reset,返回已成功等字样

  1. 重启计算机
  2. 双击IDEA打开,正常运行。

 

猜你喜欢

转载自blog.csdn.net/qq_42672839/article/details/81584403
今日推荐