Unable to Debug

已回答

I was debbuging my project and for some reason the pc restarted. And after turning on the pc again I tried to debug the project and a message pop up the following:

Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:8080

Running the project works fine, but debug doesn't work anymore.

 

1

Try reinstalling the server. See if you can start/stop the server from the command line scripts outside of IntelliJ IDEA.

Remove the server configuration in IntelliJ IDEA and add it again. Remove Run/Debug Tomcat configuration and add a new one.

Delete idea.system.path, some cached files may be corrupted there (https://intellij-support.jetbrains.com/hc/articles/206544519).

-1
Avatar
Permanently deleted user

I have almost the same problem, except I can't even run the server, not just debug. I have IntelliJ IDEA installed in default windows location (Program Files) and I tried adding new configuration (and only adding my artefacts) and even deleting the idea.system.path directory.

I'm able to run the server from the command line just fine.

Looks like there is some problem with default startup command line parameters?

Files\JetBrains\IntelliJ was unexpected at this time.

Log:

C:\Users\xxx\Work\XXX\JBoss-6.4.0-EAP\bin\standalone.bat
"C:\Program Files\Java\jdk1.8.0_151\bin\java" -Dfile.encoding=windows-1250 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 173.2463.16\lib\idea_rt.jar" com.intellij.rt.execution.CommandLineWrapper C:\Users\xxx\AppData\Local\Temp\idea_classpath com.intellij.javaee.oss.process.JavaeeProcess 52514 com.intellij.javaee.oss.jboss.agent.JBoss71Agent
Files\JetBrains\IntelliJ was unexpected at this time.
Calling "C:\Users\xxx\Work\XXX\JBoss-6.4.0-EAP\bin\standalone.conf.bat"
[2017-10-23 04:22:49,791] Artifact XXX:ear: Waiting for server connection to start artifact deployment...
[2017-10-23 04:22:49,791] Artifact YYY:ear: Waiting for server connection to start artifact deployment...
Detected server admin port: 9999
Detected server http port: 8080
Disconnected from server
0

I tried everything Serge, and none of those fixed the issue. The issue was happening with the latest version of IntelliJ (2017.1.5). I went back to 2017.1.4 and it seems to work again. 

0

Please follow the related issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-180537

0

请先登录再写评论。