Hi,
We’re loving Octopus and we’re soon going to use it to publish to production for the first time.
I’m getting the below exception when trying to deploy to a tentacle.The full error in the website is as below.
Also, the health check for the tentacle is good, and a deploy to another tentacle with the same release succeeds. The only differences are with connection strings. I’m also using the latest and greatest v1.
Thanks,
Tim
An exception was thrown while invoking the constructor ‘Void .ctor(Octopus.Shared.Configuration.ITentacleConfiguration, Octopus.Shared.Util.IOctopusFileSystem)’ on type ‘PackageService’.
Stage 2: Uploading packages to Tentacles
2012-06-22 15:18:51 INFO Preparing to upload packages
2012-06-22 15:18:51 INFO Uploading packages…
2012-06-22 15:18:51 ERROR System.ServiceModel.FaultException1[System.ServiceModel.ExceptionDetail]: An exception was thrown while invoking the constructor 'Void .ctor(Octopus.Shared.Configuration.ITentacleConfiguration, Octopus.Shared.Util.IOctopusFileSystem)' on type 'PackageService'. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Octopus.Shared.Configuration.ITentacleConfiguration, Octopus.Shared.Util.IOctopusFileSystem)' on type 'PackageService'. ----> System.ArgumentNullException: Value cannot be null. Parameter name: path1 at System.IO.Path.Combine(String path1, String path2) at Octopus.Tentacle.Services.Packages.PackageService..ctor(ITentacleConfiguration tentacleConfiguration, IOctopusFileSystem fileSystem) in c:\BuildAgent\work\7bf5272a44079f5\source\Octopus.Tentacle\Services\Packages\PackageService.cs:line 19 --- End of inner ExceptionDetail stack trace --- at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable
1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Act…).
2012-06-22 15:18:52 ERROR System.ServiceModel.FaultException1[System.ServiceModel.ExceptionDetail]: An exception was thrown while invoking the constructor 'Void .ctor(Octopus.Shared.Configuration.ITentacleConfiguration, Octopus.Shared.Util.IOctopusFileSystem)' on type 'PackageService'. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Octopus.Shared.Configuration.ITentacleConfiguration, Octopus.Shared.Util.IOctopusFileSystem)' on type 'PackageService'. ----> System.ArgumentNullException: Value cannot be null. Parameter name: path1 at System.IO.Path.Combine(String path1, String path2) at Octopus.Tentacle.Services.Packages.PackageService..ctor(ITentacleConfiguration tentacleConfiguration, IOctopusFileSystem fileSystem) in c:\BuildAgent\work\7bf5272a44079f5\source\Octopus.Tentacle\Services\Packages\PackageService.cs:line 19 --- End of inner ExceptionDetail stack trace --- at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable
1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Act…).
2012-06-22 15:18:53 ERROR System.ServiceModel.FaultException1[System.ServiceModel.ExceptionDetail]: An exception was thrown while invoking the constructor 'Void .ctor(Octopus.Shared.Configuration.ITentacleConfiguration, Octopus.Shared.Util.IOctopusFileSystem)' on type 'PackageService'. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Octopus.Shared.Configuration.ITentacleConfiguration, Octopus.Shared.Util.IOctopusFileSystem)' on type 'PackageService'. ----> System.ArgumentNullException: Value cannot be null. Parameter name: path1 at System.IO.Path.Combine(String path1, String path2) at Octopus.Tentacle.Services.Packages.PackageService..ctor(ITentacleConfiguration tentacleConfiguration, IOctopusFileSystem fileSystem) in c:\BuildAgent\work\7bf5272a44079f5\source\Octopus.Tentacle\Services\Packages\PackageService.cs:line 19 --- End of inner ExceptionDetail stack trace --- at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable
1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Act…).