Skip to content
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

executionStrategy.Execute on submission №463718 has thrown an exception: System.IO.IOException: Cannot create a file when that file already exists. #496

Open
NikolayIT opened this issue Apr 5, 2015 · 0 comments

Comments

@NikolayIT
Copy link
Owner

2015-04-05 12:46:51,103 [Thread №2] ERROR Job №2 executionStrategy.Execute on submission №463718 has thrown an exception: System.IO.IOException: Cannot create a file when that file already exists.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__Error.WinIOError()
   at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
   at OJS.Workers.Compilers.Compiler.Compile(String compilerPath, String inputFile, String additionalArguments) in c:\Dev\OpenJudgeSystem\Open Judge System\Workers\OJS.Workers.Compilers\Compiler.cs:line 65
   at OJS.Workers.ExecutionStrategies.ExecutionStrategy.Compile(CompilerType compilerType, String compilerPath, String compilerArguments, String submissionFilePath) in c:\Dev\OpenJudgeSystem\Open Judge System\Workers\OJS.Workers.ExecutionStrategies\ExecutionStrategy.cs:line 115
   at OJS.Workers.ExecutionStrategies.ExecutionStrategy.CompileExecuteAndCheck(ExecutionContext executionContext, Func`2 getCompilerPathFunc, IExecutor executor) in c:\Dev\OpenJudgeSystem\Open Judge System\Workers\OJS.Workers.ExecutionStrategies\ExecutionStrategy.cs:line 18
   at OJS.Workers.ExecutionStrategies.CompileExecuteAndCheckExecutionStrategy.Execute(ExecutionContext executionContext) in c:\Dev\OpenJudgeSystem\Open Judge System\Workers\OJS.Workers.ExecutionStrategies\CompileExecuteAndCheckExecutionStrategy.cs:line 21
   at OJS.Workers.LocalWorker.SubmissionJob.ProcessSubmission(Submission submission) in c:\Dev\OpenJudgeSystem\Open Judge System\Workers\OJS.Workers.LocalWorker\SubmissionJob.cs:line 180
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant