Error on startup
Issue #4926
new
I just got this error, I assume it might help with something:
(Inner Exception)
模块文件不存在:D:\LaunchBox\VLC\x64\libvlccore.dll
App: Big Box
Version: 9.9
Type: System.Exception
Site: IntPtr (System.String)
Source: Unbroken.LaunchBox
at (String )
at Meta.Vlc.Win32Api.LoadLibrary(String lpFileName)
at (String )
at Meta.Vlc.LibVlcManager.LoadLibVlc(String libVlcDirectory)
at ()
at Meta.Vlc.Wpf.ApiManager.Initialize()
at Meta.Vlc.Wpf.ApiManager.Initialize(String libVlcPath, String[] vlcOption)
at (VlcPlayer , String , String[] )
at Meta.Vlc.Wpf.VlcPlayer.Initialize(String libVlcPath, String[] libVlcOption)
at (VlcPlayer , EventArgs )
at Meta.Vlc.Wpf.VlcPlayer.OnInitialized(EventArgs e)
at System.Windows.FrameworkElement.TryFireInitialized()
at System.Windows.FrameworkElement.AddLogicalChild(Object child)
at System.Windows.Controls.UIElementCollection.AddInternal(UIElement element)
at (ImageVideoView )
at Unbroken.LaunchBox.Wpf.Views.ImageVideoView.<.ctor>b__8_0()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority)
at (Action , DispatcherPriority )
at Unbroken.LaunchBox.Wpf.Threading.Invoke(Action callback, DispatcherPriority priority)
at Unbroken.LaunchBox.Wpf.Views.ImageVideoView..ctor()
at Unbroken.LaunchBox.Wpf.BigBox.ViewModels.MainViewModel..ctor()
(Outer Exception)
Exception has been thrown by the target of an invocation.
App: Big Box
Version: 9.9
Type: System.Reflection.TargetInvocationException
Site: System.Object CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
Source: mscorlib
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Caliburn.Micro.BootstrapperBase.DisplayRootViewFor(Type viewModelType, IDictionary`2 settings)
at (Bootstrapper , Object , StartupEventArgs )
at Unbroken.LaunchBox.Wpf.BigBox.Bootstrapper.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Recent Log:
5:26:22 PM Exception
This happens on Big Box’s startup.
Looks like it is referencing an issue with VLC. Close Launchbox/BigBox and delete the VLC folder located in the Launchbox root folder. Then restart Launchbox and it will regenerate it. See if that fixes it. If not I recommend posting on the forum or Discord where it will be easier to troubleshoot from.
If the issue persists posts on the forum. There is more activity there and we can help better.