Community
Participate
Working Groups
I searched the whole ".metadata" folder for .xml files they contain "SonoffMiniJUnitTest" ... but as a run config, i only found "SonoffMiniJUnitTest (1)" The only one SonoffMiniJUnitTest i've found there are from the java class: SonoffMiniJUnitTest.java. If you need more infos, so don't hesitate to contact me. thx. regards, jan
Created attachment 283747 [details] .xml files `20200730-153710.902.xml` and `launchConfigurationHistory.xml` from .metadata folder files are attached now
To clean project and restart does also not help...
to close all other projects, then delete run config and try to rename again does also not help. same situation - "does alrady exist" (WTF?!?)
Created attachment 283748 [details] here are all files from the workspace they contains something with "SonoffMiniJUnitTest" here are all files from the workspace they contains something with "SonoffMiniJUnitTest" ---
Currently, the only one solution seems to be to rename the java class e.g. to `SonoffMiniApacheHTTPClientJUnitTest` But that's not a solution - just resignation!!
Can you check in your workpace .metadata the following folder <workspace>/.metadata/.plugins/org.eclipse.debug.core/.launches/ From your listing, it would contain 'SonoffMiniJUnitTest.launch' and 'SonoffMiniJUnitTest (1).launch'. If not where is the 'SonoffMiniJUnitTest.launch' located? Also, I would expect that in your list of run configuration those two configurations are listed, Run > Run Configurations.
1.) Yes, the file `SonoffMiniJUnitTest.launch` is in <workspace>/.metadata/.plugins/org.eclipse.debug.core/.launches/ 2.) No it's NOT in Run Configuration - neither in Junit, nor in Debug, nor in whatever!! So what you meant is wrong: "Also, I would expect that in your list of run configuration those two configurations are listed, Run > Run Configurations." 3.) But if the file <workspace>/.metadata/.plugins/org.eclipse.debug.core/.launches/SonoffMiniJUnitTest.launch exists, and will not be shown in eclipse, i can't create a configuration with that name anymore... 4.) So that's CLEARLY A BUG, so d'ont hesitete if you need more infos! 5.) Delting the file solved my problem, but it didn't solved the reason for the bug so i think.,,
solved?
(In reply to Hans Müller from comment #7) > 1.) Yes, the file `SonoffMiniJUnitTest.launch` is in > <workspace>/.metadata/.plugins/org.eclipse.debug.core/.launches/ And is the reason why you cannot create a new one with this name. > 2.) No it's NOT in Run Configuration - neither in Junit, nor in Debug, nor > in whatever!! So what you meant is wrong: "Also, I would expect that in your > list of run configuration those two configurations are listed, Run > Run > Configurations." Because by default the filter "Filter Deleted/Unavailable Projects" is enabled and hides the existing "SonoffMiniJUnitTest" launch. I admit the error message/handling has room for improvements here. Depending on how you deleted the project it could be a bug that the launch configuration was not deleted as well but I'm actually not sure what the desired behavior is in that case.
ok thx! :-) regards, Jan