Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-1398

scrollToBottom causes UiThreadingViolationException when using Substance Skins

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.2
    • Fix Version/s: 2.6.3
    • Component/s: None
    • Labels:
      None

      Description

      29.06.2011 09:36:13 org.jivesoftware.spark.util.log.Log error
      SCHWERWIEGEND:
      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)

        Attachments

          Activity

            People

            Assignee:
            stytrix Holger Bergunde
            Reporter:
            stytrix Holger Bergunde
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: