java.lang.IllegalStateException: this method can only be called from the AWT event dispatch thread, and not from "Thread-26"

pivot-user | Roger L. Whitcomb | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RE: 2.0.1 release and threads

    pivot-user | 5 years ago | Roger L. Whitcomb
    java.lang.IllegalStateException: this method can only be called from the AWT event dispatch thread, and not from "Thread-26"
  2. 0

    RE: 2.0.1 release and threads

    pivot-user | 5 years ago | Roger L. Whitcomb
    java.lang.IllegalStateException: this method can only be called from the AWT event dispatch thread, and not from "Thread-26"
  3. 0

    RE: 2.0.1 release and threads

    pivot-user | 5 years ago | Roger L. Whitcomb
    java.lang.IllegalStateException: this method can only be called from the AWT event dispatch thread, and not from "Thread-26"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      this method can only be called from the AWT event dispatch thread, and not from "Thread-26"

      at org.apache.pivot.wtk.Container$1.check()
    2. org.apache.pivot
      Component.setEnabled
      1. org.apache.pivot.wtk.Container$1.check(Container.java:872)
      2. org.apache.pivot.wtk.Container.assertEventDispatchThread(Container.java:880)
      3. org.apache.pivot.wtk.Component.repaint(Component.java:2047)
      4. org.apache.pivot.wtk.Component.repaint(Component.java:1998)
      5. org.apache.pivot.wtk.skin.ComponentSkin.repaintComponent(ComponentSkin.java:351)
      6. org.apache.pivot.wtk.skin.ComponentSkin.repaintComponent(ComponentSkin.java:346)
      7. org.apache.pivot.wtk.skin.terra.TerraTableViewSkin.enabledChanged(TerraTableViewSkin.java:1394)
      8. org.apache.pivot.wtk.Component$ComponentStateListenerList.enabledChanged(Component.java:399)
      9. org.apache.pivot.wtk.Component.setEnabled(Component.java:2173)
      9 frames
    3. cz.cgrim.alchemist
      RunQueryTask.execute
      1. cz.cgrim.alchemist.dql.RunQueryTask.execute(RunQueryTask.java:58)
      2. cz.cgrim.alchemist.dql.RunQueryTask.execute(RunQueryTask.java:23)
      2 frames
    4. org.apache.pivot
      Task$ExecuteCallback.run
      1. org.apache.pivot.util.concurrent.Task$ExecuteCallback.run(Task.java:42)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      4. java.lang.Thread.run(Thread.java:722)
      4 frames