- Jul
- 37
- 0
I've been seeing this error here and there, and I'm wondering if there's a way around it?
An example when compiling code with Ant (only the last line matters. The rest are just for context):
[javac] Compiling 31 source files to R:\jeffy\programming\build\CLASSES
[javac] R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\examples\com\github\aliteralmind\codelet\examples\for_testing_only\TestingFileSysPropFailure.java:36: error: class TestingFileSysPropSuccess is public, should be declared in a file named TestingFileSysPropSuccess.java
[javac] public class TestingFileSysPropSuccess {
[javac] ^
[javac] R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\examples\com\github\aliteralmind\codelet\examples\for_testing_only\TestingFileSysPropSuccess.java:36: error: duplicate class: com.github.aliteralmind.codelet.examples.for_testing_only.TestingFileSysPropSuccess
[javac] public class TestingFileSysPropSuccess {
[javac] ^
[javac] 2 errors
BUILD FAILED
R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\build.xml:112: The following error occurred while executing this line:
R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\build.xml:116: The following error occurred while executing this line:
R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\build.xml:122: The following error occurred while executing this line:R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\build.xml:127: The following error occurred while executing this line:
R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\z_build\ant_sub_files\compile_examples.xml:5: The following error occurred while executing this line:
R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\z_build\ant_sub_files\compile_examples.xml:9: The following error occurred while executing this line:
R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\z_build\ant_sub_files\compile_examples.xml:18: Compile failed; see the compiler error output for details.Total time: 13 seconds
ERROR: The file is either empty or does not contain the valid choices.
Whenever this "The file is either empty or does not contain the valid choices" error appears, the tab is frozen and you need to close the tab and reopen it. You can't cancel it with Ctrl+C
Take Command itself is not frozen, and restarting the tab is possible. I'm wondering if there is a way to prevent this, or to get around it.
Thank you!
An example when compiling code with Ant (only the last line matters. The rest are just for context):
[javac] Compiling 31 source files to R:\jeffy\programming\build\CLASSES
[javac] R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\examples\com\github\aliteralmind\codelet\examples\for_testing_only\TestingFileSysPropFailure.java:36: error: class TestingFileSysPropSuccess is public, should be declared in a file named TestingFileSysPropSuccess.java
[javac] public class TestingFileSysPropSuccess {
[javac] ^
[javac] R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\examples\com\github\aliteralmind\codelet\examples\for_testing_only\TestingFileSysPropSuccess.java:36: error: duplicate class: com.github.aliteralmind.codelet.examples.for_testing_only.TestingFileSysPropSuccess
[javac] public class TestingFileSysPropSuccess {
[javac] ^
[javac] 2 errors
BUILD FAILED
R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\build.xml:112: The following error occurred while executing this line:
R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\build.xml:116: The following error occurred while executing this line:
R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\build.xml:122: The following error occurred while executing this line:R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\build.xml:127: The following error occurred while executing this line:
R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\z_build\ant_sub_files\compile_examples.xml:5: The following error occurred while executing this line:
R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\z_build\ant_sub_files\compile_examples.xml:9: The following error occurred while executing this line:
R:\jeffy\programming\sandbox\z__for_git_commit_only\codelet\z_build\ant_sub_files\compile_examples.xml:18: Compile failed; see the compiler error output for details.Total time: 13 seconds
ERROR: The file is either empty or does not contain the valid choices.
Whenever this "The file is either empty or does not contain the valid choices" error appears, the tab is frozen and you need to close the tab and reopen it. You can't cancel it with Ctrl+C
Take Command itself is not frozen, and restarting the tab is possible. I'm wondering if there is a way to prevent this, or to get around it.
Thank you!
Last edited: