{"record":{"id":"4d1822f0ed2c42c5","repo":"jenkinsci/jenkins","slug":"no-plugin-with-the-name-name-found","errorCode":null,"errorMessage":"No plugin with the name '{name}' found","messagePattern":"No plugin with the name '(.+?)' found","errorType":"validation","errorClass":"IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"core/src/main/java/hudson/cli/ListPluginsCommand.java","lineNumber":64,"sourceCode":"\n    @Argument(metaVar = \"NAME\", usage = \"Name of a specific plugin\", required = false)\n    public String name;\n\n    @Override\n    protected int run() {\n        Jenkins h = Jenkins.get();\n        h.checkPermission(Jenkins.ADMINISTER);\n\n        PluginManager pluginManager = h.getPluginManager();\n\n        if (this.name != null) {\n            PluginWrapper plugin = pluginManager.getPlugin(this.name);\n\n            if (plugin != null) {\n                printPlugin(plugin, plugin.getShortName().length(), plugin.getDisplayName().length());\n            }\n            else {\n                throw new IllegalArgumentException(\"No plugin with the name '\" + name + \"' found\");\n            }\n        }\n        else {\n            int colWidthShortName = 1;\n            int colWidthDisplayName = 1;\n            List<PluginWrapper> plugins = pluginManager.getPlugins();\n\n            if (plugins != null) {\n                for (PluginWrapper plugin : plugins) {\n                    colWidthShortName = Math.max(colWidthShortName, plugin.getShortName().length());\n                    colWidthDisplayName = Math.max(colWidthDisplayName, plugin.getDisplayName().length());\n                }\n\n                for (PluginWrapper plugin : plugins) {\n                    printPlugin(plugin, colWidthShortName, colWidthDisplayName);\n                }\n            }\n        }","sourceCodeStart":46,"sourceCodeEnd":82,"githubUrl":"https://github.com/jenkinsci/jenkins/blob/2e228ff40b14dbc8b14ffbc6edf0e4383cf744fc/core/src/main/java/hudson/cli/ListPluginsCommand.java#L46-L82","documentation":"Error \"No plugin with the name '{name}' found\" thrown in jenkinsci/jenkins.","triggerScenarios":"Raised when the list-plugins CLI command is given a plugin name filter that matches no installed plugin.","commonSituations":"See trigger scenarios.","solutions":["Run 'list-plugins' without arguments to see installed plugin short names.","Use the plugin's short name, not its display name.","Install the plugin with install-plugin if it is not yet installed."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2e228ff40b14dbc8b14ffbc6edf0e4383cf744fc","analyzedAt":"2026-08-14T07:07:15.274Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}