THE FORUM IS IN READ-ONLY MODE

This forum is in read-only mode. The new forum is live at https://discourse.openbullet.dev and registrations are open!

Openbullet not launching



  • My DB file isnt too big, i have the .NET framework, but whenever I run openbullet, it just shows as suspended in task manager and quits.

    Heres my log file

    [FATAL][Application.Current.DispatcherUnhandledException] UHANDLED EXCEPTION
    System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'OpenBullet.MainWindow' that matches the specified binding constraints threw an exception. ---> System.InvalidCastException: Unable to cast object of type 'LiteDB.EmptyPage' to type 'LiteDB.DataPage'.
       at LiteDB.PageService.GetPage[T](UInt32 pageID)
       at LiteDB.QueryCursor.Fetch(TransactionService trans, DataService data, BsonReader bsonReader)
       at LiteDB.LiteEngine.<Find>d__9.MoveNext()
       at LiteDB.LiteEngine.<Find>d__13.MoveNext()
       at LiteDB.LiteCollection`1.<Find>d__17.MoveNext()
       at System.Collections.ObjectModel.ObservableCollection`1.CopyFrom(IEnumerable`1 collection)
       at System.Collections.ObjectModel.ObservableCollection`1..ctor(IEnumerable`1 collection)
       at OpenBullet.ViewModels.WordlistManagerViewModel.RefreshList() in C:\projects\openbullet\OpenBullet\ViewModels\WordlistManagerViewModel.cs:line 102
       at OpenBullet.ViewModels.WordlistManagerViewModel..ctor() in C:\projects\openbullet\OpenBullet\ViewModels\WordlistManagerViewModel.cs:line 38
       at OpenBullet.MainWindow..ctor() in C:\projects\openbullet\OpenBullet\MainWindow.xaml.cs:line 214
       --- End of inner exception stack trace ---
       at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
       at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
       at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
       at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
       at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
       at System.Windows.Application.DoStartup()
       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)[FATAL][AppDomain.CurrentDomain.UnhandledException] UHANDLED EXCEPTION
    System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'OpenBullet.MainWindow' that matches the specified binding constraints threw an exception. ---> System.InvalidCastException: Unable to cast object of type 'LiteDB.EmptyPage' to type 'LiteDB.DataPage'.
       at LiteDB.PageService.GetPage[T](UInt32 pageID)
       at LiteDB.QueryCursor.Fetch(TransactionService trans, DataService data, BsonReader bsonReader)
       at LiteDB.LiteEngine.<Find>d__9.MoveNext()
       at LiteDB.LiteEngine.<Find>d__13.MoveNext()
       at LiteDB.LiteCollection`1.<Find>d__17.MoveNext()
       at System.Collections.ObjectModel.ObservableCollection`1.CopyFrom(IEnumerable`1 collection)
       at System.Collections.ObjectModel.ObservableCollection`1..ctor(IEnumerable`1 collection)
       at OpenBullet.ViewModels.WordlistManagerViewModel.RefreshList() in C:\projects\openbullet\OpenBullet\ViewModels\WordlistManagerViewModel.cs:line 102
       at OpenBullet.ViewModels.WordlistManagerViewModel..ctor() in C:\projects\openbullet\OpenBullet\ViewModels\WordlistManagerViewModel.cs:line 38
       at OpenBullet.MainWindow..ctor() in C:\projects\openbullet\OpenBullet\MainWindow.xaml.cs:line 214
       --- End of inner exception stack trace ---
       at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
       at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
       at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
       at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
       at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
       at System.Windows.Application.DoStartup()
       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)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       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)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at OpenBullet.App.Main()
    

  • Admin

    Corrupted DB 😞 not much you can do. OB2 will have a better database, sorry about the inconvenient.



  • @Ruri Would making an openbullet mod with SQLite be difficult?


  • Admin

    It's gonna take quite a lot of work, yes. I suggest waiting.



  • Okay 🙂 Thx for reply



  • @Ruri Fuck, is there a way to extract my hits. Even when I delete the db from the folder it still wont launch.


  • Admin

    Hmm if you delete the db and it still doesn't launch it might be some other problem, but the exception you posted above is clearly related to the db. Did you get any different exception dump after deleting the db?


Log in to reply