JetBrains/intellij-community · error · ConfigurationException

select.imported.projects.dialog.message.nothing.found

select.imported.projects.dialog.message.nothing.found

Error message

Nothing found to import

What it means

Thrown from SelectImportedProjectsStep.validate() in the project import wizard when the user marks no projects/modules to import. The step requires at least one element from the file chooser to be checked before Next/Finish. It stops the wizard with an 'Unable to proceed' titled dialog.

Source

Thrown at java/idea-ui/src/com/intellij/projectImport/SelectImportedProjectsStep.java:114

    fileChooser.clear();
    for (T element : getContext().getList()) {
      boolean isEnabled = isElementEnabled(element);
      fileChooser.addElement(element, isEnabled && getContext().isMarked(element));
      if (!isEnabled) {
        fileChooser.disableElement(element);
      }
    }

    fileChooser.setBorder(IdeBorderFactory.createTitledBorder(
      JavaUiBundle.message("project.import.select.title", getContext().getName()), false));
    openModuleSettingsCheckBox.setSelected(getBuilder().isOpenProjectSettingsAfter());
  }

  @Override
  public boolean validate() throws ConfigurationException {
    getContext().setList(fileChooser.getMarkedElements());
    if (fileChooser.getMarkedElements().isEmpty()) {
      throw new ConfigurationException(JavaUiBundle.message("select.imported.projects.dialog.message.nothing.found"),
                                       JavaUiBundle.message("select.imported.projects.dialog.title.unable.to.proceed"));
    }
    return true;
  }

  @Override
  public void updateDataModel() {}

  @Override
  public void onStepLeaving() {
    super.onStepLeaving();
    getContext().setOpenProjectSettingsAfter(openModuleSettingsCheckBox.isSelected());
  }

  public ProjectImportBuilder<T> getContext() {
    return getBuilder();
  }
}

View on GitHub (pinned to be881553f2)

Solutions

  1. Tick at least one project/module in the list and press Next
  2. If the list shows the wrong roots, go Back and re-point the wizard at the correct source directory
Defensive patterns

Strategy: validation

Validate before calling

if (fileChooser.getMarkedElements().isEmpty()) {
  // disable Next / show warning instead of letting validate() throw
}

Try / catch

try { step.validate(); } catch (ConfigurationException e) { /* 'Unable to proceed' dialog; keep user on step */ }

Prevention

When it happens

Trigger: Running an importer wizard (e.g. Eclipse/old project import) reaching the 'Select imported projects' step with the checkbox list fully unchecked and pressing Next.

Common situations: All entries were deselected (sometimes by default); importer found candidate projects but the user expected unselected ones to be imported automatically; confusion about needing to tick at least one root.

Related errors


AI-assisted analysis of JetBrains/intellij-community@be881553f2 (2026-08-14). Data as JSON: /api/errors/15fae4ffae7735bd. Report an issue: GitHub.