Skip to content

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

@spartanlync

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

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