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

pivot-user | Roger L. Whitcomb | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 "Timer-2"
  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 "Timer-2"
  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 "Timer-2"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    开源中国(OSChina.NET)

    oschina.net | 1 year ago
    java.lang.IllegalStateException

    Root Cause Analysis

    1. java.lang.IllegalStateException

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

      at org.apache.pivot.wtk.Container$1.check()
    2. org.apache.pivot
      TextArea.insertText
      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.invalidate(Component.java:1955)
      4. org.apache.pivot.wtk.skin.ComponentSkin.invalidateComponent(ComponentSkin.java:340)
      5. org.apache.pivot.wtk.skin.TextAreaSkinParagraphView.textRemoved(TextAreaSkinParagraphView.java:419)
      6. org.apache.pivot.wtk.TextArea$Paragraph$ParagraphListenerList.textRemoved(TextArea.java:55)
      7. org.apache.pivot.wtk.TextArea$Paragraph.removeText(TextArea.java:153)
      8. org.apache.pivot.wtk.TextArea.insertText(TextArea.java:757)
      9. org.apache.pivot.wtk.TextArea.insertText(TextArea.java:730)
      9 frames
    3. cz.cgrim.alchemist
      TextAreaAppender.append
      1. cz.cgrim.alchemist.logger.TextAreaAppender.append(TextAreaAppender.java:41)
      1 frame
    4. Apache Log4j
      Category.log
      1. org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
      2. org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
      3. org.apache.log4j.Category.callAppenders(Category.java:206)
      4. org.apache.log4j.Category.forcedLog(Category.java:391)
      5. org.apache.log4j.Category.log(Category.java:856)
      5 frames
    5. com.documentum.fc
      ClassCacheManager$CacheCleanupTask.run
      1. com.documentum.fc.common.DfLogger.warn(DfLogger.java:151)
      2. com.documentum.fc.client.impl.bof.cache.ClassCacheManager$CacheCleanupTask.run(ClassCacheManager.java:602)
      2 frames
    6. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:555)
      2. java.util.TimerThread.run(Timer.java:505)
      2 frames