Skip to content

Importing custom MAC Preset causes Handbrake for Windows to crash #6186

Closed

Description

@spartanlync

Problem Description

In Windows, using the "Import from file" preset menu option to import the following JSON causes an immediate crash on every Handbrake instance I have installed to Windows 7 or windows 10.

Fast 1080p30 (MKV-h265-RF28).json

I only see this when importing to Windows. No issue when importing back into a MAC instance,
I have installed my Windows instances to the installation folder "C:\Program Files\HandBrake"

Can someone help me to understand why?

Activity Log, Crash Log or any other details

Unable to write to the presets file.
Unable to write to the presets file.
The details section below may indicate why this error has occurred.
System.NullReferenceException: Object reference not set to an instance of an object.
   at HandBrakeWPF.Services.Presets.Factories.JsonPresetFactory.CreateHbPreset(Preset export)
   at HandBrakeWPF.Services.Presets.PresetService.HandlePresetListsForSave(IList`1 processList)
   at HandBrakeWPF.Services.Presets.PresetService.SavePresetFiles()

What Operating System are you running?

Windows 10

What version of HandBrake are you running?

1.8.1 (2024062200)

Where did you download HandBrake from?

Self-Update

Activity

  1. added this to the 1.8.2 milestone on Jul 11, 2024
  2. added a commit that references this issue on Jul 11, 2024
    bd582d3
  3. sr55 commented on Jul 11, 2024

    @sr55
    Contributor

    Thanks for the report, i've pushed a fix for it which will be included in the next version.

  4. spartanlync commented on Jul 11, 2024

    @spartanlync
    Author

    Awesome, much Thanks. Looking forward to the next build and release.

  5. added a commit that references this issue on Jul 12, 2024
    b410fc9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions