{"record":{"id":"b7a282f324046e9f","repo":"bevyengine/bevy","slug":"executable-schedule-has-not-been-created-for-label","errorCode":null,"errorMessage":"executable schedule has not been created for label \"{0}\"","messagePattern":"executable schedule has not been created for label \"(.+?)\"","errorType":"exception","errorClass":"ExtractAppDataError","httpStatus":null,"severity":"error","filePath":"crates/bevy_dev_tools/src/schedule_data/serde.rs","lineNumber":472,"sourceCode":"        let components = component_trace.components;\n\n        Ok(Self {\n            name: format!(\"{:?}\", schedule.label()),\n            components,\n            systems,\n            system_sets,\n            hierarchy,\n            dependency,\n            conflicts,\n        })\n    }\n}\n\n/// An error occurring while attempting to extract schedule data from an app.\n#[derive(Error, Debug)]\npub enum ExtractAppDataError {\n    /// A schedule has not been initialized through [`Schedule::initialize`].\n    #[error(\"executable schedule has not been created for label \\\"{0}\\\"\")]\n    ScheduleNotInitialized(String),\n}\n\n#[cfg(test)]\n/// Tests for extracted schedule data.\n///\n/// This is public to allow other test modules in this crate to use its utilities.\npub mod tests {\n    use bevy_app::{App, Update};\n    use bevy_ecs::{\n        component::Component,\n        query::{With, Without},\n        schedule::{IntoScheduleConfigs, Schedules, SystemSet},\n        system::{Commands, Query},\n    };\n    use bevy_platform::collections::HashMap;\n\n    use crate::schedule_data::serde::{","sourceCodeStart":454,"sourceCodeEnd":490,"githubUrl":"https://github.com/bevyengine/bevy/blob/396ca727080776bd313bb892423b7d94e03b81b4/crates/bevy_dev_tools/src/schedule_data/serde.rs#L454-L490","documentation":"ExtractAppDataError::ScheduleNotInitialized: while extracting schedule data, a schedule with the given label had no executable/initialized schedule (created by Schedule::initialize), so its systems and ordering cannot be inspected. Usually means the schedule never ran or initialize was not called before extraction.","triggerScenarios":"Thrown at crates/bevy_dev_tools/src/schedule_data/serde.rs:472 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Run or initialize the schedule (Schedule::initialize / app.update) before extracting data","Verify the schedule label used for extraction matches an initialized schedule"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"396ca727080776bd313bb892423b7d94e03b81b4","analyzedAt":"2026-08-20T16:12:39.808Z","contentChangedAt":"2026-08-20T16:12:39.808Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}