Skip to content

Getting following Exception in task deploy_packaging.unschedule_apex #3899

Description

@JayMalde

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:packagingComponent area: packagingbugseverity:minorTriage severity: minorv5-candidate:noBug fix for v4.x patch line OR out of v5 scope

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions