[SPIGOT-3988] Constructor of PluginDescriptionFile cause a NPE Created: 06/Jul/18  Updated: 06/Jul/18  Resolved: 06/Jul/18

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: IzzelAliz Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: PluginDescriptionFile
Environment:

spigot 1.12 and lower?


Version: 1.12

 Description   

The constructor PluginDescriptionFile(String, String, String) will keep the field 'rawName' null and cause a NPE while loading plugins.

If I want to instantiate a new description object, I need rather a yaml-string InputStream or reflect operations.


Generated at Sun Mar 30 17:54:39 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.