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

Exception when Files with some special characters are send to jobber-server by the runner #8

Open
michaelschnyder opened this issue Mar 27, 2017 · 0 comments
Labels
Milestone

Comments

@michaelschnyder
Copy link
Member

Originally reported from Jobbr < v1.0.0 before we made the component model refactoring, but this issue might still be in the source and therefore re-opening here

2016-04-12 14:01:34,375 [8] FATAL Unhandled Exception while processing request 'Method: POST, RequestUri: 'http://localhost/jobbr/client/jobRun/30982/artefacts', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Expect: 100-continue
  Host: localhost
  Content-Length: 445295
  Content-Type: multipart/form-data; boundary="55184c37-7c19-4e14-9d9a-00b4f16c3de4"
}' System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
   at System.IO.Path.Combine(String path1, String path2)
   at Jobbr.Server.Common.FileSystemArtefactsStorageProvider.Save(String container, String fileName, Stream content)
   at Jobbr.Server.Web.Controller.ExecutorController.AddArtefacts(Int64 jobRunId)
   at lambda_method(Closure , Object , Object[] )
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()
 ?.CallSite.Target 

First Screen shots actual working directory, where second screen shows the artefact content folder. The file with the name YYZ_-_Daily_Reports_(All)_2016-04-12_12-00-29-UTC.pdf is missing.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant