Uploaded image for project: 'SongKong'
  1. SongKong
  2. SONGKONG-1003

If license incorrect on Headless Environment should give license error msg

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.25
    • Fix Version/s: 4.0
    • Component/s: Gui
    • Labels:
      None
    • Forum Username:
      paul

      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)

        Attachments

          Activity

            People

            • Reporter:
              paul Paul Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: