Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Throws error when player has no skin set / his skin is not stored in the database #25

Open
xknat opened this issue Aug 20, 2023 · 0 comments

Comments

@xknat
Copy link
Member

xknat commented Aug 20, 2023

Caused by: java.lang.NullPointerException: Cannot invoke "String.toLowerCase()" because "skinName" is null
	at net.skinsrestorer.shared.storage.SkinStorage.getSkinData(SkinStorage.java:171) ~[SkinsRestorer.jar:?]
	at net.skinsrestorer.api.SkinsRestorerAPI.getSkinData(SkinsRestorerAPI.java:135) ~[SkinsRestorer.jar:?]
	at net.skinsrestorer.api.SkinsRestorerAPI.getSkinTextureUrl(SkinsRestorerAPI.java:199) ~[SkinsRestorer.jar:?]
	at com.extendedclip.papi.expansion.skinsrestorer.SRWrapper.getSkinTextureUrl(SRWrapper.java:21) ~[?:?]
	at com.extendedclip.papi.expansion.skinsrestorer.SkinsRestorerExpansion.getSkinTextureUrl(SkinsRestorerExpansion.java:86) ~[?:?]
	at com.extendedclip.papi.expansion.skinsrestorer.SkinsRestorerExpansion.onRequest(SkinsRestorerExpansion.java:75) ~[?:?]
	at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119) ~[PlaceholderAPI-2.11.3.jar:?]
	at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71) ~[PlaceholderAPI-2.11.3.jar:?]
	at me.clip.placeholderapi.commands.impl.local.CommandParse.evaluateParseSingular(CommandParse.java:117) ~[PlaceholderAPI-2.11.3.jar:?]
	at me.clip.placeholderapi.commands.impl.local.CommandParse.evaluate(CommandParse.java:57) ~[PlaceholderAPI-2.11.3.jar:?]
	at me.clip.placeholderapi.commands.PlaceholderCommandRouter.onCommand(PlaceholderCommandRouter.java:114) ~[PlaceholderAPI-2.11.3.jar:?]
	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?]
	```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant