2014-12-16 13 views
7

In IntelliJ IDEA Community Edition 14.0.2 versuche ich, Java Applet auszuführen, und jedes Mal, wenn ich versuche, ein Projekt auszuführen, habe ich diesen Dummy-Fehler erhalten.Fehler beim Erstellen einer untergeordneten Ereignisschleife

Error: Failed to create a child event loop 

Was ich

  1. Programm neu erstellt Hallo Welt Kompilieren versucht haben
  2. aktualisieren IntelliJ
  3. Uninstall & Neu installieren
  4. von Windows-Firewall zulassen Regel
  5. Deaktivieren von Antivirus-Programm

Ich verwende Windows 8.1 mit Anti-Virus-Programm Windows Defender.

Fehler Detail aus Log-Datei:

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:60) 
    at org.jetbrains.ide.BuiltInServerManagerImpl$1.run(BuiltInServerManagerImpl.java:111) 
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:405) 
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
    at java.lang.Thread.run(Thread.java:745) 
    at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56) 
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) 
    ... 12 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) 
    ... 16 more 
Caused by: java.net.SocketException: Network is unreachable: connect 
    at sun.nio.ch.Net.connect0(Native Method) 
    at sun.nio.ch.Net.connect(Net.java:457) 
    at sun.nio.ch.Net.connect(Net.java:449) 
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:647) 
    at java.nio.channels.SocketChannel.open(SocketChannel.java:189) 
    at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:130) 
    at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:83) 
    ... 24 more 
+0

manchmal bekomme ich diesen Fehler und einfach erneut ausführen und es verschwindet. Einmal musste ich meinen PC neu starten, um diesen Fehler zu beheben. Ich denke, es ist ein Fehler in intellij - [Problem Link] (https://youtrack.jetbrains.com/issue/IDEA-123132) –

Antwort

2

Firewall deaktivieren oder idea.exe voll richtigen Pfad zu abgehende Verbindungs ​​Regeln der Firewall hinzufügen.
Es half mir mit IDEA 14.0.3

0

Ich fand den gleichen Fehler, wenn wir unsere Anwendung auf einem Windows Server bereitstellen, jedoch hat dieser Server keine Antivirus-Software und die Firewall ist deaktiviert. In unserem Fall ist es wegen des Astrill VPN, wenn wir das Astrill VPN deaktivieren, würde das Problem verschwinden.

Verwandte Themen