Contact Us 1-800-596-4880

Project Loading Errors

logo cloud IDE Cloud IDE

logo desktop IDE Desktop IDE

Open Beta Release: The cloud IDE is in open beta. Any use of Anypoint Code Builder in its beta state is subject to the applicable beta services terms and conditions, available from the IDE.

Errors sometimes occur when you open or start a project in Anypoint Code Builder.

Loading Error in the Application UI

A Loading…​ error in the canvas UI often occurs under these conditions:

  • When importing a project due to a missing dependency

To check for a missing dependency:

  1. Open the Output panel.

    Show me how
    • Use the keyboard shortcuts:

      • Mac: Cmd+Shift+u

      • Windows: Ctrl+Shift+u

    • In the desktop IDE, select View > Output.

    • In the cloud IDE, click the (menu) icon, and select View > Output.

  2. Select "Mule DX Server" from the drop-down menu.

  3. Search for an error caused by the missing dependency, similar to this one:

    Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException:
    Failure to find org.mule.examples:accelerator-common-config-module:jar:mule-plugin:1.1.0
    in https://repo.maven.apache.org/maven2/ was cached in the local repository,
    resolution will not be reattempted until the update interval of central has
    elapsed or updates are forced
  4. If you find a missing dependency, log in to Anypoint Platform.

    The canvas UI loads after all dependencies load.

    When a browser extension is interfering with the UI loading process, you see:

    Loading error in the UI

To address this issue, try:

  • Disabling browser extensions and reloading the application

  • Using another browser that is not using extensions

UI Canvas Renders Without Configured Flows or Subflows

If the UI for an application that is already configured with a flow or subflow treats your application as a new project, prompting you with the question How do you want to start building your project? and Build a flow and Build a sub flow creation options, make sure that your application is open from its root directory or from a multi-root workspace.

Start Screen Building a Mule Application

Visual Studio Code treats an open directory as a workspace. For the project to load into a workspace, the root directory of the project must be the top-level directory in the Explorer view, or the project must belong to a multi-root workspace.

  1. Open the Command Palette.

    Show me how
    • Use the keyboard shortcuts:

      • Mac: Cmd+Shift+p

      • Windows: Ctrl+Shift+p

    • In the desktop IDE, select View > Command Palette.

    • In the cloud IDE, click the (menu) icon, and select View > Command Palette.

  2. Provide this command:

    File: Open Folder...
  3. Navigate to the root directory for your project.

    The root is the top-level folder that Anypoint Code Builder generates when it creates a project. Do not navigate to the project’s parent or ancestor directory or to one of its child or descendant directories.

Mule DX API Component Was Not Installed

The error indicates that some Anypoint Code Builder dependencies have not finished loading. This issue typically occurs when you click Design an API and is often accompanied by the notification Extracting Mule runtime: This operation may take a while…​. The extraction process can take several minutes, particularly after you install or update Anypoint Extension Pack on the desktop IDE.

  1. Wait for the error Mule DX API Component was not installed to disappear.

  2. Retry your action.

To monitor the progress of backend processes:

  1. Open the Output panel.

    Show me how
    • Use the keyboard shortcuts:

      • Mac: Cmd+Shift+u

      • Windows: Ctrl+Shift+u

    • In the desktop IDE, select View > Output.

    • In the cloud IDE, click the (menu) icon, and select View > Output.

  2. Select Mule DX Server from the drop-down menu in the panel.

Dependency Resolution Error

The error There was an issue solving the dependencies for the asset occurs when a dependency is missing. Usually, the appears after you import or open an integration or implementation project that is missing one or more dependencies for a connector operation.

To address this issue and avoid other errors, try logging in to Anypoint Platform from the IDE, and wait for the project to finish loading before attempting to resolve any missing dependencies that remain.