Workday errors in plain English.

Submit an Error
errors / extend / extend-model-component-build-failed-check-extend-logs-tab

Extend Model Component Build Fails With Generic Exception, Real Cause Hidden in Extend Logs Tab

✓ Verified Workday Extend 5 lookups
The error java.lang.Exception: Build failed with an error. Check the build logs in the Workday Extend Tool Window for additional information. at com.workday.sage.widgets.DeployWorker.checkBuildCompleted(DeployWorker.kt:128)

What it means

Deploying a model component project from the Extend IDE plugin throws a generic java.lang.Exception with no useful detail in the popup itself. The actual cause (an invalid security domain reference, a field attribute used on more than one field, or a name that is not alphanumeric camelCase) is a separate list of validation errors that only appears in the Workday Extend Logs tab of the Extend Tool Window, not in the exception dialog.

Troubleshooting

  1. Do not stop at the popup exception text, it never contains the real cause for this failure type.
  2. Open the Extend Tool Window in the IDE and switch to the 'Workday Extend Logs' tab (separate from the general build console tab).
  3. Read the validation errors listed there line by line, they name the exact business object, field, and rule that failed (for example an invalid security domain, or useForDisplay/secureByTarget set on more than one field).
  4. Fix each listed validation error individually, some projects report five or more at once, and re-run the build.
  5. If a referenced security domain does not yet exist in the target tenant, create it (or correct the name) before redeploying.
⚡ Quick fix

Open the Extend Tool Window's 'Workday Extend Logs' tab (not the main exception dialog) to read the specific validation errors, fix the first one listed, and rebuild.

✓ Permanent fix

Train new Extend developers to check the Workday Extend Logs tab immediately on any 'Build failed with an error' exception rather than debugging the Java stack trace, since the stack trace itself never contains the actionable cause for this failure class.

Was this helpful?

Related errors