{"record":{"id":"8d574f464421dc21","repo":"Wox-launcher/Wox","slug":"mru-restore-callback-not-found-callbackid","errorCode":null,"errorMessage":"MRU restore callback not found: ${callbackId}","messagePattern":"MRU restore callback not found: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"wox.plugin.host.nodejs/src/jsonrpc.ts","lineNumber":438,"sourceCode":"    throw new Error(`plugin instance not found: ${request.PluginId}`)\n  }\n\n  const callbackId = request.Params.CallbackId\n  const rawMRUData = request.Params.MRUData ?? \"{}\"\n  const mruDataRaw = JSON.parse(rawMRUData)\n\n  // Convert raw data to MRUData type\n  const mruData: MRUData = {\n    PluginID: mruDataRaw.PluginID ?? \"\",\n    Title: mruDataRaw.Title ?? \"\",\n    SubTitle: mruDataRaw.SubTitle ?? \"\",\n    Icon: mruDataRaw.Icon ?? { ImageType: \"absolute\", ImageData: \"\" },\n    ContextData: typeof mruDataRaw.ContextData === \"string\" ? parseContextData(mruDataRaw.ContextData) : mruDataRaw.ContextData ?? {}\n  }\n\n  const callback = pluginInstance.API.mruRestoreCallbacks.get(callbackId)\n  if (!callback) {\n    throw new Error(`MRU restore callback not found: ${callbackId}`)\n  }\n\n  try {\n    const result = await callback(ctx, mruData)\n    if (result) {\n      cacheResultActions(pluginInstance, result)\n    }\n    return result\n  } catch (error) {\n    logger.error(ctx, `MRU restore callback error: ${error}`)\n    throw error\n  }\n}\n","sourceCodeStart":420,"sourceCodeEnd":452,"githubUrl":"https://github.com/Wox-launcher/Wox/blob/1659730fcb37154f26497e07308b1f8789d659fe/wox.plugin.host.nodejs/src/jsonrpc.ts#L420-L452","documentation":"Error \"MRU restore callback not found: ${callbackId}\" thrown in Wox-launcher/Wox.","triggerScenarios":"Thrown at wox.plugin.host.nodejs/src/jsonrpc.ts:438 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"1659730fcb37154f26497e07308b1f8789d659fe","analyzedAt":"2026-08-15T23:31:07.596Z","schemaVersion":2},"datasetVersion":"2026-08-16T03:17:38.424Z"}