{"record":{"id":"7beb50fe7166224c","repo":"HMCL-dev/HMCL","slug":"mcbbs-packmeta-or-manifest-json-cannot-be-foun","errorCode":null,"errorMessage":"`mcbbs.packmeta` or `manifest.json` cannot be found","messagePattern":"`mcbbs\\.packmeta` or `manifest\\.json` cannot be found","errorType":"exception","errorClass":"IOException","httpStatus":null,"severity":"error","filePath":"HMCLCore/src/main/java/org/jackhuang/hmcl/modpack/mcbbs/McbbsModpackProvider.java","lineNumber":82,"sourceCode":"@Override\npublic Modpack readManifest(ZipArchiveReader zip, Path file, Charset encoding) throws IOException, JsonParseException {\n    ZipArchiveEntry mcbbsPackMeta = zip.getEntry(\"mcbbs.packmeta\");\n    if (mcbbsPackMeta != null) {\n        return fromManifestFile(zip.getInputStream(mcbbsPackMeta), encoding);\n    }\n    ZipArchiveEntry manifestJson = zip.getEntry(\"manifest.json\");\n    if (manifestJson != null) {\n        return fromManifestFile(zip.getInputStream(manifestJson), encoding);\n    }\n    throw new IOException(\"`mcbbs.packmeta` or `manifest.json` cannot be found\");\n}","sourceCodeStart":64,"sourceCodeEnd":85,"githubUrl":"https://github.com/HMCL-dev/HMCL/blob/24702dc5a0214034f4c27166d5fd30cad08cec19/HMCLCore/src/main/java/org/jackhuang/hmcl/modpack/mcbbs/McbbsModpackProvider.java#L64-L85","documentation":"readManifest guard: the modpack archive contains neither 'mcbbs.packmeta' nor 'manifest.json', so it is not a recognizable MCBBS modpack and its manifest cannot be read. Generic sentinel error for a missing required archive entry.","triggerScenarios":"Thrown at HMCLCore/src/main/java/org/jackhuang/hmcl/modpack/mcbbs/McbbsModpackProvider.java:82 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the archive is a valid MCBBS modpack containing mcbbs.packmeta (or manifest.json)","Re-download the modpack; it may be corrupted or packed incorrectly"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"24702dc5a0214034f4c27166d5fd30cad08cec19","analyzedAt":"2026-09-10T12:36:46.680Z","contentChangedAt":"2026-09-10T12:36:46.680Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}