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

Spring JIRA | Adam Armistead | 7 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
      SubstanceProgressBarUI$1.stateChanged
      1. org.jvnet.substance.utils.SubstanceCoreUtilities.testComponentStateChangeThreadingViolation(SubstanceCoreUtilities.java:2386)
      2. org.jvnet.substance.SubstanceProgressBarUI$1.stateChanged(SubstanceProgressBarUI.java:156)
      2 frames
    3. Java RT
      JProgressBar.setMaximum
      1. javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:348)
      2. javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:285)
      3. javax.swing.DefaultBoundedRangeModel.setMaximum(DefaultBoundedRangeModel.java:202)
      4. javax.swing.JProgressBar.setMaximum(JProgressBar.java:882)
      4 frames
    4. org.springframework.richclient
      ProgressBarProgressMonitor.taskStarted
      1. org.springframework.richclient.progress.ProgressBarProgressMonitor.taskStarted(ProgressBarProgressMonitor.java:61)
      1 frame