Latest beta Crash on Startup

Apr 15, 2013 at 2:29 PM
Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "VidCoder.ViewModel.Components.ProcessingViewModel", name = "(none)".
Exception occurred while: Calling constructor VidCoder.ViewModel.Components.ProcessingViewModel().
Exception is: ResolutionFailedException - Resolution of the dependency failed, type = "VidCoder.ViewModel.Components.PresetsViewModel", name = "(none)".
Exception occurred while: Calling constructor VidCoder.ViewModel.Components.PresetsViewModel().

Exception is: NullReferenceException - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

At the time of the exception, the container was:

Resolving VidCoder.ViewModel.Components.PresetsViewModel,(none)

Calling constructor VidCoder.ViewModel.Components.PresetsViewModel()

At the time of the exception, the container was:

Resolving VidCoder.ViewModel.Components.ProcessingViewModel,(none)
Calling constructor VidCoder.ViewModel.Components.ProcessingViewModel()
---> Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "VidCoder.ViewModel.Components.PresetsViewModel", name = "(none)".
Exception occurred while: Calling constructor VidCoder.ViewModel.Components.PresetsViewModel().

Exception is: NullReferenceException - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

At the time of the exception, the container was:

Resolving VidCoder.ViewModel.Components.PresetsViewModel,(none)
Calling constructor VidCoder.ViewModel.Components.PresetsViewModel()
---> System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei VidCoder.Model.Presets.ErrorCheckPresets(List1 presets) in d:\docs\projects\VidCoder\VidCoder\Model\Presets.cs:Zeile 369.
bei VidCoder.Model.Presets.get_UserPresets() in d:\docs\projects\VidCoder\VidCoder\Model\Presets.cs:Zeile 73.
bei VidCoder.ViewModel.Components.PresetsViewModel..ctor() in d:\docs\projects\VidCoder\VidCoder\ViewModel\Components\PresetsViewModel.cs:Zeile 36.
bei BuildUp_VidCoder.ViewModel.Components.PresetsViewModel(IBuilderContext )
bei Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
bei Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
bei Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable
1 resolverOverrides)
--- Ende der internen Ausnahmestapelüberwachung ---
bei Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable1 resolverOverrides)
bei Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable
1 resolverOverrides)
bei Microsoft.Practices.Unity.UnityContainerExtensions.Resolve[T](IUnityContainer container, ResolverOverride[] overrides)
bei VidCoder.ViewModel.Components.ProcessingViewModel..ctor() in d:\docs\projects\VidCoder\VidCoder\ViewModel\Components\ProcessingViewModel.cs:Zeile 45.
bei BuildUp_VidCoder.ViewModel.Components.ProcessingViewModel(IBuilderContext )
bei Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
bei Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
bei Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable1 resolverOverrides)
--- Ende der internen Ausnahmestapelüberwachung ---
bei Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable
1 resolverOverrides)
bei Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable`1 resolverOverrides)
bei Microsoft.Practices.Unity.UnityContainerExtensions.Resolve[T](IUnityContainer container, ResolverOverride[] overrides)
bei VidCoder.ViewModel.MainViewModel..ctor() in d:\docs\projects\VidCoder\VidCoder\ViewModel\MainViewModel.cs:Zeile 91.
bei VidCoder.App.OnStartup(StartupEventArgs e) in d:\docs\projects\VidCoder\VidCoder\App.xaml.cs:Zeile 139.
bei System.Windows.Application.<.ctor>b__1(Object unused)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)


So long...
Coordinator
Apr 15, 2013 at 4:32 PM
Not sure exactly what's going on I'll give you a debug build later to try this on but for now does renaming %appdata%\VidCoder\VidCoder.sqlite stop the crash?
Apr 15, 2013 at 5:29 PM
Yes but all my Presets are gone, too.

Mara
Coordinator
Apr 15, 2013 at 5:45 PM
Okay could you send that .sqlite file you renamed to me? I think it got corrupted somehow; if you give me the file I can figure out how it was corrupted and possibly fix it.


Apr 15, 2013 at 7:11 PM
Done.

Mara