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

Empty ServerToClientMsg message

Error message

Empty ServerToClientMsg message

What it means

Error "Empty ServerToClientMsg message" thrown in zellij-org/zellij.

Source

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

                    token: msg.token,
                    query_bytes: msg.query_bytes,
                    resolve_async: msg.resolve_async,
                })
            },
            Some(server_to_client_msg::Message::SetSoftKeyboard(msg)) => {
                Ok(ServerToClientMsg::SetSoftKeyboard { on: msg.on })
            },
            Some(server_to_client_msg::Message::EmitNestedSessionFrame(msg)) => {
                Ok(ServerToClientMsg::EmitNestedSessionFrame {
                    payload_bytes: msg.payload_bytes,
                })
            },
            Some(server_to_client_msg::Message::MobileState(msg)) => {
                Ok(ServerToClientMsg::MobileState {
                    payload: mobile_state_payload_from_proto(msg),
                })
            },
            None => Err(anyhow!("Empty ServerToClientMsg message")),
        }
    }
}

// Basic type conversions
impl From<crate::pane_size::Size> for crate::client_server_contract::client_server_contract::Size {
    fn from(size: crate::pane_size::Size) -> Self {
        Self {
            cols: size.cols as u32,
            rows: size.rows as u32,
        }
    }
}

impl TryFrom<crate::client_server_contract::client_server_contract::Size>
    for crate::pane_size::Size
{
    type Error = anyhow::Error;

View on GitHub (pinned to e839bfffa5)

Solutions

  1. Check the attached error details and logs for the underlying cause.
  2. Retry the operation; if persistent, report the issue with reproduction steps.

When it happens

Trigger: Occurs when a protobuf message arrives with no payload; there is nothing to convert.

Common situations: Usually an environment problem, a race, or an internal invariant violation.


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