2016-02-02 59 views
0

在我的辦公室裏,安裝程序有一些限制,所以我想要搜索並查看是否有可移植的phpstorm(即使我喜歡崇高的),但我仍然想用phpstorm代替,而且我經歷了一些網站大多都在談論webstorm和少數談到phpstorm提到下載的ZIP和修改idea.properties文件,那麼它應該工作,但編輯我試圖打開phpstorm.exe文件,但此錯誤消息後大作phpstorm 10便攜錯誤

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.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.a(SocketLock.java:157) 
    at com.intellij.idea.SocketLock.lock(SocketLock.java:113) 
    at com.intellij.idea.StartupUtil.a(StartupUtil.java:263) 
    at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:101) 
    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.idea.MainImpl.start(MainImpl.java:36) 
    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) 
    ... 22 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) 
    ... 26 more 
Caused by: java.net.SocketException: Invalid argument: socket 
    at sun.nio.ch.Net.socket0(Native Method) 
    at sun.nio.ch.Net.serverSocket(Net.java:420) 
    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:108) 
    at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:123) 
    at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:83) 
    ... 34 more 

** idea.properties文件**我取消註釋這四條線

#--------------------------------------------------------------------- 
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes. 
#--------------------------------------------------------------------- 
idea.config.path=${user.home}/.WebIde/config 

#--------------------------------------------------------------------- 
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes. 
#--------------------------------------------------------------------- 
idea.system.path=${user.home}/.WebIde/system 

#--------------------------------------------------------------------- 
# Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes. 
#--------------------------------------------------------------------- 
idea.plugins.path=${idea.config.path}/plugins 

#--------------------------------------------------------------------- 
# Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes. 
#--------------------------------------------------------------------- 
idea.log.path=${idea.system.path}/log 

我還與idea.properties(改變$用戶$想法)

#--------------------------------------------------------------------- 
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes. 
#--------------------------------------------------------------------- 
idea.config.path=${idea.home}/.WebIde/config 

#--------------------------------------------------------------------- 
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes. 
#--------------------------------------------------------------------- 
idea.system.path=${idea.home}/.WebIde/system 

#--------------------------------------------------------------------- 
# Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes. 
#--------------------------------------------------------------------- 
idea.plugins.path=${idea.config.path}/plugins 

#--------------------------------------------------------------------- 
# Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes. 
#--------------------------------------------------------------------- 
idea.log.path=${idea.system.path}/log 

有沒有人能夠給我一個手如何使這項工作試過嗎?

在此先感謝

+0

放在這裏你的idea.properties文件。 –

+0

@JoseCarlosRamosCarmenates我只添加了4條未註釋的行,除非你想讓我把整行文件放在一行中 – Dora

回答

0

如果您使用的是Windows,你必須承擔這一評論,它出現在idea.properties文件的開頭:

Windows用戶注意事項:請確保您使用正斜槓(例如c:/ idea/system)。

您可以替換所有路徑。

+0

是的,我沒有替換'M:/'的路徑,但仍然得到我發佈的錯誤 – Dora

+0

請把你的完整路徑。 –

+0

除了我提到的和你提醒的之外,我還改變了這樣的路徑:'idea.config.path = M:/。WebIde/config'' idea.system.path = M:/.WebIde/system' 'idea.plugins.path = M:/ plugins' 'idea.log.path = M:/ log'仍然出現錯誤 – Dora