{"record":{"id":"5f3b3847ed981db0","repo":"halo-dev/halo","slug":"cannot-find-path","errorCode":null,"errorMessage":"Cannot find '{}' path","messagePattern":"Cannot find '(.+?)' path","errorType":"exception","errorClass":"PluginRuntimeException","httpStatus":null,"severity":"error","filePath":"application/src/main/java/run/halo/app/plugin/YamlPluginFinder.java","lineNumber":86,"sourceCode":"            pluginStatus.setPhase(Plugin.Phase.PENDING);\n            pluginStatus.setLoadLocation(pluginPath.toUri());\n            plugin.setStatus(pluginStatus);\n        }\n        MetadataUtil.nullSafeAnnotations(plugin).put(PluginConst.PLUGIN_PATH, pluginPath.toString());\n        return plugin;\n    }\n\n    protected Plugin readPluginDescriptor(Path pluginPath) {\n        Path propertiesPath = null;\n        try {\n            propertiesPath = getManifestPath(pluginPath, propertiesFileName);\n            if (propertiesPath == null) {\n                throw new PluginRuntimeException(\"Cannot find the plugin manifest path\");\n            }\n\n            log.debug(\"Lookup plugin descriptor in '{}'\", propertiesPath);\n            if (Files.notExists(propertiesPath)) {\n                throw new PluginRuntimeException(\"Cannot find '{}' path\", propertiesPath);\n            }\n            Resource propertyResource = new FileSystemResource(propertiesPath);\n            return unstructuredToPlugin(propertyResource);\n        } finally {\n            FileUtils.closePath(propertiesPath);\n        }\n    }\n\n    protected Plugin unstructuredToPlugin(Resource propertyResource) {\n        YamlUnstructuredLoader yamlUnstructuredLoader = new YamlUnstructuredLoader(propertyResource);\n        List<Unstructured> unstructuredList = yamlUnstructuredLoader.load();\n        if (unstructuredList.size() != 1) {\n            throw new PluginRuntimeException(\"Unable to find plugin descriptor file '{}'\", propertiesFileName);\n        }\n        Unstructured unstructured = unstructuredList.get(0);\n        return Unstructured.OBJECT_MAPPER.convertValue(unstructured, Plugin.class);\n    }\n","sourceCodeStart":68,"sourceCodeEnd":104,"githubUrl":"https://github.com/halo-dev/halo/blob/d2f5165f9c8f055ffcb3fa9c3f4032821a7b68c8/application/src/main/java/run/halo/app/plugin/YamlPluginFinder.java#L68-L104","documentation":"Error \"Cannot find '{}' path\" thrown in halo-dev/halo.","triggerScenarios":"Thrown at application/src/main/java/run/halo/app/plugin/YamlPluginFinder.java:86 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check that the path shown in the error exists on disk and is readable by the Halo process.","Verify the plugin file was fully uploaded/copied before installation.","Correct any typo in the configured plugin path or re-upload the plugin."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d2f5165f9c8f055ffcb3fa9c3f4032821a7b68c8","analyzedAt":"2026-08-14T00:18:38.915Z","schemaVersion":2},"datasetVersion":"2026-08-14T05:17:29.042Z"}