[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. |