We're updating the issue view to help you get more done. 

Should better handle if non-existent fieldnames in songkong.properties

Description

Shoud better handle if non-existent fieldnames in songkong.properties, e.g samplerate listed as field to never modify, shoiudnt hang.

java.lang.IllegalArgumentException: No enum constant com.jthink.songkong.text.SongFieldName.SAMPLE_RATE
at java.lang.Enum.valueOf(Unknown Source)
at com.jthink.songkong.text.SongFieldName.valueOf(SongFieldName.java:13)
at com.jthink.songkong.text.SongFieldName.convertUserPreferenceToList(SongFieldName.java:269)
at com.jthink.songkong.text.SongFieldName.convertUserPreferenceToCommaSeperatedString(SongFieldName.java:287)
at com.jthink.songkong.ui.startdialog.FormatOptions.<init>(FormatOptions.java:89)
at com.jthink.songkong.ui.startdialog.StartFixSongsDialog.setupDialog(StartFixSongsDialog.java:81)
at com.jthink.songkong.ui.startdialog.StartFixSongsDialog.<init>(StartFixSongsDialog.java:45)
at com.jthink.songkong.action.FixFilesAction.actionPerformed(FixFilesAction.java:73)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

Environment

Status

Assignee

Unassigned

Reporter

IJabz

Forum Username

paul

Components

Fix versions

Affects versions

4.13

Priority

Minor