PDF Creator Instant crash!


#1

Hello,

I've been using PDF Creator for sometime now and I'm experiencing instant crash that happens whenever I'm in the process of merging all the jobs together. I checked the log, & I found this error below,
(Also, please note that this is the latest version of the program as I thought this could fix the issue, but the same problem still exist)

2019-01-07 14:22:34.5121 [Error] pdfforge.PDFCreator.Core.Workflow.JobInfoQueueManager.ProcessJobs: There was an error while processing the print jobs: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List1.Enumerator.MoveNextRare() at pdfforge.PDFCreator.Conversion.Jobs.JobInfo.JobInfoManager.Merge(JobInfo jobInfo, JobInfo jobinfoToMerge) at pdfforge.PDFCreator.UI.Presentation.Windows.ManagePrintJobsViewModel.ExecuteMergeJobs(Object o) at pdfforge.PDFCreator.UI.Presentation.Windows.ManagePrintJobsViewModel.ExecuteMergeAllJobs(Object o) at pdfforge.Obsidian.DelegateCommand1.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(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.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.ShowDialog()
at pdfforge.Obsidian.Helper.WpfTopMostHelper.ShowDialogTopMost(Window window, Boolean revertWhenActive)
at pdfforge.Obsidian.Helper.OpenWindowHelper.ShowWindowTopmost(Window window, Boolean isModal)
at pdfforge.Obsidian.Helper.OpenWindowHelper.ShowWindow(Window window, IInteractionAware viewModel, IInteraction interaction, WindowOptions windowOptions, Boolean isModal, Action callback)
at pdfforge.Obsidian.Helper.OpenWindowHelper.ShowWindow(Window window, IInteraction interaction, WindowOptions windowOptions, Boolean isModal, Action callback)
at pdfforge.Obsidian.InteractionInvoker.Invoke[T](T interaction)
at pdfforge.PDFCreator.Core.Workflow.JobInfoQueueManager.ProcessJobs()
2019-01-07 14:22:34.6361 [Fatal] pdfforge.PDFCreator.Editions.EditionBase.ProgramBase.CurrentDomain_UnhandledException: Uncaught exception, IsTerminating: True System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List1.Enumerator.MoveNextRare() at pdfforge.PDFCreator.Conversion.Jobs.JobInfo.JobInfoManager.Merge(JobInfo jobInfo, JobInfo jobinfoToMerge) at pdfforge.PDFCreator.UI.Presentation.Windows.ManagePrintJobsViewModel.ExecuteMergeJobs(Object o) at pdfforge.PDFCreator.UI.Presentation.Windows.ManagePrintJobsViewModel.ExecuteMergeAllJobs(Object o) at pdfforge.Obsidian.DelegateCommand1.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(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.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.ShowDialog()
at pdfforge.Obsidian.Helper.WpfTopMostHelper.ShowDialogTopMost(Window window, Boolean revertWhenActive)
at pdfforge.Obsidian.Helper.OpenWindowHelper.ShowWindowTopmost(Window window, Boolean isModal)
at pdfforge.Obsidian.Helper.OpenWindowHelper.ShowWindow(Window window, IInteractionAware viewModel, IInteraction interaction, WindowOptions windowOptions, Boolean isModal, Action callback)
at pdfforge.Obsidian.Helper.OpenWindowHelper.ShowWindow(Window window, IInteraction interaction, WindowOptions windowOptions, Boolean isModal, Action callback)
at pdfforge.Obsidian.InteractionInvoker.Invoke[T](T interaction)
at pdfforge.PDFCreator.Core.Workflow.JobInfoQueueManager.ProcessJobs()
at pdfforge.PDFCreator.Utilities.Threading.SynchronizedThread.RunThread()
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 System.Threading.ThreadHelper.ThreadStart()

Please help,

Thank you,


#2

Hi there,

PDFCreator does not seem to find the correct version of Obsidian, which is a DLL file. Please try first of all a fresh installation of PDFCreator: https://support.pdfforge.org/article/42-pdfcreator-reinstallation

Kind regards
Sascha