Ticket #141 (new defect)

Opened 2 years ago

Last modified 1 year ago

FreeCast swing makes a fatal error without an audio player

Reported by: alban@tryphon.org Assigned to: alban@tryphon.org
Priority: normal Milestone:
Component: default Version: 20060629
Severity: normal Keywords:
Cc:

Description

When the FreeCast swing node configuration doesn't include an audio player, the application can't start.

Configuration example :

 <node>
  ...
  <players>
   <player>
    <class>http</class>
    <listenaddress>
     <port>8799</port>
    </listenaddress>
   </player>
  </players>
  ...
 </node>

Result :

FATAL  [Application]: Error in the main thread
java.lang.NullPointerException
        at org.kolaka.freecast.node.swing.PlayDescriptionPane.<init>(PlayDescriptionPane.java:117)
        at org.kolaka.freecast.node.swing.MainFrame.createOptionalPane(MainFrame.java:86)
        at org.kolaka.freecast.swing.BaseFrame.createToolBarPane(BaseFrame.java:191)
        at org.kolaka.freecast.swing.BaseFrame.init(BaseFrame.java:112)
        at org.kolaka.freecast.node.swing.Main.postInit(Main.java:87)
        at org.kolaka.freecast.Application.init(Application.java:170)
        at org.kolaka.freecast.Application.run(Application.java:188)
        at org.kolaka.freecast.node.swing.Main.main(Main.java:58)

The swing client should make a warn message and disable the audio player GUI part.

Attachments

Change History

11/27/07 19:15:59 changed by alban

  • priority changed from high to normal.

Add/Change #141 (FreeCast swing makes a fatal error without an audio player)




Change Properties
Action