CumulusCI icon indicating copy to clipboard operation
CumulusCI copied to clipboard

Getting following Exception in task deploy_packaging.unschedule_apex

Open JayMalde opened this issue 6 months ago • 0 comments

Describe the bug

I was going through Build Applications with CumulusCI Trailhead.

In following section when I was running this command it gave me following error

cci flow run ci_master --org packaging

Error

Executing anonymous Apex
                    Exception in task deploy_packaging.unschedule_apex

Error: Apex error: System.UnexpectedException: Cannot invoke "system.scheduler.cron.JobType.getJobImplementation()" because the return value of 
"system.scheduler.cron.JobType.getJobType(common.udd.constants.CronJobTypeEnum)" is null
  Stacktrace:
  AnonymousBlock: line 2, column 1

Cumulus CI Error.txt

Module https://trailhead.salesforce.com/content/learn/modules/cumulusci-for-managed-packages/get-ready-to-release-your-managed-package

Reproduction steps

  1. Try to run following trailhead CumulusCI for Managed Packages
  2. Connect Packaging Org
  3. Create a Test Package
  4. Try to run following command

cci flow run ci_master --org packaging

Your CumulusCI and Python versions

CumulusCI version: 4.4.0 Python version: 3.12.4

Operating System

Windows 11

Windows environment

PowerShell

CumulusCI installation method

pipx

Error Gist

No response

Additional information

Cumulus CI Error.txt

JayMalde avatar May 15 '25 17:05 JayMalde