If license incorrect on Headless Environment should give license error msg

Description

If license is invalid songkong fails fairly gracefully but doesn't actually inform user that the license is invalid.

ubuntu@ip-172-31-39-147:~/code/songkong$ ./songkong.sh -m $HOME/code/jaudiotagger
debuglogfile is:/home/ubuntu/.songkong/Logs/songkong_debug%u-%g.log
userlogfile is:/home/ubuntu/.songkong/Logs/songkong_user%u-%g.log
Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
at java.awt.Window.<init>(Window.java:536)
at java.awt.Frame.<init>(Frame.java:420)
at javax.swing.JFrame.<init>(JFrame.java:233)
at com.jthink.songkong.ui.MainWindow.setupScreen(MainWindow.java:176)
at com.jthink.songkong.cmdline.SongKong.cmdlineStart(SongKong.java:1277)
at com.jthink.songkong.cmdline.SongKong.main(SongKong.java:1384)

Environment

None

Status

Assignee

Unassigned

Reporter

Paul Taylor

Labels

None

Forum Username

paul

os

None

Components

Fix versions

Affects versions

3.25

Priority

Major
Configure