zellij-org/zellij · error · anyhow::Error

StartOrReloadPlugin missing plugin

Error message

StartOrReloadPlugin missing plugin

What it means

Error "StartOrReloadPlugin missing plugin" thrown in zellij-org/zellij.

Solutions

  1. Include the required 'plugin' field in the protobuf message before sending it.
  2. Verify the sender populates all mandatory fields; add a presence check before conversion.

When it happens

Trigger: Occurs when a protobuf message received over IPC omits the required field; deserialization fails instead of using a default.

Common situations: Occurs when a client or plugin sends an incompletely populated message, often from a version mismatch or hand-crafted payload.


AI-assisted analysis of zellij-org/zellij@e839bfffa5 (2026-08-19). Data as JSON: /api/errors/f838524922e303d2. Report an issue: GitHub.

Appendix: source

Thrown at zellij-utils/src/ipc/protobuf_conversion.rs:2783

            },
            ActionType::NewInPlacePluginPane(new_in_place_plugin_action) => {
                Ok(crate::input::actions::Action::NewInPlacePluginPane {
                    plugin: new_in_place_plugin_action
                        .plugin
                        .ok_or_else(|| anyhow!("NewInPlacePluginPane missing plugin"))?
                        .try_into()?,
                    pane_name: new_in_place_plugin_action.pane_name,
                    skip_cache: new_in_place_plugin_action.skip_cache,
                    close_replaced_pane: new_in_place_plugin_action.close_replaced_pane,
                    no_focus: new_in_place_plugin_action.no_focus,
                    tab_id: new_in_place_plugin_action.tab_id.map(|t| t as usize),
                })
            },
            ActionType::StartOrReloadPlugin(start_plugin_action) => {
                Ok(crate::input::actions::Action::StartOrReloadPlugin {
                    plugin: start_plugin_action
                        .plugin
                        .ok_or_else(|| anyhow!("StartOrReloadPlugin missing plugin"))?
                        .try_into()?,
                })
            },
            ActionType::CloseTerminalPane(close_pane_action) => {
                Ok(crate::input::actions::Action::CloseTerminalPane {
                    pane_id: close_pane_action.pane_id,
                })
            },
            ActionType::ClosePluginPane(close_pane_action) => {
                Ok(crate::input::actions::Action::ClosePluginPane {
                    pane_id: close_pane_action.pane_id,
                })
            },
            ActionType::FocusTerminalPaneWithId(focus_pane_action) => {
                Ok(crate::input::actions::Action::FocusTerminalPaneWithId {
                    pane_id: focus_pane_action.pane_id,
                    should_float_if_hidden: focus_pane_action.should_float_if_hidden,
                    should_be_in_place_if_hidden: focus_pane_action.should_be_in_place_if_hidden,

View on GitHub (pinned to e839bfffa5)