JetBrains/intellij-community · error · ExecutionException

build.manager.launch.build.process.failed.to.copy.parameter

build.manager.launch.build.process.failed.to.copy.parameter

Error message

Failed to copy parameter {0}

What it means

Error "Failed to copy parameter {0}" thrown in JetBrains/intellij-community.

Source

Thrown at java/compiler/impl/src/com/intellij/compiler/server/BuildManager.java:1719

    cmdLine.addParameter("-Dio.netty.noUnsafe=true");


    var projectSystemRoot = EelSystemFolderUtils.getSystemFolder(project);
    var projectTempDir = projectSystemRoot.resolve(TEMP_DIR_NAME);
    Files.createDirectories(projectTempDir);
    cmdLine.addPathParameter("-Djava.io.tmpdir=", projectSystemRoot);

    for (var provider : BuildProcessParametersProvider.EP_NAME.getExtensions(project)) {
      for (var arg : provider.getVMArguments()) {
        cmdLine.addParameter(arg);
      }

      for (var parameter : provider.getPathParameters()) {
        try {
          cmdLine.addPathParameter(parameter.getFirst(), cmdLine.copyProjectSpecificPathToTargetIfRequired(project, parameter.getSecond()));
        }
        catch (FileSystemException err) {
          throw new ExecutionException(
            JavaCompilerBundle.message("build.manager.launch.build.process.failed.to.copy.parameter", parameter.getFirst()), err);
        }
      }
    }

    cmdLine.addParameter("-Dide.propagate.context=false");
    cmdLine.addParameter("-Dintellij.platform.log.sync=true");

    @SuppressWarnings("UnnecessaryFullyQualifiedName") var launcherClass = org.jetbrains.jps.cmdline.Launcher.class;

    var launcherCp = new ArrayList<String>();
    launcherCp.add(ClasspathBootstrap.getResourcePath(launcherClass));
    launcherCp.addAll(BuildProcessClasspathManager.getLauncherClasspath(project));
    if (compilerPath != null) {   // can be null (in the case of JDK 9+)
      launcherCp.add(compilerPath);
    }

    var includeBundledEcj = shouldIncludeEclipseCompiler(projectConfig);

View on GitHub (pinned to be881553f2)

Solutions

  1. Retry the build; the parameter file copy is transient in most cases.
  2. Check the IDE log for the underlying I/O cause and ensure the build system directory is writable.

Example fix

Invalidate Caches / Restart, then run the build again.

When it happens

Trigger: BuildManager fails to copy a command-line parameter file into the build process working directory.

Common situations: Disk full, permission denial, or an antivirus lock while writing build parameter files.


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