java.lang.IllegalStateException: Assertion failed. WindowsAPI is required to be called from AWT thread only, see http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/threading.html

Visual-paradigm | Aaron Gage | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    VP PE: NullPointerException in Netbeans

    Visual-paradigm | 1 decade ago | Aaron Gage
    java.lang.IllegalStateException: Assertion failed. WindowsAPI is required to be called from AWT thread only, see http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/threading.html

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Assertion failed. WindowsAPI is required to be called from AWT thread only, see http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/threading.html

      at org.netbeans.core.windows.WindowManagerImpl.assertEventDispatchThreadWeak()
    2. org.netbeans.core
      WindowManagerImpl.getMainWindow
      1. org.netbeans.core.windows.WindowManagerImpl.assertEventDispatchThreadWeak(WindowManagerImpl.java:1099)
      2. org.netbeans.core.windows.WindowManagerImpl.getMainWindow(WindowManagerImpl.java:114)
      2 frames