Skip to content

Check if the chord kind is null#819

Merged
hbitteur merged 1 commit intoAudiveris:developmentfrom
btuin:development
Jul 8, 2025
Merged

Check if the chord kind is null#819
hbitteur merged 1 commit intoAudiveris:developmentfrom
btuin:development

Conversation

@btuin
Copy link
Copy Markdown
Contributor

@btuin btuin commented Jul 6, 2025

Hi, I got an issue where a chord was not recognised, causing transcription to fail because of a null-pointer exception.
This patch fixes the issue on my side, but I'm not sure if this is the right solution. Should the function rather return a null ChordStructure?

By the way, should I target the branch development or master?

Failing to check here would cause the entire transcription to fail in
some cases due to a null pointer exception.
@hbitteur hbitteur merged commit 517204f into Audiveris:development Jul 8, 2025
@hbitteur
Copy link
Copy Markdown
Contributor

hbitteur commented Jul 8, 2025

Thanks for this fix.
And you are right to target the "development" branch (the "master" branch is for releases only)
/Hervé

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants