Loading

Salesforce Developer Console: Unable to Save Apex Classes, Triggers, or Visualforce Pages Due to Corrupted Workspace

Data pubblicazione: Jun 9, 2026
Descrizione

In the Salesforce Developer Console, you may encounter an inability to save Apex classes, Apex triggers, Visualforce pages, or Visualforce components. When a save attempt fails, you receive an error message similar to: "Failed to create createContainerMember for containerId=1dcXXXXXXXXXXXXXXX: An unexpected error occurred.

Please include this ErrorId if you contact support: 44xxxxxxx-xxx (xxxxxxxxx)."
This error indicates a corrupted workspace. To confirm the issue, check the Progress tab for an error message similar to: "Returned wrong number of rows: 2 on xxx."

Risoluzione

This error indicates that your Developer Console workspace has become corrupted. A corrupted workspace occurs when the workspace metadata becomes inconsistent. The resolution is to create a new, clean workspace and delete the corrupted one.

Step 1: Create a New Workspace

In the Developer Console menu, select Workspace > New Workspace. When prompted, enter a descriptive name for your new workspace and click OK.

Step 2: Open the Workspace Manager

From the Developer Console menu, select Workspace > Workspace Manager to view a list of all existing workspaces.

Step 3: Delete the Corrupted Workspace

In the Workspace Manager, highlight the workspace that was producing the save error and click Delete. Confirm the deletion when prompted.

Note: Switching Workspaces

After deletion, ensure you are actively working in your new workspace. The Developer Console automatically uses the last selected workspace on next open.

Numero articolo Knowledge

000386505

 
Caricamento
Salesforce Help | Article