java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread

Oracle Community | 807581 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    System hang

    Oracle Community | 1 decade ago | 807581
    java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
  2. 0

    Using SwingUtilities.invokeAndWait()

    javaplugin | 9 years ago | eyemme
    java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
  3. 0

    Cannot call invokeAndWait, can't invokeLater either

    Oracle Community | 1 decade ago | 843805
    java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Delete functionality on last review

    GitHub | 2 years ago | bflorat
    java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
  6. 0

    SwingUtilities.invokeAndWait not running

    Stack Overflow | 6 years ago | Jakir00
    java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread

    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. java.lang.Error

      Cannot call invokeAndWait from the event dispatcher thread

      at java.awt.EventQueue.invokeAndWait()
    2. Java RT
      SwingUtilities.invokeAndWait
      1. java.awt.EventQueue.invokeAndWait(EventQueue.java:834)
      2. javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1257)
      2 frames
    3. com.sun.tools
      UMLProject$ProjectOpenedHookImpl.projectOpened
      1. com.sun.tools.ide.uml.project.UMLProject$ProjectOpenedHookImpl.verifyProjectIsInitialized(UMLProject.java:480)
      2. com.sun.tools.ide.uml.project.UMLProject$ProjectOpenedHookImpl.projectOpened(UMLProject.java:510)
      2 frames