This project is read-only.
1
Vote

After 1.5.6. beta crashes at startup (Win 7 x64 sp1)

description

Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "VidCoder.Services.IUpdater", name = "(none)".
Exception occurred while: Calling constructor VidCoder.Services.Updater().
Exception is: ResolutionFailedException - Resolution of the dependency failed, type = "VidCoder.Services.ILogger", name = "(none)".
Exception occurred while: Calling constructor VidCoder.Services.Logger().

Exception is: TypeInitializationException - The type initializer for 'HandBrake.Interop.HandBrakeUtils' threw an exception.

At the time of the exception, the container was:

Resolving VidCoder.Services.Logger,(none) (mapped from VidCoder.Services.ILogger, (none))

Calling constructor VidCoder.Services.Logger()

At the time of the exception, the container was:

Resolving VidCoder.Services.Updater,(none) (mapped from VidCoder.Services.IUpdater, (none))
Calling constructor VidCoder.Services.Updater()
---> Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "VidCoder.Services.ILogger", name = "(none)".
Exception occurred while: Calling constructor VidCoder.Services.Logger().

Exception is: TypeInitializationException - The type initializer for 'HandBrake.Interop.HandBrakeUtils' threw an exception.

At the time of the exception, the container was:

Resolving VidCoder.Services.Logger,(none) (mapped from VidCoder.Services.ILogger, (none))
Calling constructor VidCoder.Services.Logger()
---> System.TypeInitializationException: The type initializer for 'HandBrake.Interop.HandBrakeUtils' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'hb.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at HandBrake.Interop.HbLib.HBFunctions.hb_global_init()
at HandBrake.Interop.HandBrakeUtils..cctor() in d:\docs\projects\HandBrakeSVN\win\CS\HandBrake.Interop\HandBrakeInterop\HandBrakeUtils.cs:line 64
--- End of inner exception stack trace ---
at HandBrake.Interop.HandBrakeUtils.add_MessageLogged(EventHandler1 value)
at VidCoder.Services.Logger..ctor(ILogger parent, String baseFileName) in d:\docs\projects\VidCoder\VidCoder\Services\Logger.cs:line 37
at BuildUp_VidCoder.Services.Logger(IBuilderContext )
at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable
1 resolverOverrides)
--- End of inner exception stack trace ---
at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable1 resolverOverrides)
at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable
1 resolverOverrides)
at Microsoft.Practices.Unity.UnityContainerExtensions.Resolve[T](IUnityContainer container, ResolverOverride[] overrides)
at VidCoder.Services.Updater..ctor() in d:\docs\projects\VidCoder\VidCoder\Services\Updater.cs:line 59
at BuildUp_VidCoder.Services.Updater(IBuilderContext )
at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable1 resolverOverrides)
--- End of inner exception stack trace ---
at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable
1 resolverOverrides)
at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable`1 resolverOverrides)
at Microsoft.Practices.Unity.UnityContainerExtensions.Resolve[T](IUnityContainer container, ResolverOverride[] overrides)
at VidCoder.App.OnStartup(StartupEventArgs e) in d:\docs\projects\VidCoder\VidCoder\App.xaml.cs:line 122
at System.Windows.Application.<.ctor>b__1(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

comments

RandomEngy wrote Oct 22, 2013 at 3:52 PM

Hmm, this is the problem Windows XP users are seeing. Usually it means that you're missing OpenCL.dll.

Angel181155 wrote Oct 22, 2013 at 11:13 PM

Ver. 1.5.6. is only working for me. 1,5,5 opens the main window but crashes with the same message when I press settings button. Vers. 1.5.7, 8 and 9 crashes at startup. I'm Win 7 x64 sp1.