-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to compile with autoCp for java in intellij ultimate. It shows "Error : Test Framework quit unexpectedly" #102
Comments
Hi, I could not reproduce this error. Is this error occurring only for new projects ? was AutoCp working before ? |
I have never used Autocp I just recently installed plugin and it shows me this error. |
Can u run it again and check if there is any directory like "/tmp/AutoCp..." is being created. |
yes the directory is definetely being created. But it is still throwing the same error. |
I am also getting an IDE internal error because of AutoCp plugin: com.intellij.openapi.editor.ReadOnlyModificationException: Attempt to modify read-only document |
Hey, I am also having problems. I encountered the error I will open a separate issue for my java issue. |
I'm having similar issue too.
|
Can u create a new issue with more details like what commands did you check in terminal and if any settings u have changed from defaults and is your folder structure different from default like you renamed something... |
Describe the bug
I am not able to run programs using autocp for java in intellij idea ultimate.It shows "Error : Test Framework quit unexpectedly".
I am using UBUNTU 22.04.1 LTS.
BELOW IS THE FULL ERROR MESSAGE :
Testing started at 11:38 pm ...
Building "C. Sereja and Brackets" ...
This was not supposed to happen, please file an issue
Error message:
Cannot run program "javac" (in directory "/tmp/AutoCp8746492203352981476"): error=2, No such file or directory
Stacktrace:
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "javac" (in directory "/tmp/AutoCp8746492203352981476"): error=2, No such file or directory
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:362)
at com.github.pushpavel.autocp.tester.base.TwoStepProcessFactory$Companion.from(TwoStepProcessFactory.kt:43)
at com.github.pushpavel.autocp.tester.base.TwoStepProcessFactory$Companion$from$1.invokeSuspend(TwoStepProcessFactory.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: java.io.IOException: Cannot run program "javac" (in directory "/tmp/AutoCp8746492203352981476"): error=2, No such file or directory
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:438)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:352)
... 8 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
at java.base/java.lang.ProcessImpl.(ProcessImpl.java:314)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:244)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)
... 11 more
END OF ERROR MSG:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: