java.lang.IllegalStateException: Application does not have an active window

eclipse.org | 6 months 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

    Eclipse Community Forums: Eclipse 4 ยป Declaring parts being based on PartDescriptors in E4XMI

    eclipse.org | 6 months ago
    java.lang.IllegalStateException: Application does not have an active window

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Application does not have an active window

      at org.eclipse.e4.ui.internal.workbench.ApplicationPartServiceImpl.getActiveWindowService()
    2. Eclipse Workbench
      ApplicationPartServiceImpl.createPart
      1. org.eclipse.e4.ui.internal.workbench.ApplicationPartServiceImpl.getActiveWindowService(ApplicationPartServiceImpl.java:36)
      2. org.eclipse.e4.ui.internal.workbench.ApplicationPartServiceImpl.createPart(ApplicationPartServiceImpl.java:95)
      2 frames
    3. myapp.rcp.ui
      ApplicationLifecycleHook.elementVisible
      1. myapp.rcp.ui.model.ApplicationLifecycleHook.addPart(ApplicationLifecycleHook.java:143)
      2. myapp.rcp.ui.model.ApplicationLifecycleHook.configurePerspective(ApplicationLifecycleHook.java:109)
      3. myapp.rcp.ui.model.ApplicationLifecycleHook.elementVisible(ApplicationLifecycleHook.java:78)
      3 frames