org.jvnet.substance.api.UiThreadingViolationException: Component state change must be done on Event Dispatch Thread

Jive Software Open Source | Holger Bergunde | 5 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jvnet.substance.api.UiThreadingViolationException

      Component state change must be done on Event Dispatch Thread

      at org.jvnet.substance.utils.SubstanceCoreUtilities.testComponentStateChangeThreadingViolation()
    2. org.jvnet.substance
      SubstanceScrollBarUI$3.adjustmentValueChanged
      1. org.jvnet.substance.utils.SubstanceCoreUtilities.testComponentStateChangeThreadingViolation(SubstanceCoreUtilities.java:2385)
      2. org.jvnet.substance.SubstanceScrollBarUI$3.adjustmentValueChanged(SubstanceScrollBarUI.java:1561)
      2 frames
    3. Java RT
      JScrollBar.setValue
      1. javax.swing.JScrollBar.fireAdjustmentValueChanged(JScrollBar.java:675)
      2. javax.swing.JScrollBar.access$100(JScrollBar.java:64)
      3. javax.swing.JScrollBar$ModelListener.stateChanged(JScrollBar.java:697)
      4. javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:348)
      5. javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:285)
      6. javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:151)
      7. javax.swing.JScrollBar.setValue(JScrollBar.java:446)
      7 frames
    4. org.jivesoftware.spark
      SwingWorker$2.run
      1. org.jivesoftware.spark.ui.ChatRoom.scrollToBottom(ChatRoom.java:620)
      2. org.jivesoftware.spark.ui.ChatRoom$2$1.construct(ChatRoom.java:274)
      3. org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:141)
      3 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame