Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 2.0.10, 2.1.0-M1
-
Fix Version/s: 2.0.11, 2.1.0, 3.0-alpha-3
-
Component/s: Plugins and Lifecycle
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
From the plugin manager:
PluginDescriptor addedPlugin = pluginCollector.getPluginDescriptor( plugin ); if ( addedPlugin == null ) { throw new IllegalStateException( "The PluginDescriptor for the plugin " + plugin + " was not found." ); }
One scenario where this actually happens is when the plugin JAR is unreadable. Hence, we should extend the error message and propose to the users to check whether the plugin JAR (pluginArtifact.getFile()) is intact.
Issue Links
| This issue is duplicated by: | ||||
| MNG-3523 | Bad error message if plugin.xml is missing/corrupt |
|
|
|
Done in r748815, r748817 and r748820, respectively.