org.jvnet.substance.api.UiThreadingViolationException

Component state change must be done on Event Dispatch Thread

Solutions on the web6

  • Component state change must be done on Event Dispatch Thread
  • Component state change must be done on Event Dispatch Thread
  • Component state change must be done on Event Dispatch Thread
  • Stack trace

    • org.jvnet.substance.api.UiThreadingViolationException: Component state change must be done on Event Dispatch Thread at org.jvnet.substance.utils.SubstanceCoreUtilities.testComponentStateChangeThreadingViolation(SubstanceCoreUtilities.java:2385) at org.jvnet.substance.SubstanceScrollBarUI$3.adjustmentValueChanged(SubstanceScrollBarUI.java:1561) at javax.swing.JScrollBar.fireAdjustmentValueChanged(JScrollBar.java:675) at javax.swing.JScrollBar.access$100(JScrollBar.java:64) at javax.swing.JScrollBar$ModelListener.stateChanged(JScrollBar.java:697) at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:348) at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:285) at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:151) at javax.swing.JScrollBar.setValue(JScrollBar.java:446) at org.jivesoftware.spark.ui.ChatRoom.scrollToBottom(ChatRoom.java:620) at org.jivesoftware.spark.ui.ChatRoom$2$1.construct(ChatRoom.java:274) at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:141) at java.lang.Thread.run(Thread.java:662)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.