streamtastic crashes on startup provided that streamripper location or destination folder needs to be set

Bug #280455 reported by mikeL
4
Affects Status Importance Assigned to Milestone
Streamtastic
Fix Released
Undecided
Andreas Kühntopf

Bug Description

since rev. 36 or to be more exact the update of the substance look&feel streamtastic crashes on startup in case that streamripper location or destination folder needs to be set.

org.jvnet.substance.api.UiThreadingViolationException: Component creation must be done on Event Dispatch Thread
 at org.jvnet.substance.utils.SubstanceCoreUtilities.testComponentCreationThreadingViolation(SubstanceCoreUtilities.java:2312)
 at org.jvnet.substance.SubstanceOptionPaneUI.createUI(SubstanceOptionPaneUI.java:83)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at sun.reflect.misc.Trampoline.invoke(Unknown Source)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at sun.reflect.misc.MethodUtil.invoke(Unknown Source)
 at javax.swing.UIDefaults.getUI(Unknown Source)
 at javax.swing.UIManager.getUI(Unknown Source)
 at javax.swing.JOptionPane.updateUI(Unknown Source)
 at javax.swing.JOptionPane.<init>(Unknown Source)
 at javax.swing.JOptionPane.showOptionDialog(Unknown Source)
 at javax.swing.JOptionPane.showConfirmDialog(Unknown Source)
 at javax.swing.JOptionPane.showConfirmDialog(Unknown Source)
 at org.kuehntopf.streamtastic.StreamtasticApp.checkStreamripperAvailable(StreamtasticApp.java:80)
 at org.kuehntopf.streamtastic.StreamtasticApp.main(StreamtasticApp.java:168)
        [...]

Related branches

Revision history for this message
Joachim Lippold (mailtojoeaticq) wrote :

The newly integrated substance library version throws an exception in case that gui components are modified outside the event-dispatching thread. To fix the bug the pre run checks were moved to the SwingUtilities.invokLater() where already the streamtastic main frame is made visible.

Revision history for this message
Andreas Kühntopf (andreas-kuehntopf) wrote :

Fixed in rev. 37

Changed in streamtastic:
assignee: nobody → andreas-kuehntopf
status: New → Fix Committed
Changed in streamtastic:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.