Skip to content

Crash when converting word document to pdf. #717

@shivasai1362

Description

@shivasai1362

Describe the bug
The application quits immediately when attempting to convert .docx file to pdf. It shows "preparing Conversion" and then quits instantly. The same problem is happening with converting .ppt files too.

To Reproduce
Steps to reproduce the behavior:

  1. Right click on a word file
  2. Click on 'File Converter' > to Pdf
  3. It shows preparing conversion
  4. No error quits instant

Expected behavior
Generates the pdf file.

Desktop:

  • OS: Windows 11 64bits
  • Office: Microsoft Word 2024 MSO Version 2602

Additional context
Found this error in event viewer.

Application: FileConverter.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException at FileConverter.ConversionJobs.ConversionJob_Word.GetOutputFilesCount() at FileConverter.ConversionJobs.ConversionJob.PrepareConversion(System.String[]) at FileConverter.Services.ConversionService.ConvertFiles() at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions