Skip to content

Use default key stroke settings when no settings file exists#3913

Merged
wadoon merged 1 commit into
mainfrom
fix-keystroke-npe
Jul 10, 2026
Merged

Use default key stroke settings when no settings file exists#3913
wadoon merged 1 commit into
mainfrom
fix-keystroke-npe

Conversation

@unp1

@unp1 unp1 commented Jul 10, 2026

Copy link
Copy Markdown
Member

Related Issue

This pull request resolves #3908.

Intended Change

If no settings file exists (KeY was installed for the first time, or it got deleted),
an NPE was thrown causing KeY to abort startup. The intended change is to
allow KeY to startup and to use the default key stroke settings if no settings file can be found.

Type of pull request

  • Bug fix (non-breaking change which fixes an issue)

Ensuring quality

  • I made sure that introduced/changed code is well documented (javadoc and inline comments).
  • I have tested the feature as follows: manual testing

Additional information and contact(s)

The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.

Fixes issue #3908
If no settings file exists (KeY was installed for the first time, or it got deleted),
an NPE was thrown causing KeY to abort startup.
@unp1 unp1 self-assigned this Jul 10, 2026
@unp1 unp1 added the 🐞 Bug label Jul 10, 2026
@unp1 unp1 added this to the v3.0.0 milestone Jul 10, 2026
@wadoon wadoon enabled auto-merge July 10, 2026 19:32
@wadoon wadoon added this pull request to the merge queue Jul 10, 2026
Merged via the queue into main with commit a7d6650 Jul 10, 2026
36 checks passed
@wadoon wadoon deleted the fix-keystroke-npe branch July 10, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exceptions in fresh KeY installation [macOS] (3.0)

2 participants